Skip to main content
Hono is a lightweight ultrafast web framework designed for the edge.
https://mintcdn.com/bun-1dd33a4e-claude-docs-bunfig-missing-fields/ezY9cqHIbAlx71jp/icons/typescript.svg?fit=max&auto=format&n=ezY9cqHIbAlx71jp&q=85&s=fa9c9d5f512d0d81ae41ed65741d389aserver.ts
import { Hono } from "hono";
const app = new Hono();

app.get("/", c => c.text("Hono!"));

export default app;

Use create-hono to get started with one of Hono’s project templates. Select bun when prompted for a template.
terminal
bun create hono myapp
✔ Which template do you want to use? › bun
cloned honojs/starter#main to /path/to/myapp
✔ Copied project files
terminal
cd myapp
bun install

Then start the dev server and visit localhost:3000.
terminal
bun run dev

Refer to Hono’s guide on getting started with Bun for more information.