Opinionated framework for building APIs on Cloudflare
Workers with a focus on simplicity and ease of use.
kumoh is a batteries-included framework for building APIs on Cloudflare Workers. It handles the infrastructure so you can focus on the code file-based routing, auto-provisioned D1, KV, R2, Queues, and Email Routing & Sending, end-to-end typed RPC, and takes you to production in minutes.
Heavily inspired by void.cloud by voidzero.
packages/kumoh- The framework. See the readme there for full docs, installation, and usage.examples/api- Example API built with kumoh (D1, KV, R2, queues, email).examples/web- Example frontend (React Router SPA) that consumes the API via typed RPC.
kumoh is built on top of some excellent tools and wouldn't be possible without them:
- Void Cloud by voidzero - The inspiration for kumoh.
- Cloudflare Workers — The runtime. D1, KV, R2, Queues, and Email Routing are all first-class Cloudflare primitives.
- Hono — The HTTP framework powering the routing layer. Fast, lightweight, and built for the edge.
- Vite+ — The unified toolchain used for building, type-checking, and formatting across the monorepo.
- Wrangler — The CLI under the hood for deploying Workers and managing Cloudflare resources.
- Drizzle ORM — Type-safe SQL for D1. Powers the
kumoh/dbvirtual module and migration tooling.
Feel free to submit pull requests, create issues, or spread the word.