Hono
Run Hono apps on Hostinger Node.js hosting using the @hono/node-server adapter, with package.json setup, hPanel build settings, and PORT configuration.
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
{
"scripts": {
"build": "tsc",
"start": "node dist/index.js"
},
"dependencies": {
"hono": "^4.6.0",
"@hono/node-server": "^1.13.0"
}
}Minimal src/index.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
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
Last updated
Was this helpful?