beatbrain: A Social Music Discovery App
beatbrain is a social music discovery app Iāve been building. Itās a place where you can check out hot and new releases, share your favorite songs, and see what your friends are listening to. Think of it as a social layer on top of music discovery.
The home page shows popular songs scraped from a few different music sites. I built a backend service called melodex using Go Fx that scrapes these sites and builds an index in Firestore. The service runs continuously, keeping the home page fresh with whatās trending.
For release informationāthings like production credits, recording details, and instrumentationāI pull data from MusicBrainz. To make this easier, I built a minimal Go library called musicbrainz-go to interact with the MusicBrainz API. Itās fascinating to see who produced a track or what instruments were used, and I wanted to surface that information in a way thatās easy to explore.
The feed page is where the social aspect comes in. Users can share their favorite songs with comments, and you can see what your friends are listening to. Iām storing all of this in Firestore, and thereās a profile page in the works. The feed will get better over time as I refine the experience.
I use Spotifyās API for search functionality, though itās currently disabled while I work on other features. Thereās another Go Fx backend service called occipital that handles all the backend requests, keeping things modular and organized.
The frontend is hosted on Vercel, which makes deployment seamless. Iāve used AI a bit to help build thisābefore Cursor and Claude were widely available, I was copying and pasting code into Google AI Studio, which somehow gave me great access to pro models. Itās been helpful for working through some of the trickier parts.
Iām building a new site now, so beatbrain might not get updated for a while, but itās still a project thatās near and dear to my heart. Thereās something special about building a tool that helps people discover music and share what they love.
You can check it out at beatbrain.xyz, and Iām on X at @beatbrainxyz if you want to follow along.
All the code is open source:
- beatbrain-web - The frontend web app
- melodex - The Go Fx service that scrapes music sites and builds the index
- occipital - The Go Fx backend service that handles API requests
- musicbrainz-go - A minimal Go library for the MusicBrainz API