Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎵 SANGEET — Dil Se Zuba Tak

  ____                               _   
 / ___|  __ _ _ __   __ _  ___  ___| |_ 
 \___ \ / _` | '_ \ / _` |/ _ \/ _ \ __|
  ___) | (_| | | | | (_| |  __/  __/ |_ 
 |____/ \__,_|_| |_|\__, |\___|\___|\__|
                    |___/               

Where your emotions become soundwaves.

Live App React 18 Vite Python Audio Quality License



🌐 Live Production Deployment

Experience the full-fidelity web app live right now on any browser, mobile phone, tablet, or desktop:

👉 https://sangeett.netlify.app/

Edge-accelerated via Netlify CDN with zero-CORS line-synced karaoke lyrics & high-bandwidth 320kbps streams.


⚡ Superpowers

🧠 Emotional Vector Intelligence

Natural language sentiment parser that maps everyday expressions into high-dimensional acoustic target coordinates (Valence, Energy, Danceability, and Acousticness) accompanied by a live visual Mood Radar.

🎧 320 kbps Studio Fidelity

Real-time DES-ECB cipher decryption unwraps media streams directly from high-speed content delivery networks. Pristine studio clarity streamed straight into a custom HTML5 Web Audio engine.

🎤 Synced Karaoke Lyrics

Line-by-line real-time synchronized karaoke lyrics with dynamic smooth-scrolling and timestamp highlight. Powered by Netlify edge proxies and offline-first curated LRC line caches.

🔒 Multi-Tenant User & Guest Isolation

Seamless authentication with isolated account storage. Registered users keep their custom playlists and liked tracks permanently synced across devices, while guests enjoy complete privacy with isolated zero-trace temporary sessions.

🌌 10 Infinite Mood Rooms

Immersive thematic chambers (Broken Heart, Rainy Night, Lo-Fi Focus, Gym Beast, Sufi Soul, Bollywood Retro) dynamically expandable on-demand into endless tracks per room.

📱 Fluid Glassmorphism Design

Responsive interface engineered with curated obsidian & ember glassmorphism aesthetics, dynamic interactive vinyl animations, and tactile touch controls tailored for every screen size.


🥊 Sangeet vs. Legacy Streaming Platforms

Feature Legacy Apps (Spotify, JioSaavn) 🎵 Sangeet
Audio Bitrate 128 kbps (Free) / 320 kbps (Paid) 320 kbps Direct High-Fidelity (Free)
Advertisements Audio & Visual Ad Interruptions 100% Ad-Free Pure Flow
Search By Feeling Rigid keywords & genre tags Conversational NLP Emotional Vectoring
Guest / Incognito Play Requires mandatory sign-up Zero-Friction Guest Mode with Ephemeral Isolation
Synchronized Lyrics Often paywalled or missing Full Real-Time Karaoke Engine Included
Custom Mix Creation Heavy bloat & algorithmic injection Instant One-Click Reorder & Personal Mixes

🏗️ Under The Hood

Sangeet combines a client-side resilient fallback engine with an asynchronous Flask microservice architecture to achieve 100% continuous uptime on both local environments and edge cloud providers:

flowchart TD
    subgraph Client ["Client Browser (sangeett.netlify.app)"]
        UI["React 18 + Glassmorphism UI"]
        Audio["HTML5 Web Audio Player (320kbps)"]
        Radar["Live Mood Radar (Canvas)"]
        Karaoke["Synced Karaoke Lyrics Engine"]
        Storage["User vs Guest Storage Boundary"]
    end

    subgraph Intelligence ["Emotion Engine"]
        NLP["Natural Emotion Lexicon Vectorizer"]
        Targets["Acoustic Coordinates (Valence x Energy)"]
    end

    subgraph Edge ["Netlify Edge Layer"]
        Proxy["Edge CDN Reverse Proxy (/api/lrclib/*)"]
        SPA["SPA Rewrite Fallback"]
    end

    subgraph Decryption ["Audio Pipeline"]
        Cipher["DES-ECB Decryption Service"]
        CDN["High-Bitrate CDN Nodes"]
    end

    UI --> NLP --> Targets
    Targets --> Audio
    Audio <--> Karaoke
    Karaoke <--> Proxy
    Audio <--> Cipher <--> CDN
    Storage -.-> UI
Loading

🛠️ The Tech Arsenal

  • Frontend Core: React 18, Vite, ES Modules
  • Styling Architecture: Custom Glassmorphism Token Engine, TailwindCSS, Inter & Outfit Typography
  • Audio & Lyrics: HTML5 Web Audio API, LRCLIB Line Sync, Custom LRC Parser
  • Backend Services: Python 3.10+, Flask REST API, PyCryptodome (DES-ECB Cipher)
  • Data Persistence: MongoDB (PyMongo) with Thread-Safe JSON Store Fallback & User-Scoped Client Isolation
  • Edge Deployment: Netlify Edge CDN Proxy with automated GitHub continuous delivery

💻 Quick Start

Clone and run the complete ecosystem locally in less than 60 seconds:

Prerequisites

1. Clone the Repository

git clone https://github.com/techprem324/sangeet.git
cd sangeet

2. Install Dependencies

# Install frontend packages
npm --prefix frontend install

# Install backend Python packages
pip install -r backend/requirements.txt

3. Launch with One Command

npm start

Windows Users: You can also double-click start.bat or run .\start.ps1 in PowerShell.


📡 API Endpoint Overview

Method Route Description
POST /api/chat Transforms conversational mood prompt into emotion vectors + 320kbps tracks
POST /api/mood Real-time sentiment analysis returning valence, energy, and genre affinities
GET /api/lyrics Returns synchronized karaoke lines [{ t, text }] for the active track
GET /api/catalog Retrieves curated mood room collections
POST /api/explore Expands category tracks dynamically up to 500+ songs
GET /api/search Fast instant search across global Bollywood, Indie, and International tracks
GET / POST /api/playlists User-isolated playlist creation, retrieval, and track management
GET / POST /api/liked User-isolated hearted song library
POST /api/auth/login Authenticates registered user sessions
POST /api/auth/register Registers new user account with isolated library

👨‍💻 Author & Vision

Crafted with ❤️ and obsession for music by Prem Srivastava (@techprem324).

"Music shouldn't be trapped behind paywalls, subscription tiers, or impersonal algorithms. It should speak the language of what you feel right now."


⚡ Visit Live Web App: https://sangeett.netlify.app/

⭐ Star this repository if Sangeet hit the right chord with you!

About

The personal AI music.. Discover your next favorite song..

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages