Navidrome
Self-hosted music streaming server for your own audio files, compatible with Subsonic apps.
Streams and organises your own music files, with playlists and play history. It has no licensed catalogue and no recommendations.
Music & audiobooks · music streaming · Last updated
Can a prompt replace Spotify Premium?
Not yet
$12.99/mo · Flat monthly fee · Premium Individual plan
The best free Spotify alternative is Navidrome: a music-only server with playlists and play history for files you already own. No self-hosted project replaces the licensed catalogue, Discover Weekly or the shared playlists friends can open. These servers play your own music, and their suggestions are only as good as your taste. Jellyfin suits you if you want video from the same server. If you listen mostly to new releases and algorithmic playlists, keep paying $12.99 a month. Building your own player is easy, but the catalogue is the product.
| Option | Replaces Spotify Premium | License | GitHub stars | Last commit | Run it yourself | Hosted price |
|---|---|---|---|---|---|---|
| Navidrome | Partial | GPL-3.0 | 24.2K | Oct 2026 | Yes | Nonechecked October 18, 2026 |
| Jellyfin | Partial | GPL-2.0 | 58.2K | Oct 2026 | Yes | Nonechecked October 18, 2026 |
| Koel | Partial | MIT | 17.3K | Oct 2026 | Yes | Nonechecked October 18, 2026 |
| Ampache | Partial | AGPL-3.0 | 3.8K | Oct 2026 | Yes | Nonechecked October 18, 2026 |
| gonic | Partial | GPL-3.0 | 2.6K | Oct 2026 | Yes | Nonechecked October 18, 2026 |
| Build your own (this page's prompt) | Not yet | Yours | — | — | Yes | — |
| Keep paying Spotify Premium | Full | Proprietary | — | — | No | $12.99/mochecked July 31, 2026 |
Full does the whole job · Partial most of it · Niche one piece. GitHub figures as of October 18, 2026.
Self-hosted music streaming server for your own audio files, compatible with Subsonic apps.
Streams and organises your own music files, with playlists and play history. It has no licensed catalogue and no recommendations.
Free media server that streams your movies, shows, music and photos to apps on any device.
Streams your own music alongside video from one server. It has no licensed catalogue, and its music features are lighter than a music-only server.
Self-hosted web music streamer that serves your own audio files, built on Laravel and Vue.
A web player for your own files, with playlists and a queue. It has no licensed catalogue.
Self-hosted PHP web server that streams your own music and video library to browsers and apps.
Streams your own library to web and API clients, with playlists and ratings. It has no licensed catalogue.
Lightweight Subsonic-compatible music streaming server written in Go, for your own music folder.
Serves your own library to Subsonic apps, with playlists. It has no catalogue and no recommendations.
Two things are being sold and neither is code. The first is a licence to a catalogue owned by other people. The second is recommendation quality built from hundreds of millions of listeners, which is a data advantage no single library can approach. A self-hosted server plays what you own, and its recommendations are as good as your own taste already is.
Stream your own music collection to every device, with playlists and listening history you own.
Build a listening-history archive and analysis tool, and stream your own collection alongside it.
For playback, run Navidrome over your music folder and use existing Subsonic clients — see the Apple Music entry for the ingest pipeline that makes that library usable.
The part worth writing is the history. Spotify's extended streaming history export gives you every play you have ever made, with timestamps, track, artist, milliseconds played and whether you skipped. Import it into SQLite with a proper schema and it becomes the most interesting dataset you own about yourself.
Build the reports that no annual wrap-up gives you: skip rate per artist, which is a far better measure of taste than play count; the tracks you played obsessively for two weeks and never again; listening by hour of day and day of week; the artists you have played every year for five years; and first-play dates, so you can see when something entered your life.
Then close the loop with the local library. For each of your top artists, report whether you own anything by them. That list is a buying list, and it is the practical output of the whole exercise — the music you actually listen to, that you would lose the day the subscription stops.
Keep scrobbling forward: Navidrome can report plays to a scrobbling service or to your own endpoint, so the history continues in the same schema after you cancel.
Do not attempt to download from the streaming service. It breaches the terms, the tooling is a moving target, and it is not what this build is for.
Opening prefills the prompt — press enter to run it. The prompt as plain text
What they pay for licensed catalogue and recommendation data
Thirteen dollars a month is less than one album, for all of them, and a recommendation engine that occasionally knows your taste better than you do.
The one genuinely rebuildable half is the listening history: Spotify's own data export is complete, and a personal statistics tool over it outlasts the subscription.
Yes, and unusually completely. The extended streaming history covers your entire listening life and arrives as JSON within a few weeks of requesting it. Playlists export through the API or third-party tools. Request the history before cancelling — it is the one thing you cannot recreate.
The track lists, yes — several tools export them to CSV, matching on artist and title. Whether you can play them depends entirely on what you own, which is exactly the point the export makes uncomfortably clear.
Storage for the collection plus a small always-on machine. The analysis is SQLite over a few hundred thousand rows and runs instantly.
Discover Weekly. It works because tens of millions of people listened to something next, and no amount of local analysis reproduces a recommendation drawn from a crowd.
Navidrome is the best free Spotify alternative if you own your music. It plays your files with playlists and history. It has no catalogue and no recommendations, so it replaces the player and not the library.
From files you own, such as ripped CDs or purchased downloads. None of these projects provides a licensed catalogue. If you have no collection yet, a self-hosted server will start empty.