Start here
Create and run a capsule:
npx luminaweb new my-app --template todo
cd my-app
npx luminaweb dev
npx luminaweb create is an alias for npx luminaweb new. New capsules
get a git repository and initial commit unless created inside an existing git
repository or --no-git is passed.
Capsule shape
server/index.ts # schema, queries, mutations, endpoints
client/index.tsx # Preact UI
shared/ # pure types & helpers
.env.luminaweb.server # server-only env
Read next
- Quickstart — the fastest path from
npm ito a live URL. - Capsule API — the API shape an agent uses.
- Reference — capsule runtime, data API, CLI, deploy.
- CLI — every command, every flag.
- Deploy — pushing to the Luminaweb Edge.