hono · Hono Docs
Getting Started Cloudflare Workers
Teaches how to set up, develop locally, run, and deploy a Hono application on the Cloudflare Workers runtime, including configuring ports, serving static files, and integrating with other event handlers.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Getting Started Cloudflare Workers
Teaches how to set up, develop locally, run, and deploy a Hono application on the Cloudflare Workers runtime, including configuring ports, serving static files, and integrating with other event handlers.
When To Use
Use when you need to initialize a Hono project for Cloudflare Workers, configure local development environments with Wrangler, or deploy a Hono application to the Cloudflare edge runtime.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/getting-started-cloudflare-workers-workflow-guide.md | A guide covering the setup, hello world implementation, and local execution of a Hono application on the Cloudflare Workers runtime. | Questions about a guide covering the setup, hello world implementation, and local execution of a Hono application on the Cloudflare W... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-npm-create-co.sh | A shell command to initialize a new Hono application specifically for the Cloudflare Workers environment using npm. | Exact payloads, commands, or snippets shown in A shell command to initialize a new Hono application specifically for the Cloudflare Workers environment using npm. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-create-app-co.sh | A shell command to scaffold a new Hono application specifically for the Cloudflare Workers environment using yarn. | Exact payloads, commands, or snippets shown in A shell command to scaffold a new Hono application specifically for the Cloudflare Workers environment using yarn. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-pnpm-create-c.sh | A shell command to initialize a new Hono application targeting Cloudflare Workers using pnpm. | Exact payloads, commands, or snippets shown in A shell command to initialize a new Hono application targeting Cloudflare Workers using pnpm. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-bun-create-co.sh | A shell command to initialize a new Hono application for Cloudflare Workers using the Bun CLI. | Exact payloads, commands, or snippets shown in A shell command to initialize a new Hono application for Cloudflare Workers using the Bun CLI. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-deno-init-com.sh | A shell command to initialize a new Hono application for Cloudflare Workers using Deno. | Exact payloads, commands, or snippets shown in A shell command to initialize a new Hono application for Cloudflare Workers using Deno. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command.sh | Shell commands to initialize a new Hono project and install dependencies for Cloudflare Workers. | Exact payloads, commands, or snippets shown in Shell commands to initialize a new Hono project and install dependencies for Cloudflare Workers. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-getting-start.sh | Shell commands for initializing and navigating a new Hono project on Cloudflare Workers. | Exact payloads, commands, or snippets shown in Shell commands for initializing and navigating a new Hono project on Cloudflare Workers. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-2.sh | Shell commands to initialize a new Hono project and install dependencies for Cloudflare Workers. | Exact payloads, commands, or snippets shown in Shell commands to initialize a new Hono project and install dependencies for Cloudflare Workers. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-3.sh | Shell commands to initialize a new Hono application and install dependencies for a Cloudflare Workers environment. | Exact payloads, commands, or snippets shown in Shell commands to initialize a new Hono application and install dependencies for a Cloudflare Workers environment. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-typescript-qu.ts | A TypeScript example demonstrating how to initialize a Hono application for deployment on Cloudflare Workers. | Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize a Hono application for deployment on Cloudflare Workers. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-dev-command.sh | A shell command example demonstrating how to run the Hono development server on Cloudflare Workers using npm. | Exact payloads, commands, or snippets shown in A shell command example demonstrating how to run the Hono development server on Cloudflare Workers using npm. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-yarn-dev-comm.sh | A shell command used to start the local development server for a Hono application running on Cloudflare Workers using yarn. | Exact payloads, commands, or snippets shown in A shell command used to start the local development server for a Hono application running on Cloudflare Workers using... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-pnpm-dev-comm.sh | A shell command demonstrating how to start the development server for a Hono application on Cloudflare Workers using pnpm. | Exact payloads, commands, or snippets shown in A shell command demonstrating how to start the development server for a Hono application on Cloudflare Workers using... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-bun-dev-comma.sh | A shell command used to run the Hono development server on Cloudflare Workers using Bun. | Exact payloads, commands, or snippets shown in A shell command used to run the Hono development server on Cloudflare Workers using Bun. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-deploy-comman.sh | A shell command used to deploy a Hono application to Cloudflare Workers using npm. | Exact payloads, commands, or snippets shown in A shell command used to deploy a Hono application to Cloudflare Workers using npm. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-deploy-comman-2.sh | A shell command demonstrating how to deploy a Hono application to Cloudflare Workers using yarn. | Exact payloads, commands, or snippets shown in A shell command demonstrating how to deploy a Hono application to Cloudflare Workers using yarn. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-deploy-comman-3.sh | A shell command used to deploy a Hono application to Cloudflare Workers using pnpm. | Exact payloads, commands, or snippets shown in A shell command used to deploy a Hono application to Cloudflare Workers using pnpm. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-bun-deploy-co.sh | A shell command used to deploy a Hono application to Cloudflare Workers using Bun. | Exact payloads, commands, or snippets shown in A shell command used to deploy a Hono application to Cloudflare Workers using Bun. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-ts-quickstart.ts | A TypeScript example demonstrating how to initialize a Hono application and export it for use with Cloudflare Workers fetch and scheduled handlers. | Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize a Hono application and export it for use with Cloudflare Workers... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-wrangler-toml.toml | A wrangler.toml configuration file for deploying a Hono application to Cloudflare Workers with static assets enabled. | Exact payloads, commands, or snippets shown in A wrangler.toml configuration file for deploying a Hono application to Cloudflare Workers with static assets enabled. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-getting-start.text | A directory tree structure showing the file organization for a Hono application deployed on Cloudflare Workers, including package.json, wrangler.toml, and source files. | Exact payloads, commands, or snippets shown in A directory tree structure showing the file organization for a Hono application deployed on Cloudflare Workers, inclu... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-4.sh | Shell commands to install the necessary Cloudflare Workers type definitions for a Hono project. | Exact payloads, commands, or snippets shown in Shell commands to install the necessary Cloudflare Workers type definitions for a Hono project. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-5.sh | The shell command to install Cloudflare Workers type definitions as a development dependency using yarn. | Exact payloads, commands, or snippets shown in The shell command to install Cloudflare Workers type definitions as a development dependency using yarn. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-6.sh | The shell command to add Cloudflare Workers types as a development dependency using pnpm. | Exact payloads, commands, or snippets shown in The shell command to add Cloudflare Workers types as a development dependency using pnpm. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-setup-command-7.sh | The shell command to add Cloudflare Workers types as a development dependency using bun. | Exact payloads, commands, or snippets shown in The shell command to add Cloudflare Workers types as a development dependency using bun. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-typescript-qu-2.ts | A TypeScript example demonstrating how to initialize a Hono application for deployment on Cloudflare Workers. | Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to initialize a Hono application for deployment on Cloudflare Workers. |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-vitest-test.ts | A TypeScript test suite using Vitest to verify a Hono application running on Cloudflare Workers returns a 200 status code. | Exact payloads, commands, or snippets shown in A TypeScript test suite using Vitest to verify a Hono application running on Cloudflare Workers returns a 200 status... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-bindings.ts | A TypeScript example demonstrating how to access Cloudflare Workers environment bindings like R2 buckets within a Hono application. | Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to access Cloudflare Workers environment bindings like R2 buckets within a Hon... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-basic-auth-se.ts | A TypeScript example demonstrating how to implement basic authentication middleware using Hono bindings on Cloudflare Workers. | Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to implement basic authentication middleware using Hono bindings on Cloudflare... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-github-action.yml | A GitHub Actions workflow configuration file for deploying a Hono application to Cloudflare Workers using the wrangler-action. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration file for deploying a Hono application to Cloudflare Workers using the wrangle... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-wrangler-toml-2.toml | A wrangler.toml configuration file specifying the main entry point and minification settings for a Hono application running on Cloudflare Workers. | Exact payloads, commands, or snippets shown in A wrangler.toml configuration file specifying the main entry point and minification settings for a Hono application r... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-environment-v.text | A text file demonstrating how to configure environment variables like SECRET_KEY and APITOKEN for a Hono application running on Cloudflare Workers. | Exact payloads, commands, or snippets shown in A text file demonstrating how to configure environment variables like SECRETKEY and APITOKEN for a Hono application r... |
examples/getting-started-cloudflare-workers-hono-cloudflare-workers-env-bindings-.ts | A TypeScript example demonstrating how to define and access environment bindings within a Hono application running on Cloudflare Workers. | Exact payloads, commands, or snippets shown in A TypeScript example demonstrating how to define and access environment bindings within a Hono application running on... |
What This Skill Covers
- Cloudflare Workers is a JavaScript edge runtime on Cloudflare CDN.
- Main sections:
1. Setup,2. Hello World,3. Run,Change port number,4. Deploy.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://hono.dev/docs/getting-started/cloudflare-workers