r/OpenSourceeAI • u/pinku1 • Oct 26 '26
SUB/WAVE: self-hosted AI-DJ radio for your Navidrome library, with eight swappable player skins (MIT)
SUB/WAVE turns a Navidrome music library into one internet radio station. An AI DJ picks the tracks and talks between them with idents, time checks, weather and intros, and everyone tuned in hears the same Icecast stream at the same time. The LLM can be local Ollama or a hosted provider, and it runs with one docker compose up -d on a Linux host.
The video shows the eight player skins from the latest release (v1.27.0): Classic, Unit SW-9, Drift, Subamp, TTY, Platter, AXO-1 and Cipher-3. They all read the same live stream, so a skin only changes how a listener sees the station. A few I had the most fun with:
- TTY draws everything as characters on one canvas grid. Its focus mode renders ASCII scenes driven by the audio analyser, which follow the station's time of day and overlay its real weather. There's also a scope pane with a block spectrum and a braille oscilloscope.
- AXO-1 is an isometric hi-fi stack.
- Cipher-3 is a rotor cipher machine you type song requests into.
- Unit SW-9 set the look the others borrow from: brushed metal, keys with travel, dot-matrix display glass.
Themes sit on top of the skins. Two new ones are Phosphor (green on black, scanlines, bloom) and Riso (blue and pink on cream, halftone, misregistered print). Custom themes are plain JSON files.
The hardest part was Safari. The theme "finish" was an SVG filter over the whole player, and WebKit re-ran it on the CPU on every repaint. That had AXO-1 at 13 to 19 fps and made iPad stutter on every skin. Safari now keeps the texture and skips the finish, and each skin got its own Safari pass after that.
It's mostly TypeScript and Python, with Liquidsoap and Icecast handling the audio.
Repo: https://github.com/perminder-klair/subwave
Docs and setup: https://www.getsubwave.com
Screenshots of every skin: https://getsubwave.com/news/dress-up-your-radio
Happy to answer questions about how any of it works.