Last updated: 2026-06-04
Your First App is the hand-built path. Templates are the opposite - the bridge is wired, the input handlers are in place, and there's a working demo to edit. Reach for one when you want to ship something, not wire one from scratch.
Where they live
All official templates live in one repo:
github.com/even-realities/evenhub-templates
The README has the current list. At time of writing:
| Template | What it ships with | Reach for it when |
|---|---|---|
minimal | Vite + TypeScript + SDK wired in, single page, click handler | Learning the SDK; one-shot demos |
text-heavy | Pagination component, large-text rendering, font-measurement helper | Reading apps, long-form content |
asr | Audio capture wired, transcription scaffolding, mic UI states | Voice notes, transcription, voice control |
image | Image rendering pipeline, greyscale conversion helper, placeholder swap | Photo viewers, glanceable images |
Use one
Pull a template directly with degit:
bash
npx degit even-realities/evenhub-templates/minimal my-app
cd my-app
npm install
npm run devSwap minimal for text-heavy, asr, or image. If you live in Claude Code, the /template skill wraps this flow.
What's the same in every template
- Vite + TypeScript project with HMR
@evenrealities/even_hub_sdkalready installedapp.jsonmanifest pre-filled with sensible defaults (you still need to editpackage_idandname)src/main.tsboots the bridge withwaitForEvenAppBridge()before any other SDK call- A working
index.htmlandvite.config.ts- keep both as-is
What you edit
app.json- changepackage_id(reverse-DNS, globally unique),name,description, and anypermissions/networkwhitelist your app actually needssrc/- your app logic. Each template names its own files (pages/,components/, etc.) so consult its READMEpublic/icon.png- the 24x24 greyscale app icon
Pulling in template updates later
When the template repo ships a fix or a new feature, there is no in-place upgrader. Diff your project against the upstream folder and copy what you need. Migration notes for breaking changes live in the template's README.
When to skip the template
- You're learning the raw SDK. Templates hide bridge mechanics behind helpers - do Your First App at least once first.
- Tight bundle budget. Templates bundle demo code and helpers. Trim before shipping.
- The template's specialty doesn't match yours.
minimalis rarely wrong; the others add code you may end up deleting.
Related
- Your First App - manual scaffold walkthrough
- Display & UI System - what containers and primitives templates compose with
- Design Guidelines - styling and layout rules templates already respect
- Background & Lifecycle - what the template lifecycle handlers automate