This project is based on the excellent work of:
- saavn.dev - Original API implementation
- rajput-hemant - TypeScript implementation and enhancements
My contributions include:
- Enhanced documentation and API reference
- Improved error handling and response formats
- Additional endpoint implementations
- UI/UX improvements
- Code optimizations and bug fixes
- π Ultrafast - Powered by Hono.js. The router
RegExpRouter
is really fast. - πͺΆ Lightweight - Has minimal dependencies.
- π Multi-runtime - Works on
Bun
,Node.js
,Vercel
orCloudflare Workers
. The same code runs on all platforms. - π₯ High Quality Downloads - Download songs in multiple qualities (320kbps, 160kbps, 96kbps)
- π΅ Comprehensive API - Access songs, albums, playlists, artists, radio stations, podcasts, lyrics, and recommendations
- π± Modern UI - Clean and responsive interface with beautiful documentation
- π Smart Search - Powerful search functionality across all content types
- π Language Support - Multi-language support for content and filters
- β€οΈ Open Source - Free to use and modify under MIT license
- Node.js 16+ or Bun runtime
- npm, yarn, pnpm, or bun package manager
- Clone the repository
git clone https://github.com/StrTux/JioSaavan-UnOfficial-Api
cd JioSaavan-UnOfficial-Api
- Install dependencies
npm install # or yarn, pnpm, bun install
- Start the development server
Choose your preferred runtime:
bun run dev
npm run dev:node
npm run dev:vc
npm run dev:cf
npm run deploy:vercel
Note: Recommended region: Mumbai, India (bom1) for optimal performance
npm run deploy:cf
# Start
docker-compose up -d
# Stop
docker-compose down
# Build
docker build -t jiosaavn .
# Run
docker run -p 80:3000 jiosaavn
# Stop
docker stop <container-id>
Full API documentation is available at docs-jiosaavn.netlify.app
Key endpoints include:
- Search API (
/search
) - Songs API (
/song
) - Albums API (
/album
) - Playlists API (
/playlist
) - Artists API (
/artist
) - Lyrics API (
/lyrics
) - Radio API (
/radio
) - Downloads API (
/download
)
Create a .env
file in the root directory:
PORT=3000
ENABLE_RATE_LIMIT=true
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first.
This project is licensed under the MIT License - see the LICENSE file for details.
Special thanks to:
- saavn.dev team for the original API implementation
- rajput-hemant for the TypeScript version and improvements
- All contributors who have helped improve this project