Rosa buildorumleg. mug, 20.xi.2026
Building my own music app (that doesn't suck)
cuz why not?
As for many people, music is pretty much an essential part of my life: it helps me focus, makes my brain shut up when it’s overthinking, puts me to sleep, allows me to express emotions I would never be able to talk about with words, and much much more.
just get me to where you talk about the app
When I was 7-8 years old, my aunt gifted me my first MP3 player, a Sansa Clip Zip from Sandisk. My dad would ripoff the artists I liked at the time for me: Muse, Avicii, stuff like that (I can totally remember them all wdym?) Then came my first smartphone, at first I didn’t really know about streaming services, so I did just like my father did: go on Soulseek and download the stuff I wanted!
But hey, wouldn’t it be more convenient to have (almost) all of the music in the world at the tip of my fingers? Instead of having to fetch it on my computer, copy to my phone, or go to these sketchy youtube mp3 download websites, I could just click “Play” and boom, nothing else to worry about. However, just like with Youtube, if it’s free, it means you’re the product most of the time.
Ads were fucking annoying, so as a good citizen, I began to search for modded APKs on the internet, probably installed a few dozen malwares/spyware/whateverthefuckware along the way, and finally found my stuff. It worked for a few years, even though I had to update from time to time, but then, around 2025, it kinda felt like Spotify started actually reinforcing anti-piracy/modding protections (I wonder why). It became less and less convenient to use those, so I thought I’d just switch to something else. Nothing clicked.
Soooooo, I gave up and paid for Spotify for a year, in indian rupees of course (^:
(12 bucks vs 150 in Europe btw)
With all of that said, in the past year, lots of shit has been going on with Spotify. There’s even a freaking Wikipedia page about it!
Everyone around me started ditching it for alternatives: Deezer, Qobuz, Tidal or Bandcamp. And I remembered: Soulseek! Does it even still exist? A friend of mine had told me about Navidrome and OpenSubSonic recently, and I had just finished setting up my not-so-home lab. It all clicked together and I got to work:
- Downloading all of my music
- Notice I won’t have enough space for all of those FLACs
- Look up SSD prices
- $400
- Eat pasta and rice for 3 weeks
- Buy the SSD
- Set up Navidrome properly
Listen to my music and profit!- Spend 3 whole fucking days looking for a free, properly developped, modern app that supports OpenSubsonic
- Abandon
- Build it myself
ugh… let’s do it ourselves
I had already tried writing one before, in pure Kotlin. It was supposed to do everything, so of course it did nothing properly: half the features were missing and the other half lagged like hell. I deleted it and started over, this time with a Rust core and a promise to myself to keep it small (spoiler: it didn’t stay small).
The main idea is pretty dumb: the app never waits for the server. Everything on your Navidrome (or Jellyfin, or whatever speaks Subsonic) gets copied into a little database on your phone, and the app only ever reads from that. The server is just there to keep the copy up to date in the background.
And that one choice fixes most of what annoyed me in the other apps:
- no spinner when you open an album, it’s already there
- offline just works, the app doesn’t even notice until you try to play something you didn’t download
- you can add a few servers and they all end up in the same library
All the logic (queue, shuffle, search, mixes, sync…) lives in Rust, and the Android app is mostly a pretty face (Kotlin and Material 3 Expressive, the bouncy stuff) that shows whatever the core tells it to. Which means a desktop version was “just” another face, so I made one, and then a web one too (oops).
what it does
- plays from Navidrome, anything OpenSubsonic or Subsonic, and Jellyfin
- downloads albums and playlists for offline
- daily mixes made from what you listen to, on your phone and not on some server in California
- synced lyrics, a sleep timer, scrobbling to ListenBrainz or Last.fm
- Android Auto and widgets
- jams: send a link to your friends and you all listen to the same song at the same time
It doesn’t phone home. The only things it talks to are your servers and whatever you turn on yourself (lyrics, artist pictures, scrobbling).
and then a server too, because why not
Once the app was usable, I started hitting the walls of the Subsonic API itself. Navidrome is great, but the protocol it speaks is pretty old:
- there’s no way to ask “what changed since last time?”, so the app has to walk through the whole library to find out
- seeking in a transcoded song (when the server converts your FLAC to something lighter for mobile data) restarts it from the beginning, or doesn’t work at all, depending on the app
- artist names get split on separators, so AC/DC can end up as two artists, AC and DC
So I wrote my own server, Shelf. It keeps a log of every change, so the app only asks for what’s new. Transcoded songs are cut into small chunks, so seeking is just fetching the right chunk. And tags stay lists, so AC/DC stays AC/DC.
It’s also made for a household: everyone gets their own account, you can share playlists with each other, and you can hand the song you’re playing on your laptop over to your phone. Timbre talks to it like any other server, and it’s just as much of a beta.
yes, I used Claude
If you read my post about LLMs, you’re probably laughing right now. Yeah, a lot of this code was written by Claude. I wrote the specs, read the diffs and spent my days telling it “this sounds like hardcoding” (it loves hardcoding).
I’m still not sure how I feel about it. I would never have built all of this alone, and it’s exactly the app I wanted. But I didn’t learn much the hard way this time, and I kinda miss that.
try it
It’s still a beta, so expect stuff to break. The APK is on timbre.petal.cafe and the code is on my forge. If something’s broken, open an issue (or yell at me by mail).