I built a voice AI admin for small-business websites. Here is what actually broke.
A plumber in Moscow gets a message at 23:40: "How much to replace a water heater?" Nobody answers until 9:00. The person buys from whoever answered first.
I spent the last months building a widget that answers on the site itself β text and voice β and collects a lead. This is a builder's note, not a pitch: what worked, what broke, and the parts that are still ugly.
The stack, deliberately boring
No framework. A single IIFE widget (~40 KB), a Node HTTP server with no npm dependencies, JSONL files instead of a database, nginx in front, systemd behind.
That is not minimalism for its own sake. Small businesses buy a thing that must not break while they sleep. Fewer moving parts, fewer 3 a.m. failures. The whole project is a few thousand lines and I can read all of it.
Break #1: the browser's speech recognition is not yours
The obvious move was the Web Speech API.β¦