Gummy is a voice-first AI literacy app for kids ages 6-8. This repo is currently tuned for one polished demo path:
- onboarding
- microphone permission
- color selection
- calibration
- one hero lesson:
What Is AI? - parent-ready report flow
- React + Vite + Tailwind
- Whisper via
@xenova/transformersin the browser - Web Speech API for TTS
- Express proxy for LLM calls
npm install
npm run devFrontend:
http://127.0.0.1:5173
Backend:
http://localhost:3001
Copy .env.example to .env.
Frontend:
VITE_API_BASE_URLVITE_TTS_PROVIDER
Backend:
ANTHROPIC_API_KEYALLOWED_ORIGINSELEVENLABS_API_KEYELEVENLABS_VOICE_ID
This repo now supports a single Render web service:
- the Vite app is built during deploy
- the Express server serves both the frontend and
/api/* - React Router routes resolve through the server in production
Create a new Render Web Service from this repo and use:
- Build command:
npm install && npm run build - Start command:
npm start
Set these environment variables in Render:
ANTHROPIC_API_KEY=...VITE_TTS_PROVIDER=web-speechVITE_API_BASE_URL=(leave blank for same-origin API calls)ALLOWED_ORIGINS=(optional when frontend and API share the same Render URL)
Notes:
render.yamlis included if you want to use Render Blueprints.- The app listens on
0.0.0.0andprocess.env.PORT, which matches Render's web service requirements.
If you prefer separate frontend and backend hosting, the older split deployment still works:
- frontend on Vercel
- backend on Railway
Whisper does not need to be preinstalled on the device.
In this app, the browser downloads the model and WASM runtime on first use, then caches it locally. That means:
- deployed usage is supported
- first-time setup takes longer
- performance depends on browser/device support
- raw audio still stays on-device in the intended architecture
The MVP is intentionally narrowed:
- only
What Is AI?is selectable for the public demo - other lessons, stories, and topics are visible as previews but locked
This keeps the product story focused for demos, LinkedIn posts, and early feedback.