SonaFly is a self-hosted music streaming server that puts you in control. Stream your library from anywhere with a sleek web UI and cross-platform mobile app.
No subscriptions. No algorithms. No data harvesting. Just your music, streamed your way.
Native Android & iOS app built with .NET MAUI. Browse, search, stream, and build playlists from your pocket.
A beautiful React admin UI to manage your library, users, content restrictions, and auditorium rooms from any browser.
Full-text search across tracks, albums, and artists. Find anything in your library in milliseconds.
Extracts embedded album art and automatically fetches missing covers from MusicBrainz Cover Art Archive.
Create playlists with drag-and-drop, or let Mixed Tapes auto-fill a set duration from your library.
Role-based access control with admin and user tiers. Restrict content per-user for family-friendly setups.
Single container, one docker compose up, and you're streaming. SQLite database — no external dependencies.
JWT authentication, refresh tokens, encrypted passwords. Refuses to start in production with insecure keys.
Create shared listening rooms where everyone hears the same music, perfectly synced. Queue songs, invite friends, and experience your collection together — no matter where they are.
From lossless audiophile FLAC to lightweight Opus — SonaFly streams them all.
git clone https://github.com/ExythAI/SonaFly.git
cd SonaFly/docker && cp .env.example .env
Set your JWT_SECRET and mount your music folders in docker-compose.yml.
docker compose up -d --build
SonaFly starts at http://your-server:8080. Log in as admin / Admin123!, add your library roots, and scan.
SonaFly is a personal streaming tool designed for legally acquired music collections.
SonaFly is designed exclusively for streaming music you have legally purchased, ripped from CDs you own, or created yourself. Distributing or sharing copyrighted music without authorization is a violation of copyright law in most jurisdictions.
This software does not facilitate, condone, or enable piracy. The developers assume no responsibility for misuse. By using SonaFly, you agree to stream only content you have the legal right to access.
Here's the exciting part — you don't need to buy music to fill your library. A new wave of AI music generation tools lets you create professional-quality, original tracks that are entirely yours to keep and stream.
Generate your tracks, download them, and stream through SonaFly — your own private music catalog, 100% original and 100% yours.
SonaFly is free, open source, and always will be. No tracking, no subscriptions — just pure music streaming that you own.