Skip to content

gonic

Lightweight self-hosted music server that speaks the Subsonic API for existing clients

Copyleft (OSI) · GPL-3.0
  • Self-hosted

Listed by , founder & editor

72

Health

Active

Overview

Stars

2,669

Last commit

7 days ago

Nov 2026

Repository age

7 years

since Mar 2019

Latest version

v0.23.0

Oct 2026

Contributors

–

6 active in 90 days

Releases

5

last 12 months

Docker pulls

2.2M

sentriz/gonic

Language

Go

Gonic is a music streaming server written in Go that implements the Subsonic API. Any Subsonic-compatible client can connect to it, and it has been tested with apps such as Symfonium, DSub, Amperfy, Tempus, Strawberry and Ultrasonic.

You point it at a music folder and it scans the library. You can browse by folder, keeping your directory tree intact, or by tags. Tag reading uses taglib and covers mp3, opus, flac, ape, m4a and wav. Transcoding and caching happen on the fly through ffmpeg. It also offers podcasts, a jukebox mode for server-side gapless playback, and internet radio. Last.fm and ListenBrainz scrobbling are built in.

It supports multiple users, each with their own playlists, transcoding preferences and top tracks. A web interface handles Last.fm setup, user management and scans. Because it is written in Go, it is light enough for a Raspberry Pi, and ARM images are available. Docker images are published, and it is licensed GPL-3.0. It can replace hosted streaming for a library you already own.

Who it's for

Collectors with a large local music library

It scans a library of about 50k tracks in roughly ten minutes at first, then only seconds for updates.

Skip if: You want a built-in rich web player, since you will use separate client apps.

Raspberry Pi and low-power server owners

A Go binary with ARM images keeps resource use low.

Skip if: You need heavy transcoding, which depends on ffmpeg and your hardware.

Households sharing one server

Each user gets separate playlists, scrobbling and transcoding settings.

Skip if: You need fine-grained sharing or permissions beyond user accounts.

The problem it solves

Streaming services own your listening data and may drop tracks, while your own files sit unused on a disk. Gonic serves your collection to phones and desktops through the Subsonic API.

Strengths

  • Works with many Subsonic clients across desktop, mobile and terminal
  • Supports mp3, opus, flac, ape, m4a and wav tags
  • Last.fm and ListenBrainz scrobbling
  • Podcasts, jukebox mode and on-the-fly transcoding
  • Small Go binary with ARM images

Trade-offs

  • Transcoding needs ffmpeg installed
  • Has no full-featured player of its own; you pick a client
  • Default login is admin/admin and must be changed after install

gonic replaces

Self-host gonic

Self-hostable
Yes
Docker image
sentriz/gonic
Hosted plan
From $4/month · pricing

Frequently asked questions

Is gonic free?

Yes. It is open source under GPL-3.0.

Which clients work with it?

Any Subsonic-compatible client. It has been tested with Symfonium, DSub, Amperfy, Tempus, Strawberry and Ultrasonic, among others.

Can I run it in Docker?

Yes, Docker images are available, including ARM builds. You can also build from source or run it with systemd.

Does it scrobble?

Yes, to Last.fm and ListenBrainz.

Other Spotify alternatives

Compare all 12 Spotify alternatives →

Similar tools in Music players and streaming

LX Music Desktop

Music players and streaming

Electron desktop music player and search tool, with a sync server and local API

56k 7.2k 17 days ago Active Apache-2.0

Replaces Spotify

psst

Music players and streaming

Native Rust desktop client for Spotify Premium users who want a lighter app than Electron

9.5k 278 3 months ago Dormant MIT

koel

Music players and streaming

Self-hosted web music server for people who keep their own audio collection

17k 2.1k yesterday Thriving MIT

Replaces Spotify

Spotube

Music players and streaming

Plugin-based music streaming app for desktop and Android with no telemetry

51k 2.4k 14 days ago Active AGPL-3.0

Replaces Spotify

multi-scrobbler

Music players and streaming

Self-hosted Docker app that collects listening history from many players and forwards it

1.4k 68 today Thriving MIT

mpd

Music players and streaming

Server-side music player you control remotely from phones, terminals and desktops

2.8k 440 today Active GPL-2.0