Stars
Forks
Watchers
Developer links
Snapcast
With Snapcast, the music follows you from kitchen to study without a stumble, because every speaker in the house plays the same audio at the same instant. The server grabs sound from your player, a Spotify Connect endpoint, an AirPlay receiver, a turntable line-in, or a network stream, then feeds it to small clients around the house. Each client keeps its clock married to the server time and trims single samples to correct drift, holding sync tight enough that echoes between rooms simply do not happen. Group clients so the downstairs plays the record collection and the office plays a radio stream, switch a room from one source to another from your phone or browser, and set each room volume independently. Clients run on Raspberry Pis, old laptops, Android phones, ESP32 boards, and the server itself, so spare hardware becomes speakers instead of e-waste. Pair it with MPD or Mopidy for a library, librespot for Spotify, or shairport-sync for AirPlay, and choose PCM, FLAC, Vorbis, or Opus per stream to balance fidelity and bandwidth. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. GPL-3.0 licensed.
Benefits
- Music That Follows You
- The same track plays in every room at the same sample, so walking through the house feels like one big listening space. No echoes between rooms, no restarting the song as you move.
- Your Player, Now Multiroom
- Snapcast extends the player you already use instead of replacing it: MPD, Mopidy, Spotify Connect, AirPlay, or a turntable line-in all become house-wide sources. Several players can feed the server in parallel.
- Rooms Grouped Your Way
- Clients join groups that share a stream, and each client keeps its own volume and mute. Send jazz downstairs and a podcast to the workshop, then regroup everything for a party in seconds.
- Spare Hardware Becomes Speakers
- Clients run on Raspberry Pis, old laptops, Android devices, and ESP32 boards, controlled from the Snapweb browser interface or phone apps. The hi-fi you own gains rooms without a proprietary speaker ecosystem.
Features
- Sample Accurate Synchronization
- Clients synchronize clocks with the server continuously and correct deviations by duplicating or dropping single samples. Typical deviation stays below 0.2 milliseconds, far under anything an ear can catch.
- Many Stream Sources
- Feed the server from named pipes, ALSA line-in, PipeWire, JACK, TCP streams, files, or helper processes. Built-in source types launch librespot for Spotify and shairport-sync for AirPlay audio.
- Codec Choice Per Stream
- Encode each stream as uncompressed PCM, lossless FLAC by default, or bandwidth friendly Vorbis and Opus. Match quality to your network, from wired rooms to weak Wi-Fi.
- Groups And Client Control
- Organize clients into groups, assign each group a stream, and adjust volume, mute, and latency per client. The JSON-RPC control API drives the same changes from scripts and home automation.
- Snapweb Browser Control
- The bundled web interface on port 1780 lists every client and group, shows the playing stream, and regroups rooms and volumes. Android apps like Snapdroid offer the same control.
- Runs Anywhere Audio Lives
- Packages exist for Debian, Arch, Alpine, and OpenWrt, with builds for FreeBSD, macOS, Windows, and webOS. A client needs so little that a Pi handles it easily.