Somachord

A self-hosted Subsonic music client in Gleam that keeps playing offline

A web music player for Subsonic servers, written in Gleam with Lustre: synced lyrics, scrobbling, playlists, a saved queue and autoplay of similar songs, shipped as a Docker image, a PWA and an Electron app, with tracks and cover art cached so music already played works offline.

Trade-offs

  • A service worker serves streams and cover art cache-first, with range requests, while writes such as scrobbles, stars and playlist edits go network-only.
  • The server URL and default credentials can be locked through environment variables, so one deployment can be pinned to one Subsonic server.

Q&A2

In the browser as a PWA, as an Electron desktop app, or self-hosted from one Docker container.

Reviews

Loading reviews

    More in Gleam

    • trellisA workspace CLI for Gleam monorepos, configured from gleam.toml alone
    • HashiA new hashiwokakero bridge puzzle every day, full stack in Gleam

    More in Self-hosted

    See all 120 →
    • SupermetryCookie-free web and product analytics on one Go binary and PostgreSQL
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • OVLTSelf-hosted OIDC server in one Rust binary, multi-tenant through Postgres RLS
    • FusionalySelf-hosted web analytics in one SQLite file
    • KotauthMulti-tenant OAuth2 and OIDC identity server in Kotlin, self-hosted in Docker
    • TouchDeckA local touch control deck for Home Assistant and PC stats on an ESP32-S3

    More in Music

    See all 11 →
    • RaspiMIDIHubRaspberry Pi as a plug-and-play USB MIDI hub with virtual instruments
    • GridlinePattern-based music workstation in C++17, from channel rack to mixer
    • SotFAutomatic EQ for speakers and headphones, with room measurement and a player
    • Acid DripA DIY groovebox on an RP2040: acid bassline, a second synth and a drum machine
    • LatentJamOffline music player that queues songs from a library by how they sound
    • ACE-Step StudioDesktop studio that writes and renders full songs with vocals on a local GPU