A quiet social coach for your Even Realities G2 smart glasses.
Xiaobu listens to your conversations and suggests short, natural responses — displayed discreetly on your glasses when you need them. Built for people with social anxiety who want a silent nudge, not a script.
- 🎤 The app listens to the conversation around you via your microphone
- 💍 When you feel stuck, tap the temple of your glasses (or the ring)
- 🧠 AI generates one short, natural response based on what was just said
- 👓 The suggestion appears on your glasses display instantly
- 🔄 Tap again anytime for a fresh suggestion
| Layer | Technology |
|---|---|
| Glasses display | Even Hub SDK (@evenrealities/even_hub_sdk) |
| Speech-to-text | OpenAI Whisper (whisper-1) |
| Response generation | OpenAI GPT-4o |
| Dev server | Vite |
| Simulator | Even Hub Simulator |
- Node.js v20 or v22+
- An OpenAI API key (
sk-...) - Even Hub Simulator installed
# Clone or download the project
cd xiaobu
# Install dependencies
npm install
# Install Vite if not already set up
npm install -D vite
npm pkg set scripts.dev="vite"Open index.js and replace the API key placeholder on line 9:
const OPENAI_API_KEY = 'sk-your-key-here';Open two PowerShell terminals:
Terminal 1 — Start the dev server:
npm run devTerminal 2 — Start the simulator:
evenhub-simulator http://localhost:5173- Browser panel — shows the debug UI: bridge status, live transcript, last suggestion, and debug log
- Glasses display — shows the suggestion text (green dot-matrix)
- Click button (simulator) or temple tap (real glasses) → request a suggestion
- The mic transcribes continuously in 4-second chunks, keeping the last 30 seconds of context
xiaobu/
├── index.html # Browser panel UI
├── index.js # App logic (SDK, Whisper, GPT-4o)
├── package.json
└── README.md
- Heart rate integration via Even R1 ring (when SDK exposes biometric data)
- Automatic suggestions without tap (opt-in mode)
- Multi-language support
- Customizable suggestion tone (formal / casual / funny)
- The glasses display is 576×288px, green dot-matrix — keep suggestions short (under 12 words)
- Tested in Even Hub Simulator v0.7.2 with SDK v0.0.10
- No camera is used — privacy-first by design
*Xiaobu (小步) means "small step" in Chinese, because every interaction starts with a small step.
And because I personally like (and learn) Mandarin *