Skip to content

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:

Terminal window
$ 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

Example Projects

Router

Run different logic based on the URL and request method. Use this starter to Build REST APIs or applications that require routing logic.

Terminal window
npm 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.

Terminal window
npm 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.

Terminal window
npm create cloudflare@latest my-app -- --template mhart/cf-sentry
Image Color

Retrieve the dominant color of a PNG or JPEG image.

Terminal window
npm create cloudflare@latest my-app -- --template xtuc/img-color-worker
Cloud Storage

Serve private Amazon Web Services (AWS) bucket files from a Worker script.

Terminal window
npm create cloudflare@latest my-app -- --template conzorkingkong/cloud-storage
BinAST

Serve a JavaScript Binary AST via a Cloudflare Worker.

Terminal window
npm 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.

Terminal window
npm 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.

Terminal window
npm 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.

Terminal window
npm create cloudflare@latest my-app -- --template fauna-labs/fauna-workers
Analytics Engine Forwarder

Use a Worker to capture analytics data with Analytics Engine.

Terminal window
npm create cloudflare@latest my-app -- --template cloudflare/workers-sdk/templates/worker-analytics-engine-forwarder

Frameworks

Apollo GraphQL Server

Lightning-fast, globally distributed Apollo GraphQL server, deployed on the Cloudflare global network using Cloudflare Workers.

Terminal window
npm 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.

Terminal window
npm 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.

Terminal window
npm 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.

Terminal window
npm create cloudflare@latest my-app -- --template sunderjs/sunder-worker-template

Built with Workers

Get inspiration from other sites and projects out there that were built with Cloudflare Workers.

Built with Workers