I built a music server for my family and put it under AGPL-3.0: Melarka. Go + SQLite in one Docker container, plus native Android (Kotlin) and iPhone apps, all in one public repo: https://github.com/aaronsuns/melarka

Why it might be of interest here:

  • Everything is in the repo: server, both apps, docs and the build scripts. You can run it, read it and fork it.
  • It reads your own music folders and never rewrites your files or tags. No account at a third party, no tracking; the only call home is an optional, opt-in install ping.
  • An account per family member (own favorites, playlists, personal radio), synced lyrics, an offline cache for walks, and the Android app starts playing when the phone connects to the car.
  • Honest limits: it has its own API, so it is not Subsonic-compatible, and the iPhone app is not in the App Store (Apple's developer fee for something that earns nothing); you install it from a Mac with Xcode.

AI disclosure: most of the code, tests and docs were written with Claude Code. I designed it, steer it, review what goes in and use it every day on our phones. I know that is a sore point in open source; the repo says so up front, and I'd rather have the argument in the open than hide it.

Site with a one-minute tour: https://melarka.zexa.se/

all 7 comments

sorted by: hot top controversial new old
[–] 10 points 18 hours ago

Appreciate the AI disclosure.

  • source
  • [–] 6 points 18 hours ago

    I'm guessing the description above was also AI written...

  • source
  • [–] 5 points 18 hours ago (3 children)

    is there a reason why i should use this over navidrome and its dozen clients

  • source
  • hideshow 3 child comments
  • [–] 2 points 18 hours ago (2 children)

    It also plays songs from YT and it resembles Spotify

  • source
  • parent
  • hideshow 2 child comments
  • I actually don't care about the AI coded portion of this. (I am annoyed that you just copy pasted Claude's output, the "Honest limits" is the key takeaway, I have to read claude for work all day and now loathe it's stupid demeanor)

    However, why make this? I'm all for more apps, but there are already so many that do this. The obvious solution is run a Jellyfin server and then choose any of the litany of apps that you may want to use with it. I use Finamp and also have it hooked up to the whole house with HomeAssistant/MusicAssistant.

  • source
  • 2 comments in c/selfhost@lemmy.ml view that post
    [–] 3 points 5 days ago (1 child)

    Sorry you are getting downvoted for the open AI disclosure, at least that is what I assume is happening. I'd also be careful to selfhost and expose anything vibe-coded from someone else on my own machine, but I think its cool you managed to get this all together and its working for you and your family! Just don't expect others to trust it much.

    One note though, I see it is advertising download from Youtube, this might cause you some problems if you want to continue putting this on github and someone notices. Lots of youtube/youtube music appear and disappear quickly from github these days.

  • source
  • hideshow 1 child comment
  • [–] [S] 2 points 19 hours ago*

    Thanks, that's kind, and fair on trust: don't run it exposed on a stranger's word. It's all in the repo to read. On the YouTube part: the downloader is optional, the server works with just your own music folders, and nothing music-related ships in the repo (https://melarka.zexa.se/youtube-to-self-hosted-music says what it does and where the responsibility lies). You're right that it's a risk for the repo if YouTube tooling draws takedowns, and I'll keep that in mind.

  • source
  • parent