Self-hosted music platform

Your music, on your server.

Leyr turns a folder of files into a music service you'd actually choose to use. Browse it beautifully, fix its metadata, discover what to play next and listen anywhere, all from one app on hardware you own.

Leyr library home on desktop: recently played and recently added shelves
Leyr player on a phone

Everything a streaming service does. None of the rent.

Discovery, a polished player and listening with friends, sitting on top of your own library.

Play

A player worth opening

Album art sets the colours, a real-audio visualizer moves with the track, and the mini player follows you around the app.

  • Install it on your phone as an app, with lock-screen controls
  • Save albums to the device for offline listening
  • Queue, shuffle and repeat, with the same controls on every screen
  • Podcasts in the same player, with resume across devices
Leyr full player with album art colours and visualizer
Browse

Artist pages that read like liner notes

Leyr fills in your library from MusicBrainz, so every artist gets a proper page, not a folder listing.

  • Full discographies, release timelines, members and genres
  • Every edition of an album grouped as one, best copy first
  • Your top tracks per artist, plus global popularity from ListenBrainz
  • Bring in your Bandcamp purchases with clean tags and artwork
Leyr artist page with discography and timeline
Discover

Something new every week

Weekly mixes built from what you play, radars that watch your artists, and stats that stay on your server.

  • Release Radar flags new albums from artists you follow
  • Concert Radar finds shows near you
  • Weekly mixes and optional AI playlists
  • Listening stats and a yearly recap, off by default and private
Leyr Concert Radar listing upcoming shows near you

Listen together

Open a room for your household and everyone in it hears the same track at the same moment.

A library that fixes itself

Repair queues for missing artwork, tags and duplicates, an artwork picker, and a metadata manager for the rest.

Made for a household

Accounts with admin approval, two-factor sign-in, single sign-on through any OpenID Connect provider, and Discord login.

Stats that stay home

Listening history, top tracks and a yearly recap, computed on your server. Off by default, with per-user opt-outs.

Your music on a globe

See where your artists come from, country by country, and wander your library by place.

Honest health checks

A Health Center tests every integration and tells you exactly what is wrong and how to fix it.

Self-hosted

Small enough to forget it's running

Leyr is one container with one Rust binary and a SQLite file. It runs on the box you already have.

ONE CONTAINERThe server, the web app and every background job in a single image.
RUST + SQLITEFast to start, light on memory, and backed up by copying one file.
YOUR SIGN-INLocal accounts, TOTP, OpenID Connect (Authentik, Keycloak and others) and Discord.
YOUR HARDWARERuns on the box you already have. Your files stay on your server.

Works with the tools self-hosters already run:

NavidromeMusicBrainzListenBrainzBandcampDiscordTicketmasterBandsintownAuthentik

Run your own music service

Leyr is in early access. The install guide covers what you need and how it fits together.