Templates
Copy-paste starters that already have the SDK wired up, webhooks verified, and a working UI. Clone one and start editing — no scaffolding required.
All templates live at github.com/ear3-ai/ear3-templates.
Next.js onboarding starter
The canonical reference implementation. Every SDK doc page links back to specific files in this repo.
What it demonstrates
<Ear3Interview>mount with typed metadata- Webhook route (
app/api/webhooks/ear3/route.ts) with signature verification via@ear3/server - Thank-you page that fetches session state server-side
.env.examplewith every variable you need + comments explaining each- Vitest test that mocks a webhook delivery end-to-end
Stack: Next.js 15 (App Router) · TypeScript · Tailwind · Vitest
Clone it
npx degit ear3-templates/nextjs-onboarding-starter my-app
cd my-app
npm install
cp .env.example .env.local
# fill in keys from app.ear3.ai
npm run devThen follow the SDK Quickstart — it walks through the same repo from a fresh clone.
Roadmap
More templates land as ecosystems mature. Vote / request: github.com/ear3-ai/ear3-templates/discussions.
| Template | Status | Stack |
|---|---|---|
| Next.js onboarding starter | ✅ Ready | Next.js 15 · App Router |
| Vite + React standalone | 🛠 Planned | Vite · React · Express webhook |
| Remix onboarding | 🛠 Planned | Remix · loaders / actions |
| SvelteKit | 🛠 Planned | SvelteKit · form actions for webhook |
| Cloudflare Worker webhook | 🛠 Planned | Standalone webhook handler on Workers |