Getting Started
Hono API Servers
Documentation
Hono support lets you run a pattern's server logic outside its Next.js app. The pattern preview stays in Next.js, while the export becomes a standalone, API-only Hono service that any frontend can call over HTTP.
What you get
A Hono export contains:
- the pattern's AI and API route logic
- a generated Hono entry point that mounts the exported routes
- exact runtime dependencies and TypeScript configuration
- an
.env.examplewith pattern and server settings - a pattern-specific README with routes and security declarations
- a
/healthzendpoint
It does not contain the React UI, Next.js application shell, preview proxy, or product entitlement middleware.
Choose an export
| Goal | Choose |
|---|---|
| Run the complete pattern UI and server together | Download → Next.js app |
| Run the pattern API as a separate service | Download → Hono API server |
| Give an AI coding tool the Hono server source | Copy skill files → Hono API server |
| Add the pattern to an existing Next.js app | Install with shadcn CLI |
Hono means Hono on Node.js. Generated servers require Node.js >=24. The
current export does not claim compatibility with Cloudflare Workers, Bun, Deno,
or other edge runtimes.
Quick start
- Open a pattern that offers a Hono export.
- Choose Download → Hono API server.
- Extract the archive and create
.envfrom.env.example. - Install, typecheck, and start the service:
pnpm install
pnpm typecheck
pnpm devThe default server address is http://127.0.0.1:3001. Check the generated
README for the pattern's exact API routes, required environment variables, and
security declarations.
Continue
- Export a pattern to understand the download and copy formats.
- Connect a frontend with AI SDK or a plain HTTP client.
- Deploy the server with production CORS and security controls.
- Review compatibility and limitations before changing runtimes.
- Use the troubleshooting guide when requests or streams fail.
Join The Beta
Copy and Paste 120+
ai sdk patterns.
ai sdk patterns.
Get early access pricing and shape the future of the product.
Go to pricing