Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.06 KB

File metadata and controls

37 lines (26 loc) · 1.06 KB

minimal

Bare Even Hub G2 starter. Vite + TypeScript + SDK + CLI + simulator, one text container that renders Hello from G2!.

Run

npm install
npm run dev

Then either:

  • Simulator: npm run simulate
  • Real glasses: npx evenhub qr --url http://<your-ip>:5173 and scan with the Even Hub companion app.

Pack for distribution

npm run pack

Produces an .ehpk file.

What's in here

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.

Next steps

  • Add containers, input handling, lifecycle events — see the everything-evenhub skill suite.
  • Pick another template if you need microphone/STT (asr), image display (image), or long-form reading (text-heavy).