A self-hosted, Cloudflare Workers-compatible platform packaged as a single Rust binary for running Workers, KV, D1, R2 and more on one machine.
honojs/hono
A small, ultrafast web framework built on Web Standards that runs on Cloudflare Workers, Deno, Bun, AWS Lambda, Node.js and more.
- Stars
- 32,630
- Forks
- 1,424
- Open issues
- 404
- Last commit
- 3 hours ago
What is it?
Hono is a web framework written in TypeScript that uses only Web Standard APIs, so the same application code can run on Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, AWS Lambda, Lambda@Edge and Node.js. It has no dependencies and provides a minimal routing and middleware API for handling HTTP requests.
The router is built around RegExpRouter, which avoids linear route matching. The project also offers a tiny preset (hono/tiny) under 12kB, along with built-in, custom and third-party middleware, and first-class TypeScript types for routes and handlers.
The project is maintained with documentation at hono.dev, a migration guide, and a Discord and X community for questions and discussion.
Key features
- 01Routing built on RegExpRouter, without linear route scanning.
- 02Runs on Cloudflare Workers, Deno, Bun, Node.js, AWS Lambda and other runtimes with one codebase.
- 03Zero dependencies, using only Web Standard APIs.
- 04Includes built-in, custom and third-party middleware.
- 05First-class TypeScript support for routes and handlers.
Use cases
- Building APIs that deploy to edge platforms such as Cloudflare Workers.
- Writing a single web backend that must run on several JavaScript runtimes.
- Creating small, low-overhead HTTP services where bundle size matters.
Quick start
- 1
Create a new Hono project with the official scaffolding tool
npm create hono@latest
In collections
Topics
FAQ
- What is hono?
- A small, ultrafast web framework built on Web Standards that runs on Cloudflare Workers, Deno, Bun, AWS Lambda, Node.js and more. Hono is a web framework written in TypeScript that uses only Web Standard APIs, so the same application code can run on Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, AWS Lambda, Lambda@Edge and Node.js. It has no dependencies and provides a minimal routing and middleware API for handling HTTP requests.
- Is hono free to use? What license does it have?
- hono is open source under the MIT license. Check the license terms before using it in commercial products.
- Is hono still maintained?
- Actively maintained. The last commit to hono was on Oct 22, 2026.
- What can I use hono for?
- Building APIs that deploy to edge platforms such as Cloudflare Workers. Writing a single web backend that must run on several JavaScript runtimes. Creating small, low-overhead HTTP services where bundle size matters.
- How do I install hono?
- Create a new Hono project with the official scaffolding tool: npm create hono@latest
- Where can I get hono?
- The source code and installation instructions are on GitHub: https://github.com/honojs/hono
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A high-performance HTTP web framework for Go with a Martini-like API, built for REST APIs, web apps and microservices.
A lightweight, net/http-compatible router for building REST API services in Go, with middleware, route groups and sub-router mounting.
A JavaScript/Wasm server runtime built from the same code that powers Cloudflare Workers, for self-hosting and local development.
A self-hostable email service built on Cloudflare Workers, letting you create multiple mailboxes under one domain with sending, attachments and a responsive web UI.
Self-hosted team chat running on Cloudflare Workers, with realtime messaging, a two-way Telegram bridge, and server-side encrypted messages and files.