Bare Even Hub G2 starter. Vite + TypeScript + SDK + CLI + simulator, one text container that renders Hello from G2!.
npm install
npm run devThen either:
- Simulator:
npm run simulate - Real glasses:
npx evenhub qr --url http://<your-ip>:5173and scan with the Even Hub companion app.
npm run packProduces an .ehpk file.
| File | Purpose |
|---|---|
index.html |
WebView host. Viewport meta tag locks zoom; CSS kills iOS double-tap zoom + rubber-band scroll. |
src/main.ts |
Creates a single full-canvas text container at app startup. |
app.json |
Even Hub manifest. No permissions by default. |
tsconfig.json |
Standard Vite vanilla-ts config. |
vite.config.ts |
Dev server on port 5173, host binding for LAN QR access. |
- Add containers, input handling, lifecycle events — see the
everything-evenhubskill suite. - Pick another template if you need microphone/STT (
asr), image display (image), or long-form reading (text-heavy).