# Build an HTTP server using Hono and Bun (/guides/ecosystem/hono)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 224 · updated: 2026-07-28 -->
Related: [Build an app with Astro and Bun](/guides/ecosystem/astro.md), [Create a Discord bot](/guides/ecosystem/discordjs.md), [Containerize a Bun application with Docker](/guides/ecosystem/docker.md), [Use Drizzle ORM with Bun](/guides/ecosystem/drizzle.md), [Use Gel with Bun](/guides/ecosystem/gel.md), [Build an HTTP server using Elysia and Bun](/guides/ecosystem/elysia.md)

[Hono](https://github.com/honojs/hono) is a lightweight web framework designed for the edge.

```ts icon="/icons/typescript.svg" title="server.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.

```sh icon="terminal" title="terminal" terminal
bun create hono myapp
```

```txt
✔ Which template do you want to use? › bun
cloned honojs/starter#main to /path/to/myapp
✔ Copied project files
```

```sh icon="terminal" title="terminal" terminal
cd myapp
bun install
```

***

Then start the dev server and visit [localhost:3000](http://localhost:3000).

```sh icon="terminal" title="terminal" terminal
bun run dev
```

***

Refer to Hono's [getting started with Bun](https://hono.dev/getting-started/bun) guide.
