External Publication
Visit Post

Coding Challenge 188: Voice Chatbot

Nebula – Indie Streaming [Unofficial] April 27, 2026
Source
In this coding challenge, I build a conversational voice chatbot entirely in the browser with p5.js. I combine three pieces: speech-to-text with OpenAI's Whisper model, text-to-speech with Kokoro TTS, and a "brain" for the bot. I also explore the transformers.js pipeline API and the Web Audio API. For the bot's brain, I start with a simple ELIZA-style therapist, then incorporate a RiveScript number-guessing game, and finally a local LLM. Code and References>

Discussion in the ATmosphere

Loading comments...