How mihirlimbachiya02/musico-recommendation-engine works
Musico is a Streamlit music discovery and personal-library app. Users sign in, discover music through search and recommendations, play tracks, and save songs, playlists, and listening history. The graph preserves the major browsing and library capabilities documented in the README. Source excerpts show some key calls and storage behavior; for other page wiring, edges are limited to relationships supported by the entry-point references or README, rather than assuming a full page-to-page workflow.
Main entry points: app.py Streamlit app · library.py Library operations · music.py Search and mixes · database.py MongoDB and clients
Components 18
App and navigation
- Streamlit app
app.py - Route state
backend/navigation.py
Music discovery
- Search and mixes
backend/music.py - Home discovery
backend/pages/home.py - Search results
backend/pages/catalog_results.py - Artist browsing
backend/pages/artist_detail.py - Album browsing
backend/pages/album_detail.py - Track player
backend/pages/player.py
Personal library
- Library operations
backend/library.py - Saved library
backend/pages/library.py - Playlist actions
backend/components/playlist_actions.py - Playlist detail
backend/pages/playlist_detail.py - Local JSON files
backend/local_storage.py
Identity and services
- Sign-in
backend/auth.py - MongoDB and clients
backend/database.py
Other components
- Listener
- YouTube Music
- Google identity
Connections 21
- Listener → Streamlit app: uses
README.md - Streamlit app → Sign-in: authenticates
README.md - Sign-in → Google identity: signs in
README.md - Streamlit app → Route state: routes views
app.py - Streamlit app → Home discovery: renders
app.py - Streamlit app → Search results: renders
app.py - Streamlit app → Artist browsing: renders
app.py - Streamlit app → Album browsing: renders
app.py - Streamlit app → Track player: renders
app.py - Streamlit app → Saved library: uses
app.py - Streamlit app → Playlist detail: uses
app.py - Streamlit app → Playlist actions: uses
app.py - Home discovery → Search and mixes: shows mixes
- Search results → Search and mixes: searches
- Search and mixes → MongoDB and clients: gets music client
backend/music.py - MongoDB and clients → YouTube Music: creates client
backend/database.py - Saved library → Library operations: manages tracks
- Playlist detail → Library operations: manages playlists
- Playlist actions → Library operations: updates playlists
- Library operations → Local JSON files: reads and writes
backend/library.py - Library operations → MongoDB and clients: stores library