Magic 8 Ball
A voice-controlled Magic 8 Ball running entirely in the browser. No server, no API keys, no data leaving your device.
- Try it: Magic 8 Ball
- Source: magic-8-ball on GitHub
Three models run locally via Transformers.js and WebGPU:
- Whisper-tiny.en (~40MB) - speech-to-text
- Qwen3-0.6B (~150MB) - LLM
- Supertonic-TTS (~60MB) - text-to-speech
Qwen at 0.6B is fast but not smart. It can’t reason or follow complex instructions. A Magic 8 Ball turned out to be a good fit—it just needs to produce mystical-sounding responses to yes/no questions.
Speak a question, Whisper transcribes it, Qwen generates an answer, TTS reads it back. Shader effects complete the aesthetic. Requires Chrome with WebGPU.