A sleek offline music player for Android that plays your local music library — no account, no streaming, no ads. Everything runs on-device.
| Home / Library | Now Playing | Queue |
|---|---|---|
![]() |
![]() |
![]() |
- Local library scan — scans managed folders, indexes songs via content providers and media store queries
- Playlists — create and manage your own playlists, reorder songs with drag & drop
- Background playback — keeps playing with lockscreen / notification media controls (
audio_service+just_audio) - Shuffle & repeat — smart shuffle that keeps your current song context; all, one, and off repeat modes
- Queue — inspect, reorder, and jump around the upcoming queue
- Now Playing — full-screen player with artwork, colors extracted from album art, mini player on every tab, plus 9 skins (classic, risoZine, paperPress, pocketLcd, concrete, sumi, concreteNoir, sumiNight) and a custom color picker
- Waveform visualization — extracted via compute isolate, cached per file, multiple painter styles (bars, line, ribbon, wave, dots, equalizer, blocks, neon, radial)
- Lyrics — reads embedded LRC tags via
flutter_audio_taggerwith a client-side LRC parser; timed lyrics view for current track - Stats — listening statistics for your library
- Themes — light, dark, and a set of custom color presets (Ocean, Nord, Rose Pine, Matrix, Cyberpunk, Custom)
- Home widget — Android home-screen widget wired through a
MethodChannelfor play/pause/next/prev - Settings persistence — all preferences saved to Hive as JSON; schema versioned with forward migration hooks
- Offline-first — all data (library, playlists, settings) is persisted locally with Hive
READ_EXTERNAL_STORAGE/READ_MEDIA_AUDIO— library scan (declared inAndroidManifest.xml)FOREGROUND_SERVICE/FOREGROUND_SERVICE_MEDIA_PLAYBACK— required for background audioPOST_NOTIFICATIONS— Android 13+ media notification (requested at runtime)WAKE_LOCK— keeps CPU alive during playback
lib/
main.dart — entrypoint, Hive init, audio_service bootstrap
app.dart — go_router config + top-level widget tree
core/ — constants, error boundary, shared widgets
data/
local_storage/ — Hive boxes (songs, playlists, settings) + JSON schema
domain/
entities/ — SongEntity, PlaylistEntity, AppSettings
presentation/
providers/ — Riverpod state notifiers (audio player, library, playlists, settings)
screens/ — Home, Library, Now Playing, Queue, Playlist detail, Stats, Settings
widgets/ — Waveform viewer, song tile, mini player, action menu
services/
background_audio_service.dart — AudioPlayerHandler (audio_service)
widget_service.dart — Android home widget channel
lyrics_service.dart — embedded-lyrics cache + LRC parser
waveform_extractor_service.dart — isolate-based waveform extraction
- State management: Riverpod (
flutter_riverpod). Top-levelProviderContaineris created inmain.dartand passed throughUncontrolledProviderScope. - Routing:
go_routerwith deferred-loaded screens (now-playing, queue, lyrics, stats). - Audio stack:
audio_servicebridges to Android media session;just_audiohandles decoding/sequencing;audio_handlerlives in the isolate spawned byaudio_service.init().
- Flutter (Material 3) with Riverpod for state management
just_audio+audio_servicefor background playbackHivefor local persistence (with generated boxes for songs, playlists, settings)go_routerfor navigation
Requires Flutter 3.44.5 stable / Dart 3.12.2 (pinned in .metadata).
flutter pub get
flutter runThe app requests storage permissions on first launch so it can scan your audio folders.
All launcher, splash, and notification icons are generated from the design master in icon_concepts/ via the Python scripts (build_icons.py, generate_icons.py). Don't edit generated PNGs directly — re-run the scripts instead.
# Analyze
~/flutter/bin/flutter analyze
# Run tests
~/flutter/bin/flutter test
# Build debug APK
~/flutter/bin/flutter build apk --debug
# Build release APK
~/flutter/bin/flutter build apk --release
# Regenerate Hive adapters after editing @HiveType classes
~/flutter/bin/dart run build_runner buildpython3 build_icons.py # Android launcher/splash/notification icons
python3 generate_icons.py # assets/icons/*.pngThis project was developed with AI assistance:
- KAT-Coder-V2.5-Dev — the primary coding assistant, very reliable at following instructions and turning feature requests into working code
- DeepSeek V4 Flash — secondary assistant used for larger codegen and review passes
Human oversight, design direction, and testing were provided throughout development.


