SelfHostHub

Open-source alternatives to Spotify

The most popular self-hosted, open-source alternatives to Spotify (music streaming) are Navidrome Music Server (24,226 GitHub stars), koel (17,279 GitHub stars) and Beets (15,809 GitHub stars). SelfHostHub lists 12 options below, taken from its Audio Streaming category; 5 support Docker and all of them can run on your own server.

Comparison of self-hosted Spotify alternatives

ProjectGitHub starsLicenceLanguage / platformWhat it does
Navidrome Music Server24,226GPL-3.0Docker, GoModern Music Server and Streamer, compatible with Subsonic/Airsonic.
koel17,279MITPHPPersonal music streaming server that works.
Beets15,809MITPython, debMusic library manager and MusicBrainz tagger (command-line and Web interface).
Audiobookshelf14,702GPL-3.0Docker, deb, NodejsAudiobook and podcast server. It streams all audio formats, keeps and syncs progress across devices. Comes with apps for Android and iOS.
Mopidy8,599Apache-2.0Python, debExtensible music server. Offers a superset of the mpd API, as well as integration with 3rd party services like Spotify, SoundCloud etc.
Snapcast8,001GPL-3.0C++, debSynchronous multiroom audio server.
musikcube4,853BSD-3-ClauseC++, debStreaming audio server with Linux/macOS/Windows/Android clients.
Black Candy4,428MITDocker, RubyMusic streaming server.
Ampache3,836AGPL-3.0PHPWeb based audio/video streaming application.
mpd2,796GPL-2.0C++Daemon to remotely play music, stream music, handle and organize playlists. Many clients available.
Polaris2,733MITRust, DockerMusic browsing and streaming application optimized for large music collections, ease of use and high performance.
gonic2,615GPL-3.0Go, DockerLightweight music streaming server. Subsonic compatible.

Star counts and licences come from the awesome-selfhosted dataset and may lag GitHub slightly.

Browse the full categories

All self-hosted Media Streaming - Audio Streaming

Frequently asked questions

What is the best open-source alternative to Spotify?

By GitHub stars, Navidrome Music Server is the most popular self-hosted alternative to Spotify listed here, followed by koel and Beets. The best fit depends on the features and stack you need.

Is there a free self-hosted alternative to Spotify?

Yes. All 12 projects on this page are open source and can be self-hosted at no licence cost; you pay only for your own server.

Which licences do these Spotify alternatives use?

The most common licences among them are GPL-3.0 (4), MIT (4) and Apache-2.0 (1).

Can I run a Spotify alternative with Docker?

5 of the 12 alternatives list Docker as a supported platform.