create-kotodayori
create-kotodayori is a CLI that scaffolds a new Kotodayori project with your chosen framework and package manager.
npx create-kotodayoriOr with options:
npx create-kotodayori my-webhook-handler --fw=hono --pm=pnpmOptions
Section titled “Options”| Option | Short | Description |
|---|---|---|
--framework | --fw | Framework: hono, express, lambda, eventbridge |
--package-manager | --pm | Package manager: pnpm, npm, yarn, bun |
--skip-install | — | Skip dependency installation after scaffolding |
Supported frameworks
Section titled “Supported frameworks”- Hono — Full support; generates a Hono app with webhook route and example handlers
- Express — Coming soon
- Lambda — Coming soon
- EventBridge — Coming soon
Generated structure (Hono)
Section titled “Generated structure (Hono)”The Hono template includes:
- Main app with webhook route
- Example handlers for payment and subscription events
- Logging middleware
- TypeScript, tsup, and dev server setup
.env.exampleand README with template variables
You can then customize handlers and add more events as needed.