How zaidh-mech/project-zeno works
Aura combines a phone-led voice companion, embedded device firmware, an AI audio service, an NFC-opened birthday website, encrypted memory-gallery publishing, and a compact enclosure model. The primary flow is phone control captures speech and sends it to the backend; the C3 receives expression commands over Bluetooth and fetches reply audio over Wi-Fi. Gallery relationships are included where excerpts show them; unsampled route internals and device/backend protocol details are limited to README-documented links.
Main entry points: gallery-github.ts GitHub Publishing · app.py Voice Backend · MemoryGallery.tsx Memory Gallery · page.tsx Phone Control
Components 30
Companion Device
- C3 Firmware
src/c3_main.cpp - Legacy S3 Firmware
src/main.cpp
Voice Service
- Voice Backend
backend/app.py
Birthday Portal
- Phone Control
web/app/control/page.tsx - Birthday Home
web/app/page.tsx - Aura Scene
web/components/AuraScene.tsx - Companion Pet
web/components/CompanionPet.tsx - Keepsake Intro
web/components/KeepsakeIntro.tsx - Touch Sky
web/components/TouchSky.tsx - Together Cards
web/components/TogetherCards.tsx - Play Corner
web/components/PlayCorner.tsx - Site Content
web/lib/content.ts - Site Settings
web/lib/site-settings.ts
Memory Gallery
- Memory Gallery
web/components/MemoryGallery.tsx - Gallery Admin
web/components/OnlineGalleryAdmin.tsx - Gallery API
web/app/api/gallery/route.ts - Gallery Unlock
web/app/api/gallery/unlock/route.ts - Memory Updates
web/app/api/gallery/memory/[id]/route.ts - Photo Access
web/app/api/gallery/photo/[id]/route.ts - Gallery Export
web/app/api/gallery/export/route.ts - Gallery Auth
web/lib/gallery-auth.ts - Local Album Store
web/lib/gallery-store.ts - Gallery Export Logic
web/lib/gallery-export.ts - Gallery Encryption
web/lib/gallery-reader.ts - Nickname Encryption
web/lib/gallery-names.ts - GitHub Publishing
web/lib/gallery-github.ts
Enclosure Design
- Companion CAD Model
companion/tools/build_companion.py
Other components
- Recipient / Maker
- GitHub Repository
- NFC Tag
Connections 16
- Recipient / Maker → Phone Control: uses on phone
- Phone Control → Voice Backend: sends recorded voice
- Voice Backend → Phone Control: returns reply audio
- Voice Backend → C3 Firmware: provides expression commands
- C3 Firmware → Voice Backend: downloads reply audio
- Recipient / Maker → NFC Tag: opens website
- NFC Tag → Birthday Home: opens portal
- Recipient / Maker → Memory Gallery: views memories
- Memory Gallery → Gallery Encryption: reads published album
web/components/MemoryGallery.tsx - Memory Gallery → Nickname Encryption: checks nickname answers
web/components/MemoryGallery.tsx - Gallery Admin → GitHub Publishing: manages published album
web/components/OnlineGalleryAdmin.tsx - GitHub Publishing → Gallery Encryption: decrypts album
web/lib/gallery-github.ts - GitHub Publishing → Nickname Encryption: handles nickname albums
web/lib/gallery-github.ts - GitHub Publishing → GitHub Repository: publishes via API
web/lib/gallery-github.ts - Gallery Encryption → Nickname Encryption: decrypts nickname payload
web/lib/gallery-reader.ts - Gallery Export Logic → Local Album Store: reads album data
web/lib/gallery-export.ts