How it works
Rebasable detects Bun from bun.lock, installs with bun install --frozen-lockfile and starts bun src/index.ts; Bun runs TypeScript directly, so there is no build step. The default export gives Bun the port (PORT) and the Hono fetch handler.
Run it locally
bun install
bun run dev # http://localhost:3000
Use it as your own repository
Copy the bun-hono folder of the templates repository into a new repo (the files at the root, rebasable.yaml included) and push it. Then add a Deploy button to its README, or create it from Blueprints, New blueprint in the dashboard. From then on, every push deploys, and pull requests get preview environments.
Good to know
- Hono also runs on Node: switch to
runtime: nodeand use@hono/node-server. - Bun’s built-in SQLite needs a persistent disk: add
disk:with amountPathand put the database file there.