Deploy Hono with Codex

Install one skill, and Codex can create the project, set your variables and put your Hono app online. It costs $0, with no credit card.

Last updated November 25, 2026

Install the skill

Run this in your project and choose Local or Global.

npx ezhst skill install

Run Codex in your project folder with network access enabled, because ezhst must reach the Reverhost API.

If Codex does not discover the skill, ask it to read the installed SKILL.md or skill.md first.

Tell Codex to deploy

Prompt
Deploy this Hono app to Reverhost. Read the Reverhost skill first. Report the live URL when it is running.

What the agent runs

npx ezhst projects create my-project --link
npx ezhst apps create my-app
npx ezhst link --project <project-slug> --app <app-slug>
npx ezhst build dockerfile set -f Dockerfile
npx ezhst env import .env
npx ezhst deploy

The agent saves a Dockerfile based on the Node.js template, with npm start as the start command:

Dockerfile
FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN --mount=type=secret,id=appenv,target=/run/secrets/appenv sh -c 'set -a; . /run/secrets/appenv; set +a; npm run build --if-present'
ENV NODE_ENV=production PORT=3000
EXPOSE 3000
CMD ["npm", "start"]

Hono details to check

The Node.js template works as is. Use the @hono/node-server adapter so Hono runs as a Node.js server, or start from the Bun template to run it on Bun.

Bindings from Cloudflare Workers, such as KV or D1, do not exist here. Use process.env, the Postgres database and the S3 bucket.

If the deploy fails

The agent should read the build log, fix the cause and deploy again. You can run the same commands yourself.

npx ezhst deployments log --json
npx ezhst logs --tail 200 --json

If the build passes but nothing loads, see why a Hono app is unreachable. See the Hono hub for every Hono guide, or free Hono hosting for what is included.

Frequently asked questions

Can Codex create a Reverhost account for me?

Yes. The skill tells the agent to ask for your name, email and password and then register. You then give the agent the 6-digit verification code from your inbox, and it runs ezhst verify <code> before anything else.

Will Codex see my secrets?

The agent can read files and command output in its session. The skill tells it to put secrets in env vars and not to print them back unless you ask.

Start for free

Install the skill, choose Global or Local, then tell your agent to deploy. No credit card, no config files.

$npx ezhst skill install