This site is not affiliated with or endorsed by Cloudflare, Inc. It showcases deployable experiments across most Cloudflare products.
106 experimentsSee what's new

Cloudflare Experiments

Build at the edge. For real.

106 deployable reference implementations across Cloudflare products - real tools with tests, API docs, and a one-click Deploy button. Not Hello World demos.

  • MIT licensed
  • 106 experiments
  • 17 Cloudflare bindings
  • 8 categories

Start here

Featured experiments

Useful on day one and easy to demo. Each has full API docs and a one-click Deploy to your Cloudflare account.

All experiments

PNG screenshot of any URL from headless Chrome at the edge

BROWSER
API docsDeploy

Summarize any webpage with a Workers AI model

AI
API docsDeploy

Check whether a site is reachable from Cloudflare's network

Zero bindings
API docsDeploy

Geolocation, colo, ASN, and timezone from request.cf

Zero bindings
API docsDeploy

Workers AI decision probabilities with Clef models

AI
API docsDeploy

Web Search API through AI Gateway

Zero bindings
API docsDeploy

Query Cloudflare Radar for domain or ASN facts

Zero bindings
API docsDeploy

Post-quantum ML-KEM-768 key encapsulation

Zero bindings
API docsDeploy

Workflow

From clone to deployed Worker in four steps

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

Quick start guide
  1. 01

    Pick an experiment

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

  2. 02

    Run locally

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

  3. 03

    Deploy to Workers

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

  4. 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"

Philosophy

Reference implementations, not toy examples

One focused experiment per product capability, with tests, docs, and a Deploy button.

Read the philosophy

Product-focused

Each experiment maps to a Cloudflare product or platform capability - AI, storage, networking, security, email, media, and more - not Workers alone. Examples typically deploy as Workers that wire those products at the edge.

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.

Ready to build at the edge?

Pick one of 106 experiments, deploy it in minutes, and use the source as a reference for your next Cloudflare product build. Everything is MIT licensed.