Back
GitHub App Store

Sonora

Self-hosted music streaming. Your machine is the server.

Sonora app screens: now playing, library and home

Context

I wanted my music on my own terms: my library, my server, no ads.

Sonora is two pieces. A server you run on your own machine with Docker, and an iPhone app that connects to it and plays your library from anywhere.

Role

I built both sides and released the server as open source.

The server is on GitHub under the MIT license. The app is on the App Store as Sonora Media Player, free.

Product

A music player that feels like a streaming service, pointed at a server you own.

Library
Albums, artists, songs and playlists, separate for each user
Search
Search and stream, with artist and album pages
Lyrics
Synced lyrics while a song plays
Offline
Download music to listen without a connection
Playback
Background audio and crossfade between songs
Alexa
Optional skill: “ask Sonora to play the playlist road trip”

How it works

The app never talks to a company. It talks to your own box.

Sonora appFlutter on iPhone
Your serverFastAPI in Docker
Your libraryFiles streamed through ffmpeg
Server
Python 3.12 · FastAPI · ffmpeg · yt-dlp
Packaging
Docker Compose · update script that keeps a rollback image
App
Flutter · just_audio · background playback
Extras
Alexa skill with OAuth account linking · Lidarr integration
Next project Tablely