Quickstarts
Quickstarts are GitHub repositories that are designed to be a starting point for building a new Cloudflare Workers project. To start any of the projects below, run:
$ npm create cloudflare@latest <NEW_PROJECT_NAME> -- --template <GITHUB_REPO_URL>
-
new-project-name
- A folder with this name will be created with your new project inside, pre-configured to your Workers account.
-
template
- This is the URL of the GitHub repo starter, as below. Refer to the create-cloudflare documentation for a full list of possible values.
Router
Run different logic based on the URL and request method. Use this starter to Build REST APIs or applications that require routing logic.
npm create cloudflare@latest my-app -- --template cloudflare/workers-sdk/templates/worker-router
yarn create cloudflare@latest my-app --template cloudflare/workers-sdk/templates/worker-router
pnpm create cloudflare@latest my-app --template cloudflare/workers-sdk/templates/worker-router
Speedtest
Measure download/upload connection speed from the client side, using the Performance Timing API.
npm create cloudflare@latest my-app -- --template cloudflare/workers-sdk/templates/worker-speedtest
yarn create cloudflare@latest my-app --template cloudflare/workers-sdk/templates/worker-speedtest
pnpm create cloudflare@latest my-app --template cloudflare/workers-sdk/templates/worker-speedtest
Sentry
Log exceptions and errors in your Workers application to Sentry.io - an error tracking tool.
npm create cloudflare@latest my-app -- --template mhart/cf-sentry
yarn create cloudflare@latest my-app --template mhart/cf-sentry
pnpm create cloudflare@latest my-app --template mhart/cf-sentry
Image Color
Retrieve the dominant color of a PNG or JPEG image.
npm create cloudflare@latest my-app -- --template xtuc/img-color-worker
yarn create cloudflare@latest my-app --template xtuc/img-color-worker
pnpm create cloudflare@latest my-app --template xtuc/img-color-worker
Cloud Storage
Serve private Amazon Web Services (AWS) bucket files from a Worker script.
npm create cloudflare@latest my-app -- --template conzorkingkong/cloud-storage
yarn create cloudflare@latest my-app --template conzorkingkong/cloud-storage
pnpm create cloudflare@latest my-app --template conzorkingkong/cloud-storage
BinAST
Serve a JavaScript Binary AST via a Cloudflare Worker.
npm create cloudflare@latest my-app -- --template xtuc/binast-cf-worker-template
yarn create cloudflare@latest my-app --template xtuc/binast-cf-worker-template
pnpm create cloudflare@latest my-app --template xtuc/binast-cf-worker-template
AWS DynamoDB SQS
Use AWS services such as DynamoDB and SQS from a Cloudflare Worker.
npm create cloudflare@latest my-app -- --template cloudflare/workers-sdk/templates/worker-aws
yarn create cloudflare@latest my-app --template cloudflare/workers-sdk/templates/worker-aws
pnpm create cloudflare@latest my-app --template cloudflare/workers-sdk/templates/worker-aws
Edge-Side Rendering
Use Vite to render pages on Cloudflare's global network with great DX. Includes i18n, markdown support and more.
npm create cloudflare@latest my-app -- --template frandiox/vitessedge-template
yarn create cloudflare@latest my-app --template frandiox/vitessedge-template
pnpm create cloudflare@latest my-app --template frandiox/vitessedge-template
REST API with Fauna
Build a fast, globally distributed REST API using Cloudflare Workers and Fauna, the data API for modern applications.
npm create cloudflare@latest my-app -- --template fauna-labs/fauna-workers
yarn create cloudflare@latest my-app --template fauna-labs/fauna-workers
pnpm create cloudflare@latest my-app --template fauna-labs/fauna-workers
Analytics Engine Forwarder
Use a Worker to capture analytics data with Analytics Engine.
npm create cloudflare@latest my-app -- --template cloudflare/workers-sdk/templates/worker-analytics-engine-forwarder
yarn create cloudflare@latest my-app --template cloudflare/workers-sdk/templates/worker-analytics-engine-forwarder
pnpm create cloudflare@latest my-app --template cloudflare/workers-sdk/templates/worker-analytics-engine-forwarder
Apollo GraphQL Server
Lightning-fast, globally distributed Apollo GraphQL server, deployed on the Cloudflare global network using Cloudflare Workers.
npm create cloudflare@latest my-app -- --template cloudflare/workers-graphql-server
yarn create cloudflare@latest my-app --template cloudflare/workers-graphql-server
pnpm create cloudflare@latest my-app --template cloudflare/workers-graphql-server
GraphQL Yoga
The most flexible, fastest, and lightest GraphQL server for all environments, Cloudflare Workers included.
npm create cloudflare@latest my-app -- --template the-guild-org/yoga-cloudflare-workers-template
yarn create cloudflare@latest my-app --template the-guild-org/yoga-cloudflare-workers-template
pnpm create cloudflare@latest my-app --template the-guild-org/yoga-cloudflare-workers-template
Flareact
Flareact is an edge-rendered React framework built for Cloudflare Workers. It features file-based page routing with dynamic page paths and edge-side data fetching APIs.
npm create cloudflare@latest my-app -- --template flareact/flareact
yarn create cloudflare@latest my-app --template flareact/flareact
pnpm create cloudflare@latest my-app --template flareact/flareact
Sunder
Sunder is a minimal and unopinionated framework for Service Workers. This template uses Sunder, TypeScript, Miniflare, esbuild, Jest, and Sass, as well as Workers Sites for static assets.
npm create cloudflare@latest my-app -- --template sunderjs/sunder-worker-template
yarn create cloudflare@latest my-app --template sunderjs/sunder-worker-template
pnpm create cloudflare@latest my-app --template sunderjs/sunder-worker-template
Get inspiration from other sites and projects out there that were built with Cloudflare Workers.
Built with Workers