| Others | 🎵 Sangeet | |
|---|---|---|
| Audio | 128 kbps free | 320 kbps free |
| Ads | 😩 | None |
| Search | genre tags | your feelings |
| Login | required | guest mode |
| Lyrics | paywalled | synced, built in |
📁 Project layout
frontend/ React + Vite application and search tests
backend/ Flask API, services, data, and scripts
backend/data/datasets/ Song source and cleaned datasets
docs/assets/ README illustrations
docs/screenshots/ Application screenshots
🏗️ Architecture
flowchart LR
You(["You: 'rainy 2am'"]) --> UI["React UI"]
UI --> NLP["Emotion engine"]
NLP --> V["valence · energy · dance · acoustic"]
V --> API["Flask API"]
API --> Cipher["DES-ECB decrypt"] --> CDN["320 kbps CDN"]
CDN --> Player["Web Audio player"]
Player <--> Lyrics["LRCLIB lyrics via Netlify proxy"]
UI -.-> Store[("MongoDB / JSON store")]
💻 Run it locally
git clone https://github.com/techprem324/sangeet.git
cd sangeet
npm --prefix frontend install
pip install -r backend/requirements.txt
npm startWindows: run start.bat or .\start.ps1. App at localhost:5173, API at localhost:5000/api.
📡 API endpoints
| Method | Route | What it does |
|---|---|---|
POST |
/api/chat |
Mood prompt → vectors + tracks |
POST |
/api/mood |
Valence, energy, genre affinities |
GET |
/api/lyrics |
Synced lyric lines |
GET |
/api/catalog |
Mood room collections |
POST |
/api/explore |
Expand a room to 500+ songs |
GET |
/api/search |
Instant search |
GET POST |
/api/playlists |
Playlists |
GET POST |
/api/liked |
Liked songs |
POST |
/api/auth/login · /register |
Accounts |
Made with ❤️ by Prem Srivastava
⚡ Open the app → sangeett.netlify.app · ⭐ Star if it hit the right chord





