How 2697a/bujuan works
Bujuan is a cross-platform Flutter client for NetEase Cloud Music. The user-facing workflow spans account login and music discovery, then playlist or track playback; the README also names daily recommendations, Private FM, radio, cloud drive, artists, albums, and search. The graph maps these capabilities to their apparent page modules and highlights playback, local history, and proxy layers. The README documents product features, but Dart implementations were not excerpted, so internal calls between those modules are not asserted. Native host nodes show Flutter entry points rather than product logic.
Main entry points: main.dart Flutter application · bujuan_music_handler.dart Music handler · play_page.dart Player screen · home_page.dart Home discovery
Components 24
Music experience
- Account login
lib/pages/login/login_page.dart - Home discovery
lib/pages/home/home_page.dart - Daily picks
lib/pages/home/today/today_page.dart - Artist pages
lib/pages/arist/arist_page.dart - Playlists
lib/pages/playlist/playlist_page.dart - Music videos
lib/pages/mv/mv_page.dart - User library
lib/pages/user/user_page.dart
Playback
- Player screen
lib/pages/play/play_page.dart - Desktop player
lib/pages/play/desktop_play_page.dart - Lyrics display
lib/pages/play/lyric.dart - Music handler
lib/common/bujuan_music_handler.dart - MediaKit handler
lib/common/bujuan_music_handler_mediakit.dart
App services
- Local data access
lib/dao/dao.dart - Playback history
lib/dao/played_info_entity.dart - Local proxy
lib/common/local_proxy_service.dart - App routing
lib/router/app_router.dart
Native hosts
- Flutter application
lib/main.dart - Android host
android/app/src/main/kotlin/com/sixbugs/bujuan/bujuan_music/MainActivity.kt - iOS host
ios/Runner/AppDelegate.swift - Linux host
linux/runner/my_application.h - macOS plugins
macos/Flutter/GeneratedPluginRegistrant.swift - Windows Flutter window
windows/runner/flutter_window.h - Windows windowing
windows/runner/win32_window.h
Other components
- Listener
Connections 20
- Listener → Account login: signs in
README.md - Listener → Home discovery: discovers music
README.md - Listener → Artist pages: browses artists
README.md - Listener → Playlists: browses playlists
README.md - Listener → Music videos: watches videos
- Listener → User library: opens library
- Home discovery → Daily picks: offers recommendations
README.md - Listener → Player screen: plays music
README.md - Player screen → Music handler: uses handler
- Desktop player → Music handler: uses handler
- Player screen → Lyrics display: shows lyrics
- Music handler → MediaKit handler: selects implementation
- Music handler → Local proxy: uses proxy
- Local data access → Playback history: stores history
- Flutter application → App routing: configures routes
- Android host → Flutter application: hosts Flutter
- iOS host → Flutter application: hosts Flutter
- Linux host → Flutter application: hosts Flutter
- macOS plugins → Flutter application: registers plugins
- Windows Flutter window → Windows windowing: extends window
windows/runner/flutter_window.h