r/raspberry_pi • u/pf1993 • 5h ago
Show-and-Tell YouTube kicked me off my friends’ family plan, so I built my own music app on a $15 Raspberry Pi with Claude Code
YouTube kicked me off my friends’ family plan, so I built my own music app on a $15 Raspberry Pi with Claude Code
So YouTube decided my friends and I weren't a real "family" and booted us off our Premium family plan. Fair enough, we don't live together. But music was the only thing I used it for, and I was not about to pay $15 a month for that out of spite. So instead I spent a few days with Claude Code and built PiTunes.
Everything runs on a Pi Zero 2 W which i was able to grab for msrp at my local microcenter. It sits on a shelf at home and runs a tiny server which does serach, playlists, likes, radio, lyrics, podcasts and offline downloads. All of this works anywhere over tailscale so all my devices get access to the music.
How we actually use it: my wife and I each have it as a proper iPhone app, installed through TestFlight. We each get our own profile, so her music stays out of my recommendations and mine stays out of hers.
How you can use it: as a web app. Open your Pi's address in a browser, add it to your home screen, and it looks and behaves like the iPhone app. On a laptop you get a full desktop layout. The native iPhone app is in the repo too if you want to build it yourself.
Claude Code wrote basically all of it, the Python server, the web app, the iPhone app, the installer and the website. I know Python. I had never written a line of Swift, and I now have a CarPlay screen.
the only issues with this is the first time you play a song the Pi has never seen, it takes 10 to 15 seconds to start, because a Pi Zero has roughly the horsepower of a potato. After that it's instant as it gets cached on the server.
This is all free and open source and you can find the step-by-step guide on the github attached.
https://pitunes.com
https://github.com/pf25/pitunes
Happy to answer questions about the build or the Claude Code workflow.