> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/node.js/overview-1/hono.md).

# Hono

Small, fast web framework built on Web Standards. On Hostinger, Hono runs in server mode via the Node.js adapter.

**`app_type`:** `hono`

## Server mode

Hono is server-only on Hostinger. The project must use **`@hono/node-server`** — that's how Hostinger detects a Hono app (`hono` + `@hono/node-server` in dependencies).

### `package.json`

```json
{
  "scripts": {
    "build": "tsc",
    "start": "node dist/index.js"
  },
  "dependencies": {
    "hono": "^4.6.0",
    "@hono/node-server": "^1.13.0"
  }
}
```

### Minimal `src/index.ts`

```ts
import { serve } from '@hono/node-server';
import { Hono } from 'hono';

const app = new Hono();

app.get('/', (c) => c.text('Hello from Hostinger!'));

serve({
  fetch: app.fetch,
  port: Number(process.env.PORT ?? 3000),
});
```

### hPanel settings

| Field            | Value           |
| ---------------- | --------------- |
| Application type | `hono`          |
| Build script     | `build`         |
| Output directory | `dist`          |
| Entry file       | `dist/index.js` |

An entry file is **required** for Hono apps.

## Static mode

Not applicable. Serve static assets from your Hono app with `serveStatic` from `@hono/node-server/serve-static`.

## Notes

* Listen on `process.env.PORT` — don't hard-code a port.
* Deploying to Cloudflare Workers, Deno, or Bun targets won't run here; use the Node.js adapter entry shown above.

***

*Last updated: July 22, 2026*
