Privacy-first, self-hosted music server written in Go.
  • Go 69.3%
  • TypeScript 29.8%
  • Java 0.3%
  • CSS 0.2%
  • JavaScript 0.2%
  • Other 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi def20731be fix(streaming): open files through os.Root and tighten token parsing
- fix: open the audio file through os.Root with O_NONBLOCK. A FIFO under a
  stored path used to block the request forever in open(2) before the
  regular-file check could run; now it is refused immediately
- fix: os.Root also removes the gap between checking the path and opening it,
  so a symlink swapped in at the last moment cannot leave the library
  (absolute symlinks are refused even when they point back inside)
- fix(api): only "Authorization: Bearer <token>" is accepted again. The query
  token change had made a bare token in the header pass on every route
- fix(config): library.roots must be absolute paths; a relative root made
  every stream fail and depended on the directory sondad started in
- test: FIFO and symlink-to-FIFO without hanging, bare and non-Bearer headers
  on a normal route and on the stream route, relative roots
2026-11-11 13:00:17 +01:00
cmd/sondad feat(streaming): stream tracks with HTTP Range support 2026-11-11 12:56:20 +01:00
internal fix(streaming): open files through os.Root and tighten token parsing 2026-11-11 13:00:17 +01:00
migrations feat(auth): add refresh tokens, admin role and user management 2026-11-11 12:38:42 +01:00
.gitignore feat: add sondad server with config, storage, auth and listening API 2026-11-11 12:06:15 +01:00
go.mod feat(library): add concurrent read-only scanner with progress events 2026-11-11 12:16:45 +01:00
go.sum feat(library): add concurrent read-only scanner with progress events 2026-11-11 12:16:45 +01:00
sonda.example.toml feat(auth): add refresh tokens, admin role and user management 2026-11-11 12:38:42 +01:00