What problem does it solve?
Setting up a correct, deployable Cloudflare Worker project with Hono, Vite, and Static Assets is easy to get wrong—especially around export formats, SPA fallbacks intercepting API routes, and deployment/bundling quirks.
Core Features & Use Cases
- Scaffold a working Worker: Generates a complete project layout with Hono routing, Vite-based dev workflow, and Static Assets integration suitable for SPA + API setups.
- Configure Cloudflare bindings: Helps you structure
wrangler.jsonc for D1, R2, KV, and environment variables so your Worker can persist data and serve assets reliably.
- Deploy with guardrails: Provides the correct deploy/dev commands and highlights common failure modes like export syntax errors, static assets routing conflicts, and HMR race conditions.
- Troubleshoot deterministically: Guides fixes for issues such as “Cannot read properties of undefined”, API routes returning HTML, scheduled handler export problems, and unstable CI asset uploads.
Quick Start
Request: "Scaffold a TypeScript Cloudflare Worker using Hono with an API under /api/*, serve a SPA from static assets, and include a D1 database binding named DB for production deployment."