HiraxCast
Music in every room. Perfectly in sync.
A Raspberry Pi and any speakers become a multiroom system. Play from the app, invite friends to a Jam – no account needed, built on an open protocol.
A speaker system that belongs to everyone
HiraxCast is a receiver for the Raspberry Pi and an openly documented protocol. Any app can speak it.
Multiroom, in sync
Several speakers play sample-accurately in sync. If one drops out, the group pauses until you resume.
Jam with friends
Whoever plays first starts the session. Everyone else joins, requests songs and takes control – with the permissions the host grants.
Invite by link
A link is all it takes, even without a shared Wi-Fi. Invitations expire; guests can request songs but never change device settings.
Local first
At home, the app and the speakers talk to each other directly. Remote access through the relay can be switched off at any time.
Open protocol
HTTP and WebSocket, fully documented, with SDKs for TypeScript, Dart/Flutter and Go. No vendor lock-in.
Looks after itself
The receiver updates itself. Every release is signed, and if something goes wrong it rolls back to the previous one.
Three steps to your first song
-
Flash the image
In Raspberry Pi Imager choose “Use custom” and write it to an SD card – without customisation, the image sets itself up.
-
Plug in
Connect speakers to the jack, HDMI or a USB sound card (the Pi 5 has no jack), then power on. Without a network cable the Pi opens the Wi-Fi “HiraxCast-Setup” after about 45 s.
-
Press play
Pick the speaker in the app and go. Whoever plays first is the host – everyone else can join the Jam.
Receiver image for Raspberry Pi 2, 3, 4 and 5
Version 1.0 · Raspberry Pi OS Lite, 32-bit · about 650 MB · other Linux machines
Any Linux machine can be a speaker
No Raspberry Pi needed: the receiver also runs on a PC, a home server or another single-board computer. One command installs it as a systemd service with signed automatic updates.
- System
- Debian 12+, Ubuntu 22.04+, Raspberry Pi OS or another Debian-based distribution with systemd and apt
- CPU
- x86_64, arm64, armv7 or armv6
- Audio
- An ALSA output: jack, USB sound card, HDMI or I²S DAC
- Memory
- 512 MB RAM, 1 GB recommended
- Network
- LAN or Wi-Fi with mDNS; TCP 7350 and UDP 7351 reachable on the local network
# Install (Debian, Ubuntu, Raspberry Pi OS)
curl -fsSL https://hiracast-app.cdn.ahri.cloud/install.sh | sudo bash
# Pick the sound card (list them with: aplay -L)
curl -fsSL https://hiracast-app.cdn.ahri.cloud/install.sh \
| sudo AUDIO_DEVICE=plughw:CARD=Device,DEV=0 bash
# Beta channel
curl -fsSL https://hiracast-app.cdn.ahri.cloud/install.sh \
| sudo CHANNEL=beta bash
# Logs
journalctl -u hiraxcast-receiver -f
Build HiraxCast into your app
Find speakers, start a session, fill the queue and receive live state over WebSocket – on the local network or through the relay.
import { HiraxCastClient } from "@hiraxcast/sdk";
// A speaker on the local network
const speaker = new HiraxCastClient("192.168.1.20");
await speaker.start({ client: { id, name: "Laptop" } });
await speaker.addItems(
[{ source: "url", url: "https://example.com/song.mp3" }],
{ play: true },
);
// Live state over WebSocket
speaker.events({ onState: (s) => render(s) });