fig. 04open-source
open-sourcefounder, sole engineernov 2021

a lofi radio that runs itself.

a 24/7 lo-fi stream on twitch, written in three hundred lines of node.

320
github stars
24/7
uptime
ish
~3.2k
tracks queued

lo-fi streams on twitch are a small genre with very specific requirements: 24-hour uptime, royalty-clean audio, an aesthetic loop, and no chat moderation drama. the well-known channels are operated by people doing it manually, which means burning out somewhere in month four.

so this one runs itself. node script picks tracks from a curated youtube-dl-downloaded library, ffmpeg pipes them into an obs scene with a looping background, twitch ingest handles the rest. it crashes maybe once a month, which it then recovers from on its own.

what's actually clever

nothing. the entire trick is a queue, a process supervisor, and the willingness to delete tracks the chat doesn't like. the readme on github is two hundred words. it has three hundred and twenty stars, which i find genuinely surprising. people fork it to run their own niche-genre channels: jazz, ambient, a synthwave one in czech.

it is the kind of project where the interesting part is admitting it was easy.

the stack.

frontend
obsffmpeg
backend
node.jsyoutube-dl
infra
vpstwitch

elsewhere.