templates/web-app
Mesh preview · funnel production
TanStack Start + React 19 + Vite + Tailwind v4. Auth is local passkeys over PGLite — no Better Auth, no remote DB required for mesh demos.
Preview (mesh)
npm run dev binds 0.0.0.0:8080. HMR. Reach via Tailscale IP or MagicDNS from MBP/iPhone.
Production (funnel)
Build + start, then hosting/funnel.sh. Needs OSS tailscaled on Studio.
Passkeys
WebAuthn registration/login. Credentials stay in worktree PGLite data dir.
Agent contract
alkio.host.json + hosting/*.sh. App code only in this worktree.
Stack: Node ≥24 · TypeScript · TanStack Start/Router · Vite · Tailwind v4 · @simplewebauthn · PGLite