https://github.com/cloudflare/templates
Templates for Cloudflare Workers
https://github.com/cloudflare/templates
Last synced: about 1 month ago
JSON representation
Templates for Cloudflare Workers
- Host: GitHub
- URL: https://github.com/cloudflare/templates
- Owner: cloudflare
- License: mit
- Created: 2017-12-19T16:38:32.000Z (over 7 years ago)
- Default Branch: staging
- Last Pushed: 2025-05-08T18:23:27.000Z (about 2 months ago)
- Last Synced: 2025-05-08T18:40:10.570Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://workers.cloudflare.com
- Size: 8.91 MB
- Stars: 1,282
- Watchers: 53
- Forks: 734
- Open Issues: 52
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-cloudflare - Examples Collection - Collection of recipes. (Workers / Recipes)
README
# Templates for Cloudflare Workers
Cloudflare Workers let you deploy serverless code instantly across the globe for exceptional performance, reliability, and scale. This repository contains a collection of starter templates for building full-stack applications on Workers. **You are encouraged to use, modify, and extend this code!**
## Getting Started
There are two ways to start building with a template in this repository: the [Cloudflare dashboard](https://dash.cloudflare.com/) and [C3](https://developers.cloudflare.com/pages/get-started/c3/) (the `create-cloudflare` CLI).
### Starting from the Dashboard
After logging in or signing up through the [Cloudflare dashboard](https://dash.cloudflare.com/), open the [Workers templates page](https://dash.cloudflare.com/?to=/:account/workers-and-pages/templates) and select a template to get started with. From here, you can create a repository and deploy your first Worker without needing a local development environment.
### Starting via CLI
To get started locally, run one of the following commands:
```bash
npm create cloudflare@latest
# or
pnpm create cloudflare@latest
# or
yarn create cloudflare@latest
```For more information on getting started with our CLI, check out the [getting started guide](https://developers.cloudflare.com/workers/get-started/guide/).
### Additional Resources
Questions about Workers? Join the [official Cloudflare Discord](https://workers.community/) or check out the [Workers docs](https://developers.cloudflare.com/workers/)!
## Contributing
We welcome template contributions! If there's a Workers template you think would be valuable, please read our [contributing guide](./CONTRIBUTING.md) and open an issue or pull request.