@even-toolkit/create-even-app
v1.1.5
Published
Scaffold a new Even Realities G2 glasses app from a template gallery
Maintainers
Readme
@even-toolkit/create-even-app
Scaffold a new Even Realities G2 smart glasses app from a template gallery.
Usage
npx @even-toolkit/create-even-app my-appOr via the toolkit shortcut:
npx even-toolkit my-appTemplates
| Template | Description | |----------|------------| | minimal | Clean starter with AppShell and NavHeader | | dashboard | Analytics dashboard with charts, stats, and timeline | | notes | Notes app with search, categories, and CRUD | | chat | AI chat interface with voice input | | tracker | Activity tracker with calendar, timer, and progress | | media | Media gallery with audio player and file uploads |
Every template includes:
- React 19 + React Router 7 + Tailwind CSS v4
- even-toolkit components and design tokens
- G2 glasses SDK integration (splash screen, display rendering, gestures)
app.jsonmanifest ready for.ehpkpackaging- TypeScript, Vite, and hot reload
After scaffolding
cd my-app
npm install
npm run devTest with the G2 simulator:
npx @evenrealities/evenhub-simulator@latest http://localhost:5173Build and package for the Even Hub:
npm run build
npx @evenrealities/evenhub-cli pack app.json distContributing templates
- Create a new directory under
templates/ - Add a
template.jsonmanifest:{ "name": "my-template", "displayName": "My Template", "description": "Short description of the template", "tags": ["tag1", "tag2"], "components": ["Button", "Card"] } - Add your app files — use
{{APP_NAME}},{{DISPLAY_NAME}},{{DISPLAY_NAME_UPPER}},{{PACKAGE_ID}}as placeholders - The CLI auto-discovers templates from the
templates/directory
Links
- even-toolkit — component library
- Live component demo
- Even Hub SDK
- Even Hub CLI
License
MIT
