BubbleFacts: source-checked song facts on stream from a local 3B model
- Models & engines
- Built-in model: Llama 3.2 3B run through node-llama-cpp inside an Electron app
- Key gotcha
- Grounding lowers the error rate but doesn't reach zero: small models merge clauses, drop hedges, move years and swap who did what.
What they built
Christopher Feyrer works on BubbleFacts, a free, MIT-licensed desktop app for musicians and DJs who stream. While someone plays a song, it shows short facts about that song as bubbles in OBS.
The facts are written by a small language model on the streamer's own computer, and the design question was how to make sure a wrong fact never reaches the screen, because a musician with hands on the instrument can't catch it live.
The answer was to ground the model in the song's Wikipedia article, screen every caption with plain, testable code instead of a second model, and abstain automatically when in doubt. The README discloses that most of the code was written with AI assistance, with a human reviewing and testing every change, including on live streams.
Setup
- Built-in model: Llama 3.2 3B run through node-llama-cpp inside an Electron app
- Data sources: Wikidata and MusicBrainz for basic facts, Wikipedia for grounding
- Output: bubbles in OBS
- No cloud AI; the local server only answers to the same computer
How it works
- The pipeline runs in a fixed order: song facts, Wikipedia, AI, screen, Wikidata/MusicBrainz, custom facts.
- Year, album and composer come straight from Wikidata and MusicBrainz with no model involved.
- The app finds the right Wikipedia article (rejecting near misses and disambiguation pages), prefers the lead and checkable sections, filters reception sections, and uses the settled older version of the article (a 72-hour rule).
- Every caption is screened by deterministic checks for names, support, attribution, frames and wording before it is shown; anything the source doesn't support is dropped.
- A content-standard word list runs on the source text before the model sees it and on the output after.
Results & numbers
- Wrong captions are dropped automatically, with no review step, because a musician mid-song can't click anything.
- When a wrong fact slips through, the streamer can press Wrong after the song; the song, caption, article and source sentence are logged locally so the case can be replayed against the screening code.
Gotchas
- Grounding lowers the error rate but doesn't reach zero: small models merge clauses, drop hedges, move years and swap who did what.
- Without its own system prompt, node-llama-cpp gave the model a default 'helpful assistant' prompt, which changed output compared with Ollama. Check what prompt you're actually sending if you switch runtimes.
- Recent Wikipedia edits are the least reviewed, hence the 72-hour rule.
“The cost of a wrong fact is a musician being corrected in their own chat.”— Christopher Feyrer
Do it yourself
- Fetch basic song facts from Wikidata and MusicBrainz without a model.
- Find the song's Wikipedia article and use an older, settled revision.
- Have a local 3B model write captions only from that text.
- Screen each caption with deterministic code (names, numbers, attribution, hedges) and drop anything unsupported.
- Keep a local log of misses and replay it after each change.
Similar setups
A copy-paste path to a local OpenAI-compatible LLM endpoint with LM Studio, Ollama, or llama.cpp
Mikalai Karytka’s Nov 2026 guide walks through installing LM Studio’s lms CLI (plus Ollama and llama.cpp equivalents), sizing RAM for a quantized model, serving an OpenAI-compatible API, and checking tool-calling before you build agents on top.
Typd: offline voice dictation where one fine-tuned Qwen3-ASR model in llama.cpp writes the finished text
Mehmet Dedeler built Typd, a GPL-3.0 Electron app for Windows and Apple-silicon Macs that runs a dictation model fine-tuned from Qwen3-ASR 1.7B in llama-server and pastes cleaned-up text into whatever app you're typing in.
LM Studio vs Ollama on an RTX 5080: memory settings mattered more than the app
LK Wood IV ran LM Studio and Ollama on the same RTX 5080 with identical GGUF files and found the apps within 14% of each other, while one wrong offload or context setting cost up to 3.4x.
The Dogu Remembers: a 40-second short film made entirely with local models
unotchi made a 40-second film of a Jōmon clay figure speaking, with the script from a local Japanese Llama model in llama.cpp, the voice from GPT-SoVITS, the images rendered in Blender and the edit in ffmpeg.