How jakariatanjim-svg/aurabeats works
AuraBeats combines music discovery and playback with YouTube video, Shorts, and channel browsing in a web/Android app. The principal flow is search or browse, retrieve catalog results, then play through the shared player; video uses a separate video API and player dock. Device-local storage supports personal data and preferences, while optional YouTube accounts and Android capabilities extend the experience. The graph follows README workflows and shown import/call evidence; unsampled areas are represented at their existing directory paths, with uncertain integrations left unverified.
Main entry points: App.tsx App shell and routes · usePlayer.tsx Shared music player · storage.ts Device data and preferences · SearchView.tsx Music search
Components 24
App and discovery
- App shell and routes
src/App.tsx - Route mapping
src/routes.ts - Music search
src/views/SearchView.tsx - Search controls
src/components/TopSearch.tsx - Music catalogs
src/services/catalog.ts
Music playback
- Shared music player
src/hooks/usePlayer.tsx - Audio engine
src/hooks/useAudioEngine.ts - YouTube playback
src/services/youtubePlayer.ts - Track lists
src/components/TrackList.tsx
Video experience
- Video search
src/views/video/VideoSearchView.tsx - Video data API
src/services/video/api.ts - Video networking
src/services/video/net.ts - Video settings
src/services/video/settings.ts - Video player dock
src/components/video/YouTubeDock.tsx - Shorts and channels
src/views/video
Personal data
- YouTube account services
src/services/yt/accounts.ts - YouTube Music services
src/services/yt/music.ts - Device data and preferences
src/utils/storage.ts - Search history
src/utils/searchHistory.ts
Platform integrations
- Android native plugins
native/android - AuraBeats Connector
extension/background.js
Other components
- Listener
- YouTube services
- Other music catalogs
Connections 28
- Listener → App shell and routes: opens and navigates
README.md - App shell and routes → Route mapping: maps routes
src/App.tsx - App shell and routes → Shared music player: provides player
src/App.tsx - App shell and routes → Video player dock: renders dock
src/App.tsx - Search controls → Music search: submits queries
src/components/TopSearch.tsx - Music search → Music catalogs: searches other sources
src/views/SearchView.tsx - Music search → YouTube services: searches songs
src/views/SearchView.tsx - Music search → Track lists: renders results
src/views/SearchView.tsx - Track lists → Shared music player: starts playback
- Music catalogs → Other music catalogs: queries catalogs
- Video search → Video data API: searches videos
src/views/video/VideoSearchView.tsx - Video data API → Video networking: sends requests
src/services/video/api.ts - Video networking → YouTube services: fetches video data
src/services/video/net.ts - Video search → Shorts and channels: shows Shorts results
src/views/video/VideoSearchView.tsx - Video player dock → YouTube services: plays YouTube video
README.md - Shared music player → Audio engine: controls audio
src/hooks/usePlayer.tsx - Audio engine → YouTube playback: controls embedded playback
src/hooks/useAudioEngine.ts - Audio engine → Device data and preferences: persists player state
- Shared music player → YouTube Music services: uses music features
src/hooks/usePlayer.tsx - Shared music player → Device data and preferences: stores preferences
src/hooks/usePlayer.tsx - YouTube account services → Device data and preferences: stores account data
src/services/yt/accounts.ts - YouTube account services → YouTube services: connects account
- Search history → Device data and preferences: saves searches
src/utils/searchHistory.ts - Search controls → Search history: uses recent searches
src/components/TopSearch.tsx - Android native plugins → App shell and routes: adds native capabilities
- AuraBeats Connector → Video player dock: enables direct playback
README.md - AuraBeats Connector → YouTube Music services: provides lyrics source
README.md - Video settings → Device data and preferences: stores settings
src/services/video/settings.ts