This site is not affiliated with or endorsed by Cloudflare, Inc. It simply showcases experiments built using Cloudflare services.

Cloudflare Experiments

Build at the edge. For real.

60+ deployable experiments across the Cloudflare platform - not Hello World demos.

60+
Experiments
7
Categories
15+
Cloudflare products
MIT
Open source

Philosophy

Reference implementations, not toy examples

Most Cloudflare tutorials stop at Hello World. This repo shows what you can actually build - one focused experiment per product capability, with tests, docs, and a deploy button.

Edge-first

Every experiment runs on Cloudflare Workers at the edge - low latency, global reach, no servers to manage.

Single responsibility

One experiment, one capability. Copy a focused reference instead of untangling a monolith.

Independently deployable

Each folder is self-contained with its own wrangler.json, tests, and one-click Deploy button.

Under 60 seconds

Request paths are designed to complete quickly - ideal for learning, demos, and prototyping.

Workflow

From clone to deployed Worker in four steps

Every experiment follows the same Turborepo layout. Pick one, run it locally, deploy independently, then adapt the pattern.

01

Pick an experiment

Browse by category - AI, scraping, monitoring, storage - or search docs by binding name like d1 or r2.

02

Run locally

Clone the monorepo, npm install, and npm run dev -- --filter=<name>. Wrangler serves on port 8787.

03

Deploy to Workers

Use the Deploy button in each README or wrangler deploy. Configure bindings in the Cloudflare dashboard.

04

Adapt the pattern

Fork the code into your project. Each experiment is MIT licensed - use it as a starting point, not a dependency.

Terminal
git clone https://github.com/shrinathsnayak/cloudflare-experiments.git
cd cloudflare-experiments
npm install
npm run dev -- --filter=ai-website-summary
curl "http://localhost:8787/summary?url=https://example.com"

Bindings

Search docs by binding

Use the docs search bar with tags like ai, browser, d1, r2, or do to filter experiments by Cloudflare binding.

AIBROWSERD1KVR2DOQUEUEVECTORIZECRONCACHEEMAILWORKFLOWANALYTICSRATE_LIMITER
Cloudflare features reference

Structure

Consistent experiment layout

Every Worker under apps/experiments/ uses the same folder conventions - routes, lib, types, tests, and wrangler.json.

  • apps/experiments/<name>/Standalone Worker package
  • src/routes/Hono route handlers
  • src/lib/Domain logic
  • test/Vitest smoke + unit tests
  • wrangler.jsonBindings and config

Catalog

All experiments by category

Browse the full catalog - 60+ deployable Workers organized the same way as the documentation sidebar.

Ready to build at the edge?

Pick an experiment, deploy it in minutes, and use the source as a reference for your next Cloudflare Worker. All experiments are MIT licensed.