@codaijs/keel
v0.2.4
Published
CLI tool for keel (a codai project): create projects and manage sails
Maintainers
Readme
Quick Start
npx @codaijs/keel create my-appFollow the interactive wizard to configure your project — database, auth, email, and optional sails.
Zero-Config (no Docker needed)
npx @codaijs/keel create my-app --yes --db=pglite
cd my-app
keel devWith Options
npx @codaijs/keel create my-app --yes # All defaults
npx @codaijs/keel create my-app --yes --db=docker # Docker PostgreSQL
npx @codaijs/keel create my-app --yes --db=url --db-url=... # Custom DB URL
npx @codaijs/keel create my-app --yes --sails=stripe,google-oauthWhat You Get
| Layer | Stack | |-------|-------| | Frontend | Vite + React 19 + TypeScript + TailwindCSS v4 | | Backend | Express 5 + TypeScript (ESM) | | Auth | BetterAuth — email/password, sessions, verification | | Email | Resend + React Email templates | | Database | PostgreSQL + Drizzle ORM (migrations) | | Mobile | Capacitor 8 — iOS + Android | | AI | CLAUDE.md, .cursor/rules, copilot-instructions — built in |
CLI Commands
Development
keel dev # Start dev servers + database
keel start # Production build + start
keel doctor # Health check your project
keel env # Show env var statusCode Generators
keel generate route <name> # Scaffold Express route
keel generate page <name> # Scaffold React page
keel generate email <name> # Scaffold email templateSails (Extensions)
keel sail add <name> # Install a sail
keel sail remove <name> # Remove a sail
keel list # List all available sails
keel info <name> # Show sail detailsDatabase
keel db:reset # Drop + re-migrate
keel db:studio # Open Drizzle Studio
keel db:seed # Run seed fileAvailable Sails
| Sail | What it adds | |------|-------------| | google-oauth | Google sign-in + OAuth config | | stripe | Subscriptions, checkout, webhooks, portal | | gdpr | Consent, data export, account deletion, privacy policy | | r2-storage | Cloudflare R2 file uploads | | push-notifications | Firebase Cloud Messaging | | analytics | PostHog tracking | | admin-dashboard | User management + metrics | | i18n | i18next localization |
Requirements
- Node.js >= 22
- npm >= 10
Links
License
MIT
