Hack #2: Cloudflare · Cloudflare
27 Mar, 22:33
Ember is a therapeutic AI campfire companion built to address the accessibility gap in mental health support. Therapy is expensive, waitlists are long, and sometimes people just need someone to listen at 2am. Ember fills that gap — you click on an interactive 3D campfire built with Three.js, and a warm, supportive AI companion greets you by voice and has a natural spoken conversation with you while the fire reacts in real time, dimming when Ember speaks and flaring when it listens. The campfire metaphor is intentional: fire is universally calming and lowers the barrier to opening up compared to a clinical chat interface. ElevenLabs powers Ember's voice using the TTS API with the Brittney voice and the eleven_turbo_v2_5 model, proxied through a Cloudflare Worker endpoint that keeps the API key server-side. Voice is essential to the experience — reading text would break the campfire illusion, so Ember always speaks aloud. On the Cloudflare side, a Worker handles all routing including the ElevenLabs proxy and Agent SDK WebSocket connections, while a Durable Object gives each user their own persistent CampfireAgent instance that maintains full conversation history across sessions so Ember remembers returning users and greets them accordingly. Workers AI runs Llama 3.3 70B with a voice-optimized system prompt that keeps Ember warm, concise, and natural-sounding, all on Cloudflare's infrastructure with no external LLM API. Ember isn't a replacement for professional help — it includes crisis resource referrals like the 988 Lifeline — but it's a calming, judgment-free companion that's always there when you need it.
