Curated list of awesome Cloudflare worker recipes, open-source projects, guides, blogs and other resources.
Cloudflare provides content delivery network (CDN) services, DDoS mitigation, Internet security and distributed domain name server (DNS) services, sitting between the visitor and the Cloudflare user's hosting provider, acting as a reverse proxy for websites.
- GitHub Topic
- Stack Exchange
- Stack Overflow
- Server Fault
- DNS Zone Files - Ready to import common config zone files for easy configuration of various services.
- Lexicon - CLI tool to manipulate DNS records on various DNS providers in a standardized way.
- Th3inspector - All in one CLI tool for information gathering.
- Partner Panel - Tool for hosting partners to provide a DNS management panel for customers.
- CFPMP - Partner management panel.
- Flares - DNS backup tool.
- Block Bad Bot Ruleset - Collection of rulesets to block malicious crawlers with firewall rules.
- Docker DDNS - Docker image to use the free DNS Service as a dynamic DNS provider.
- DDNS script for Synology - DDNS script for Synology NAS.
- Dynamic DNS Bash - Dynamic DNS updater in bash script.
- Dynamic DNS PHP - Dynamic DNS updater in PHP.
- Dynamic DNS Python - Dynamic DNS updater in python.
- Multi-Provider DDNS Script - Multiple providers ddns script without dependencies.
- Argo Tunnel Client - CLI client for Argo tunnel, a tunneling daemon that proxies any local webserver through the Cloudflare network.
- Upper - Speeds up craft dramatically using a cache proxy in front of your webserver.
- Cloud Buster - A comprehensive pentest tool that checks sites for origin IP leaks.
- CLI Tool - CLI tool for interacting with Cloudflare.
- Detector - Detect whether a site is running behind Cloudflare.
- Scrape - Python module to bypass anti-bot page.
- CloudFlair - Tool to find origin servers of websites protected by CloudFlare who are publicly exposed.
- Developers Hub - Developer docs including API reference, articles, and sample code for all products.
- Open Source - Official open-source projects.
- API Docs - API documentation.
- Integration Resources - Plugins for content management systems, control panels, cloud providers, ecommerce platforms and more.
- Technical Resources - Technical tools and resources.
- The Serverlist Newsletter - The serverlist is a Cloudflare-curated newsletter about all things serverless.
Cloudflare Apps lets you ship your tool or service to millions of sites. Any Cloudflare customer can preview & install your code on their site in seconds.
Cloudflare Workers provides a serverless execution environment that allows you to create entirely new applications or augment existing ones without configuring or maintaining infrastructure.
- Wrangler -
wrangleris a CLI tool designed for folks who are interested in using Cloudflare workers.
- Playground - Simple, instant way to preview and test code directly in the browser against any site.
- Serverless Plugin - Plugin for serverless framework to develop and deploy serverless applications using Workers.
- Worker App Kit - Handy set of tools for creating, developing, testing, and deploying worker app.
- GitHub Action - Deploy a worker on push to the master branch.
- Workers KV Viewer - CLI based interactive viewer for workers KV storage.
- Redirect Management - Generate redirect worker.
- Examples Collection - Collection of recipes.
- Hello World JS Boilerplate - Template for kick starting a worker project in JS.
- Hello World Rust Boilerplate - Template for kick starting a worker project using wasm-pack.
- Router - Router that can be used with REST APIs or apps for basic routing logic.
- Static - Generate a static HTML or JSON page from raw strings in your workers script.
- Fetch - Examples of making fetch requests and generating JSON post requests.
- Incoming Request - Examples of reading in a POST request body of type JSON and form-data.
- Redirect - Examples of sending single and bulk redirects from a Worker script.
- Img-Color - Retrieve the dominant color of a png or jpeg image.
- Binast - Serve binast via a worker.
- Pwnage Protection - Secure password scoring and user pwnage protection api - Usage.
- Cache Purger Proxy - Proxies purge cache requests - Usage.
- URL Router - Fast url router - Usage.
- Edge Proxy - Enable A/B testing, canary releasing, gatekeeping, and SEO A/B/N testing.
- Blue / Green Deployments - Working example of blue / green deployments with canary releasing.
- Preact PWA - Preact progressive web app.
- CURL Interceptor - Intercepts requests from
curlcommand and returns something different.
- Worker with built-in Router - Allows you to separate your worker logic into different functions and/or controllers.
- Connecting to Google Storage - Pull files from Google's cloud storage.
- CSRF Protection - Protect any origin from CSRF by verifying origin/referer headers.
- URL Query Strings Parser - Parse url query strings.
- Regrex Replacement and Injection - Perform regex replacements and inject CSS/JS.
- Webpack Boilerplate - Boilerplate to build, bundle and deploy workers with webpack.
- Basic Auth - Protection using basic auth.
- Send Logs to Logdna - Simple recipe to send logs to logdna.
- IP lookup service - IP lookup service using workers.
- Airtable Proxy - Allows you to make secure requests to the Airtable API from your frontend.
- TypeScript Workers - Types and mocks for building a tested typescript worker.
- Proxies - Makes it easy to build workers, by providing high-level proxying primitives addressing common needs.
- Static Worker - Provides functions that make it easy to host a static website.
- Bannero - Bannero image API for simpledesktops.
- Hasura - Example using Facebook-based authorization and graphql proxy queries with hasura.
- IP Redirects - Redirect users based on their ip address.
- Switch Image to WebP - Reroute image to webp when supported.
- Geographic Routing and Load Balancer - Geographic routing and load balancing with workers.
- UTM Tag Stripper - Strip UTM tags in query string.
- Short URL Redirector - Redirect short links.
- Repo Hunt - Find cool open-source projects daily.
- Performance Optimized Workers - Collection of worker scripts, generally focused on performance optimizations.
Contributions welcome! Read the contribution guidelines first.
To the extent possible under law, Irfaq Syed has waived all copyright and related or neighboring rights to this work.
Cloudflare is a registered trademark of Cloudflare, Inc.