Hono on Bun is a Vercel boilerplate for deploying Hono.js HTTP applications on the Bun runtime, with one-click setup from the Vercel examples repository.
What is Hono on Bun?
This boilerplate provides a minimal starting point for building HTTP APIs with the Hono web framework and serving them on Bun through Vercel's serverless platform. It is part of the Vercel examples repository under framework-boilerplates, and a live demo is hosted at https://example-hono-bun.vercel.app/. The template includes project files that let developers use the Vercel CLI to develop locally, build, and deploy.
Key Features
- One-click deployment — A Deploy with Vercel button clones the repository example and provisions a new Vercel project without manual configuration.
- Bun runtime support — The boilerplate targets the Bun JavaScript runtime, enabling fast startup and a modern JavaScript toolchain.
- Local development workflow — Run
bun installthenvc devto serve the app locally at http://localhost:3000 with Vercel's development server. - Build and deploy commands — Use
vc buildto create a production build andvc deployto publish to Vercel directly from the CLI. - Preconfigured for Vercel CLI — Requires the Vercel CLI installed globally, with all project settings bundled in the template.
- Live example — A working deployment is hosted at example-hono-bun.vercel.app for inspecting the default output.
- Part of the Vercel examples collection — The repository holds 5,146 stars and covers many framework boilerplates, making it a trusted source for starting Vercel projects.
Who is it for?
- Backend developers — Developers who want to build serverless HTTP APIs using the Hono web framework and deploy them on Vercel with the Bun runtime.
- Bun enthusiasts — Teams evaluating Bun as a server-side JavaScript runtime can use this boilerplate to test its performance and toolchain on Vercel.
- Vercel users — Existing Vercel customers looking for a minimal template to quickly scaffold a new API service with a familiar CLI workflow.
What can you do with Hono on Bun?
- Indie developers: Scaffold a new REST API backend in seconds using the Vercel deployment button and iterate with local development via
vc dev. - Prototyping teams: Deploy a proof-of-concept Hono server to a live HTTPS URL (like the example) to share with stakeholders without managing infrastructure.
- Learning Bun: Experiment with Bun's runtime behavior while using Hono's routing and middleware through a preconfigured project that runs on Vercel's platform.








