Skip to content
Cloudflare Docs

Workers Templates

This component pulls in top-level folders from the cloudflare/templates repository and uses information from the package.json (such as description) to provide additional information.

astro-blog-starter-template

Deploy to Cloudflare

Build a personal website, blog, or portfolio with Astro.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/astro-blog-starter-template



cli

Deploy to Cloudflare

A handy CLI for developing templates.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/cli



d1-starter-sessions-api-template

Deploy to Cloudflare

D1 starter template using the Sessions API for read replication.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/d1-starter-sessions-api-template



d1-template

Deploy to Cloudflare

Cloudflare's native serverless SQL database.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/d1-template



durable-chat-template

Deploy to Cloudflare

Chat with other users in real-time using Durable Objects and PartyKit.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/durable-chat-template



hello-world-do-template

Deploy to Cloudflare

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/hello-world-do-template



llm-chat-app

Deploy to Cloudflare

A simple chat application powered by Cloudflare Workers AI

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/llm-chat-app



multiplayer-globe-template

Deploy to Cloudflare

Display website visitor locations in real-time using Durable Objects and PartyKit.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/multiplayer-globe-template



mysql-hyperdrive-template

Deploy to Cloudflare

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/mysql-hyperdrive-template



next-starter-template

Deploy to Cloudflare

Build a full-stack web application with Next.js.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/next-starter-template



openauth-template

Deploy to Cloudflare

Deploy an OpenAuth server on Cloudflare Workers.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/openauth-template



postgres-hyperdrive-template

Deploy to Cloudflare

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/postgres-hyperdrive-template



react-postgres-fullstack-template

Deploy to Cloudflare

Deploy your own library of books using Postgres and Workers.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/react-postgres-fullstack-template



react-router-postgres-ssr-template

Deploy to Cloudflare

Deploy your own library of books using Postgres and Workers.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/react-router-postgres-ssr-template



react-router-starter-template

Deploy to Cloudflare

Build a full-stack web application with React Router 7.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/react-router-starter-template



remix-starter-template

Deploy to Cloudflare

Build a full-stack web application with Remix.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/remix-starter-template



saas-admin-template

Deploy to Cloudflare

Admin dashboard template built with Astro, shadcn/ui, and Cloudflare's developer stack

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/saas-admin-template



text-to-image-template

Deploy to Cloudflare

Generate images based on text prompts.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/text-to-image-template



to-do-list-kv-template

Deploy to Cloudflare

A simple to-do list app built with Cloudflare Workers Assets and Remix.

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/to-do-list-kv-template



vite-react-template

Deploy to Cloudflare

A template for building a React application with Vite, Hono, and Cloudflare Workers

Explore on GitHub ↗

Terminal window
npm create cloudflare@latest -- --template=cloudflare/templates/vite-react-template



import { WorkersTemplates } from "~/components";
<WorkersTemplates />