talira

Music streaming solution that works

open coreMITself-hostablefree

Koel is a self-hosted personal music streaming server: it scans or takes uploads of your own music collection and streams it to a web player modelled on Spotify and Apple Music, with playlists, smart playlists, an equalizer, visualizers, lyrics, podcasts, internet radio, embeds, offline playback in the browser and listening statistics. It is a Laravel (PHP) and Vue app that runs on MySQL, MariaDB, PostgreSQL or SQLite, transcodes formats browsers can't play with FFmpeg, pulls artist and album information from MusicBrainz, Last.fm and Spotify, scrobbles to Last.fm and ListenBrainz, and speaks the OpenSubsonic API, so Subsonic apps such as Feishin can play a Koel library; the official Koel Player app for iOS and Android is sold separately. The Community edition is free under the MIT licence, and Koel Plus, a one-time purchase from €19.99 that unlocks features in the same code with a licence key, adds a separate library per user, sharing and collaborative playlists, storage on S3, Dropbox, SFTP or WebDAV, single sign-on with Google or any OpenID Connect provider, white labeling, custom themes and an AI assistant. It installs as a standalone FrankenPHP binary, a pre-compiled archive, from source or with the official Docker image, and is made by Phan An.

Ways to install

Problems it solves

  • a self-hosted Spotify alternative for the music files I already own
  • stream my MP3 and FLAC collection from my home server to any browser
  • a personal music server with a modern web player instead of a dated interface
  • share one music server with my family while each person keeps their uploads private
  • keep my music library in an S3 bucket or Dropbox and stream it from a player I host
  • scrobble what I play on my own music server to Last.fm or ListenBrainz
  • smart playlists that fill themselves by genre, play count or date added
  • use Subsonic apps on my phone with a self-hosted music server that also has a good web UI
  • listen to podcasts and internet radio in the same place as my music collection
  • embed a playlist from my own music server in a blog post so visitors can play it
  • save songs in the browser so I can listen offline on a flight
  • our company wants a white-labeled music streaming app running on our own servers
  • log in to our home music server through Authentik or Keycloak single sign-on
  • play APE or WMA files in the browser by converting them on the fly
  • control the music playing on my desktop from my phone

View all 20 problems

Features

  • web player for a personal music collection, styled after Spotify and Apple Music
  • library scanning, file watching and uploads through the web interface
  • metadata editing, compilations, artwork, genres and playlist folders
  • playlists, smart playlists and favorites
  • equalizer, crossfade and visualizers, including projectM with MilkDrop presets
  • lossless audio, and on-the-fly transcoding with FFmpeg for formats browsers can't play
  • podcasts by RSS or Apple Podcasts link, and internet radio stations
  • embeds of tracks, playlists, albums, artists and favorites
  • offline playback cached in the browser with Service Workers
  • listening statistics: top songs, artists, albums and genres, and listening time
View 13 more
  • OpenSubsonic API for Subsonic clients, with a per-user API key
  • MusicBrainz, Wikipedia, Cover Art Archive, Last.fm, Spotify and YouTube integrations; Last.fm and ListenBrainz scrobbling
  • instant full-text search with TNTSearch, Algolia or Meilisearch
  • remote controller through Pusher or Laravel Reverb
  • multiple users with Admin and User roles, passkeys and two-factor authentication
  • artisan CLI commands for scanning, storage setup, licences and maintenance
  • MySQL, MariaDB, PostgreSQL or SQLite
  • standalone FrankenPHP binary, pre-compiled archive, source install or official Docker image
  • Koel Plus: separate library per user, music sharing and collaborative playlists
  • Koel Plus: SFTP, Amazon S3 and S3-compatible, Dropbox and WebDAV storage
  • Koel Plus: Google and OpenID Connect SSO, proxy authentication, Manager and Guest roles
  • Koel Plus: media browser, white labeling, custom themes, AI assistant, volume normalization and waveforms
  • Koel Player, the official Flutter app for iOS and Android

Limitations

  • Subsonic API sharing, bookmarks and chat aren't implemented: Koel's OpenSubsonic API covers browsing, streaming, search, playlists, favorites, ratings, radio, podcasts, lyrics and play-queue sync6
  • Can't add podcasts exclusive to Spotify or other services: Koel plays podcasts from their public RSS feeds7

Ways to run it

Koel Community

You run it, MIT

free589

Not included

  • a separate library for each user: in the Community edition all users share one library, with private playlists, favorites and stats1011
  • music sharing between users and collaborative playlists1112
  • storage on SFTP, Amazon S3 or S3-compatible services, Dropbox or WebDAV (Nextcloud, ownCloud): Community stores music on the server's local disk13
  • single sign-on with Google or any OpenID Connect provider, and login through a proxy's authentication header1415
  • the Manager and Guest user roles10
  • the media browser, white labeling, custom themes, the AI assistant, volume normalization and waveforms11
  • themes and 30-second preview mode for embeds, and Ticketmaster events on artist pages1617

You arrange

  • a server with PHP 8.2+, or the standalone FrankenPHP binary or Docker image
  • MySQL, MariaDB, PostgreSQL or SQLite
  • a web server such as nginx, Apache or Caddy for production
  • FFmpeg for transcoding (included in the Docker image)
  • a mailer for password resets and invitations
  • API keys for Last.fm, Spotify or YouTube if you want those integrations
  • Pusher or Laravel Reverb for the remote controller

Self-hosting docs

Koel Plus

You run it, MIT

one-time, set your own price from €19.99; all future updates included1118

Only in this edition

  • a separate library per user, with music sharing and collaborative playlists
  • SFTP, Amazon S3 and S3-compatible, Dropbox and WebDAV storage
  • SSO with Google or any OpenID Connect provider, and proxy authentication
  • Manager and Guest roles
  • media browser, white labeling, custom themes and the AI assistant
  • volume normalization and waveforms
  • embed themes and preview mode, and Ticketmaster events

You arrange

  • everything the Community edition needs
  • a licence key for each installation
  • an API key from an AI provider for the assistant, and a Ticketmaster API key for events

Self-hosting docs

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has single sign-onEvery plan, €19.99/installation1114

Alternatives

The same job

These do what Koel does.

  1. Navidrome Your Personal Streaming Service
  2. Black Candy A self-hosted music streaming server
  3. Plex Organize and stream your personal media
  4. Jellyfin The Free Software Media System
  5. Audiobookshelf Self-hosted audiobook and podcast server
  6. Emby Your personal media server

Compare Koel with the top 3