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

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

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

```ts server.ts icon="/icons/typescript.svg"
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 terminal icon="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 terminal icon="terminal"
cd myapp
bun install
```

***

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

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

***

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