Personal project · AI voice companion
Flare
Live · invite-only
A voice-first AI companion with a face. Hold a button, speak, and a stylised 3D character listens, thinks and answers out loud with lip-synced speech — all orchestrated at the edge on Cloudflare.
- Edge pipeline on a Cloudflare Worker (Hono) chaining Whisper speech-to-text, Llama 3.1 and Kokoro text-to-speech, streaming audio back while metadata travels in response headers.
- Real-time lip-sync computed entirely in the browser — Web Audio FFT analysis drives 67 ARKit blend shapes, with no server-side phoneme aligner.
- Rolling context summarisation keeps long conversations cheap, and D1 (SQLite) stores users, threads and messages with cascading deletes.
- Provisioned with Terraform and shipped through GitHub Actions; the API is covered by 21 automated Vitest tests and strict TypeScript across the monorepo.