Skip to content

KataDisciplined web APIs on Hono.

Opinionated like NestJS, functional like a script, verifiable like a type system — built so AI agents and humans both produce correct code on the first try.

Kata — an ensō sealed with a cinnabar hankoKata — an ensō sealed with a cinnabar hanko

Why another framework ​

NestElysiaHono + Zod templateKata
Functional only❌✅✅✅
Runs on Hono (Node · Bun · Deno · Edge)❌❌✅✅
Mandatory schemas (lint-enforced)❌⚠️❌✅
Statically enumerable DI❌⚠️❌✅
Harness hooks shipped natively❌❌❌✅

Why Kata, in depth →

Six files to a fully-typed API ​

A module has exactly one place for each concern — schema, service, route — so every route, DTO, and test is findable by glob, and kata verify can check the whole contract in well under 100 ms.

src/
├── context.ts                # defineContext({ ... }) — the one DI registry
└── modules/users/
    ├── users.schema.ts        # Zod DTOs
    ├── users.service.ts       # pure functions
    └── users.route.ts         # defineRoute — input + output schemas

Follow the six-file quickstart →

Open-source — license TBD. Built on Hono + Zod.