Hono Quickstart
Get started with Runners in your Hono application with Nitro
This guide will help you set up Runners in your Hono application running on Nitro.
Installation
If you're using Playwright runners, install Playwright browsers:
Setup
Add the Runners module to your nitro.config.ts:
The Runners module will automatically:
- Discover runners from
src/**/*.tsandrunners/**/*.ts - Expose runner endpoints at
/api/runner/* - Leave your Hono routes untouched
Create Your First Runner
Create a runner file:
Your Hono App
Your Hono app continues to work normally:
Run Your Application
Start your Nitro dev server:
Test the API
Hono Routes
Runner Endpoints
View API Documentation
Open http://localhost:3000/api/runner/docs in your browser for interactive API documentation.
Configuration
Customize runner discovery and region:
Production Deployment
Vercel
Node.js
Next Steps
- Learn about Writing Runners
- Check out Deployment for production setup
- Explore API Reference for detailed API docs