How satyasasidhar22/bfs works
Brotheren Fellowship is a Telugu Christian songbook and offline audio player. The app loads and filters songs, opens song details or editing forms, and plays audio; it synchronizes song metadata with Supabase while caching songs and audio locally for offline use. The main React app also provides liked-song and backup/restore controls. The source excerpts show the app’s storage and player interactions, but do not expose every UI handler or the full Supabase query flow.
Main entry points: App.jsx Songbook app · indexedDB.js IndexedDB cache · AudioPlayer.jsx Audio player · main.jsx App bootstrap
Components 12
Songbook experience
- Songbook app
brotheren-fellowship-app/src/App.jsx - Audio player
brotheren-fellowship-app/src/components/AudioPlayer.jsx
Song content
- Song details
brotheren-fellowship-app/src/components/SongDetailsModal.jsx - Song editor
brotheren-fellowship-app/src/components/SongFormModal.jsx - Add-song form
brotheren-fellowship-app/src/components/AddSongModal.jsx
Persistence and sync
- IndexedDB cache
brotheren-fellowship-app/src/db/indexedDB.js - Supabase client
brotheren-fellowship-app/src/supabaseClient.js - Supabase service
App support
- Screen wake lock
brotheren-fellowship-app/src/hooks/useWakeLock.js - Translations
brotheren-fellowship-app/src/utils/translations.js - App bootstrap
brotheren-fellowship-app/src/main.jsx
Other components
- Listener
Connections 14
- Listener → Songbook app: uses
- App bootstrap → Songbook app: renders
brotheren-fellowship-app/src/main.jsx - App bootstrap → IndexedDB cache: seeds songs
brotheren-fellowship-app/src/main.jsx - Songbook app → IndexedDB cache: reads and caches
brotheren-fellowship-app/src/App.jsx - Songbook app → Supabase client: queries
brotheren-fellowship-app/src/App.jsx - Supabase client → Supabase service: connects
brotheren-fellowship-app/src/supabaseClient.js - Songbook app → Song details: opens
brotheren-fellowship-app/src/App.jsx - Songbook app → Song editor: opens
brotheren-fellowship-app/src/App.jsx - Songbook app → Audio player: opens
brotheren-fellowship-app/src/App.jsx - Song editor → IndexedDB cache: uses letter helpers
brotheren-fellowship-app/src/components/SongFormModal.jsx - Add-song form → IndexedDB cache: uses letter helpers
brotheren-fellowship-app/src/components/AddSongModal.jsx - Audio player → IndexedDB cache: loads and saves audio
brotheren-fellowship-app/src/components/AudioPlayer.jsx - Audio player → Screen wake lock: requests via props
- Songbook app → Translations: loads text
brotheren-fellowship-app/src/App.jsx