Skip to content
/ gonic Public
forked from sentriz/gonic

subsonic server API implementation

License

Notifications You must be signed in to change notification settings

anayrat/gonic

Repository files navigation

FLOSS alternative to subsonic, supporting its many clients

features

  • browsing by folder (keeping your full tree intact)
  • browsing by tags (using taglib - supports mp3, opus, flac, ape, m4a, wav, etc.)
  • pretty fast scanning (with my library of ~27k tracks, initial scan takes about 10m, and about 5s after incrementally)
  • last.fm scrobbling
  • multiple users
  • a web interface for configuration (set up last.fm, manage users, start scans, etc.)
  • newer salt and token auth
  • tested on dsub and jamstash

installation

the default login is admin/admin.
password can then be changed from the web interface

$ apt install sqlite libtag1-dev
$ go get senan.xyz/g/gonic/cmd/gonic
$ gonic -h

or with docker, available on dockerhub as sentriz/gonic

gonic:
  image: sentriz/gonic:latest
  environment:
  - TZ
  # optionally, see env vars below
  expose:
  - 80
  volumes:
  - ./data:/data
  - ${YOUR_MUSIC}:/music:ro

configuration options

env var command line arg description
GONIC_MUSIC_PATH -music-path path to your music collection
GONIC_DB_PATH -db-path optional path to database file
GONIC_LISTEN_ADDR -listen-addr optional host and port to listen on (eg. 0.0.0.0:4747, 127.0.0.1:4747) (default 0.0.0.0:4747)
GONIC_SCAN_INTERVAL -scan-interval optional interval (in minutes) to check for new music (automatic scanning disabled if omitted)

screenshots

About

subsonic server API implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.3%
  • Other 0.7%