357 lines
16 KiB
HTML
357 lines
16 KiB
HTML
<h1 id="awesome-cloudflare-awesome">Awesome Cloudflare <a
|
||
href="https://awesome.re"><img src="https://awesome.re/badge-flat.svg"
|
||
alt="Awesome" /></a> <a
|
||
href="https://www.cloudflare.com"><img src="media/cf-logo.svg" width="250" align="right" alt="Cloudflare"></a></h1>
|
||
<blockquote>
|
||
<p>Curated list of awesome <a
|
||
href="https://www.cloudflare.com">Cloudflare</a> worker recipes,
|
||
open-source projects, guides, blogs and other resources.</p>
|
||
</blockquote>
|
||
<p>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.</p>
|
||
<h2 id="contents">Contents</h2>
|
||
<ul>
|
||
<li><a href="#community">Community</a></li>
|
||
<li><a href="#blog">Blog</a></li>
|
||
<li><a href="#dns">DNS</a></li>
|
||
<li><a href="#developers">Developers</a></li>
|
||
<li><a href="#apps">Apps</a>
|
||
<ul>
|
||
<li><a href="#open-source">Open Source</a></li>
|
||
</ul></li>
|
||
<li><a href="#workers">Workers</a>
|
||
<ul>
|
||
<li><a href="#reference">Reference</a></li>
|
||
<li><a href="#tools">Tools</a></li>
|
||
<li><a href="#recipes">Recipes</a></li>
|
||
</ul></li>
|
||
<li><a href="#other">Other</a></li>
|
||
</ul>
|
||
<h2 id="community">Community</h2>
|
||
<ul>
|
||
<li><a href="https://community.cloudflare.com">Forum</a></li>
|
||
<li><a href="https://www.reddit.com/r/CloudFlare">Reddit</a></li>
|
||
<li><a href="https://twitter.com/cloudflare"><code>@Cloudflare</code> on
|
||
Twitter</a></li>
|
||
<li><a href="https://www.facebook.com/Cloudflare">Facebook</a></li>
|
||
<li><a href="https://www.youtube.com/cloudflare-">YouTube</a></li>
|
||
<li><a href="https://github.com/cloudflare">GitHub</a></li>
|
||
<li><a href="https://github.com/topics/cloudflare">GitHub Topic</a></li>
|
||
<li><a href="https://stackexchange.com/search?q=cloudflare">Stack
|
||
Exchange</a></li>
|
||
<li><a
|
||
href="https://stackoverflow.com/questions/tagged/cloudflare">Stack
|
||
Overflow</a></li>
|
||
<li><a href="https://serverfault.com/questions/tagged/cloudflare">Server
|
||
Fault</a></li>
|
||
</ul>
|
||
<h2 id="blog">Blog</h2>
|
||
<ul>
|
||
<li><a href="https://blog.cloudflare.com">Official Blog</a></li>
|
||
</ul>
|
||
<h2 id="dns">DNS</h2>
|
||
<ul>
|
||
<li><a href="https://github.com/irazasyed/dns-zone-files">DNS Zone
|
||
Files</a> - Ready to import common config zone files for easy
|
||
configuration of various services.</li>
|
||
<li><a href="https://github.com/AnalogJ/lexicon">Lexicon</a> - CLI tool
|
||
to manipulate DNS records on various DNS providers in a standardized
|
||
way.</li>
|
||
<li><a
|
||
href="https://github.com/Moham3dRiahi/Th3inspector">Th3inspector</a> -
|
||
All in one CLI tool for information gathering.</li>
|
||
<li><a href="https://github.com/ZE3kr/Cloudflare-CNAME-Setup">Partner
|
||
Panel</a> - Tool for hosting partners to provide a DNS management panel
|
||
for customers.</li>
|
||
<li><a href="https://github.com/Netrvin/CFPMP">CFPMP</a> - Partner
|
||
management panel.</li>
|
||
<li><a href="https://github.com/lfaoro/flares">Flares</a> - DNS backup
|
||
tool.</li>
|
||
<li><a
|
||
href="https://github.com/SukkaW/cloudflare-block-bad-bot-ruleset">Block
|
||
Bad Bot Ruleset</a> - Collection of rulesets to block malicious crawlers
|
||
with firewall rules.</li>
|
||
<li><a href="https://github.com/oznu/docker-cloudflare-ddns">Docker
|
||
DDNS</a> - Docker image to use the free DNS Service as a dynamic DNS
|
||
provider.</li>
|
||
<li><a
|
||
href="https://github.com/joshuaavalon/SynologyCloudflareDDNS">DDNS
|
||
script for Synology</a> - DDNS script for Synology NAS.</li>
|
||
<li><a href="https://github.com/yulewang/cloudflare-api-v4-ddns">Dynamic
|
||
DNS Bash</a> - Dynamic DNS updater in bash script.</li>
|
||
<li><a href="https://github.com/lyoshenka/cloudflare-ddns">Dynamic DNS
|
||
PHP</a> - Dynamic DNS updater in PHP.</li>
|
||
<li><a href="https://github.com/adrienbrignon/cloudflare-ddns">Dynamic
|
||
DNS Python</a> - Dynamic DNS updater in python.</li>
|
||
<li><a href="https://github.com/phuslu/ddns">Multi-Provider DDNS
|
||
Script</a> - Multiple providers ddns script without dependencies.</li>
|
||
<li><a href="https://github.com/cloudflare/cloudflared">Argo Tunnel
|
||
Client</a> - CLI client for Argo tunnel, a tunneling daemon that proxies
|
||
any local webserver through the Cloudflare network.</li>
|
||
<li><a href="https://github.com/ostark/upper">Upper</a> - Speeds up
|
||
craft dramatically using a cache proxy in front of your webserver.</li>
|
||
<li><a href="https://github.com/SageHack/cloud-buster">Cloud Buster</a>
|
||
- A comprehensive pentest tool that checks sites for origin IP
|
||
leaks.</li>
|
||
<li><a href="https://github.com/danielpigott/cloudflare-cli">CLI
|
||
Tool</a> - CLI tool for interacting with Cloudflare.</li>
|
||
<li><a href="https://github.com/k4m4/cloudflare-detect">Detector</a> -
|
||
Detect whether a site is running behind Cloudflare.</li>
|
||
<li><a href="https://github.com/Anorov/cloudflare-scrape">Scrape</a> -
|
||
Python module to bypass anti-bot page.</li>
|
||
<li><a href="https://github.com/christophetd/CloudFlair">CloudFlair</a>
|
||
- Tool to find origin servers of websites protected by CloudFlare who
|
||
are publicly exposed.</li>
|
||
</ul>
|
||
<h2 id="developers">Developers</h2>
|
||
<ul>
|
||
<li><a href="https://developers.cloudflare.com">Developers Hub</a> -
|
||
Developer docs including API reference, articles, and sample code for
|
||
all products.</li>
|
||
<li><a href="https://cloudflare.github.io">Open Source</a> - Official
|
||
open-source projects.</li>
|
||
<li><a href="https://api.cloudflare.com">API Docs</a> - API
|
||
documentation.</li>
|
||
<li><a href="https://www.cloudflare.com/integrations">Integration
|
||
Resources</a> - Plugins for content management systems, control panels,
|
||
cloud providers, ecommerce platforms and more.</li>
|
||
<li><a href="https://www.cloudflare.com/technical-resources">Technical
|
||
Resources</a> - Technical tools and resources.</li>
|
||
<li><a href="https://blog.cloudflare.com/serverlist">The Serverlist
|
||
Newsletter</a> - The serverlist is a Cloudflare-curated newsletter about
|
||
all things serverless.</li>
|
||
</ul>
|
||
<h2 id="apps">Apps</h2>
|
||
<blockquote>
|
||
<p><a href="https://www.cloudflare.com/apps/developers">Cloudflare
|
||
Apps</a> lets you ship your tool or service to millions of sites. Any
|
||
Cloudflare customer can preview & install your code on their site in
|
||
seconds.</p>
|
||
</blockquote>
|
||
<ul>
|
||
<li><a href="https://www.cloudflare.com/apps">Apps Directory</a></li>
|
||
<li><a
|
||
href="https://www.cloudflare.com/apps/developer/docs/getting-started">Documentation</a></li>
|
||
<li><a href="https://www.cloudflare.com/fund">Developer Fund</a></li>
|
||
<li><a href="https://github.com/cloudflare-apps/ideas">App
|
||
Ideas</a></li>
|
||
</ul>
|
||
<h3 id="open-source">Open Source</h3>
|
||
<ul>
|
||
<li><a href="https://github.com/cloudflare-apps">Official OSS Apps</a> -
|
||
Collection of official apps.</li>
|
||
<li><a href="https://github.com/Logflare/cloudflare-app">Logflare</a> -
|
||
Log management & event analytics.</li>
|
||
<li><a href="https://github.com/hisorange/opwork">OpWork.dev</a> - Self
|
||
hosted CloudFlare workers management platform.</li>
|
||
</ul>
|
||
<h2 id="workers">Workers</h2>
|
||
<blockquote>
|
||
<p><a
|
||
href="https://www.cloudflare.com/products/cloudflare-workers">Cloudflare
|
||
Workers</a> provides a serverless execution environment that allows you
|
||
to create entirely new applications or augment existing ones without
|
||
configuring or maintaining infrastructure.</p>
|
||
</blockquote>
|
||
<h3 id="reference">Reference</h3>
|
||
<ul>
|
||
<li><a href="https://workers.cloudflare.com/docs">Documentation</a></li>
|
||
<li><a
|
||
href="https://workers.cloudflare.com/docs/tutorials">Tutorials</a></li>
|
||
<li><a
|
||
href="https://workers.cloudflare.com/docs/reference/runtime">Runtime</a></li>
|
||
<li><a
|
||
href="https://workers.cloudflare.com/docs/reference/storage">Workers
|
||
KV</a></li>
|
||
</ul>
|
||
<h3 id="tools">Tools</h3>
|
||
<ul>
|
||
<li><a href="https://github.com/cloudflare/wrangler">Wrangler</a> -
|
||
<code>wrangler</code> is a CLI tool designed for folks who are
|
||
interested in using Cloudflare workers.</li>
|
||
<li><a href="https://www.cloudflareworkers.com">Playground</a> - Simple,
|
||
instant way to preview and test code directly in the browser against any
|
||
site.</li>
|
||
<li><a
|
||
href="https://workers.cloudflare.com/docs/reference/tooling/serverless">Serverless
|
||
Plugin</a> - Plugin for <a
|
||
href="https://github.com/serverless/serverless">serverless framework</a>
|
||
to develop and deploy serverless applications using Workers.</li>
|
||
<li><a
|
||
href="https://github.com/postlight/cloudflare-worker-app-kit">Worker App
|
||
Kit</a> - Handy set of tools for creating, developing, testing, and
|
||
deploying worker app.</li>
|
||
<li><a
|
||
href="https://github.com/cpilsworth/cloudflare-worker-action">GitHub
|
||
Action</a> - Deploy a worker on push to the master branch.</li>
|
||
<li><a
|
||
href="https://github.com/jroyal/cloudflare-workers-kv-viewer">Workers KV
|
||
Viewer</a> - CLI based interactive viewer for workers KV storage.</li>
|
||
<li><a href="https://forwarding.app">Redirect Management</a> - Generate
|
||
redirect worker.</li>
|
||
</ul>
|
||
<h3 id="recipes">Recipes</h3>
|
||
<ul>
|
||
<li><a href="https://github.com/cloudflare/worker-examples">Examples
|
||
Collection</a> - Collection of recipes.</li>
|
||
<li><a href="https://github.com/cloudflare/worker-template">Hello World
|
||
JS Boilerplate</a> - Template for kick starting a worker project in
|
||
JS.</li>
|
||
<li><a
|
||
href="https://github.com/cloudflare/rustwasm-worker-template">Hello
|
||
World Rust Boilerplate</a> - Template for kick starting a worker project
|
||
using wasm-pack.</li>
|
||
<li><a
|
||
href="https://github.com/cloudflare/worker-template-router">Router</a> -
|
||
Router that can be used with REST APIs or apps for basic routing
|
||
logic.</li>
|
||
<li><a
|
||
href="https://github.com/cloudflare/worker-template-static">Static</a> -
|
||
Generate a static HTML or JSON page from raw strings in your workers
|
||
script.</li>
|
||
<li><a
|
||
href="https://github.com/cloudflare/worker-template-fetch">Fetch</a> -
|
||
Examples of making fetch requests and generating JSON post
|
||
requests.</li>
|
||
<li><a
|
||
href="https://github.com/ashleygwilliams/worker-template-requests">Incoming
|
||
Request</a> - Examples of reading in a POST request body of type JSON
|
||
and form-data.</li>
|
||
<li><a
|
||
href="https://github.com/cloudflare/worker-template-redirect">Redirect</a>
|
||
- Examples of sending single and bulk redirects from a Worker
|
||
script.</li>
|
||
<li><a href="https://github.com/xtuc/img-color-worker">Img-Color</a> -
|
||
Retrieve the dominant color of a png or jpeg image.</li>
|
||
<li><a
|
||
href="https://github.com/xtuc/binast-cf-worker-template">Binast</a> -
|
||
Serve binast via a worker.</li>
|
||
<li><a
|
||
href="https://github.com/detroitenglish/pw-pwnage-cfworker">Pwnage
|
||
Protection</a> - Secure password scoring and user pwnage protection api
|
||
- <a
|
||
href="https://community.cloudflare.com/t/estimate-strength-of-users-new-password-input-with-zxcvbn-and-query-haveibeenpwned-for-matches-against-known-hacked-accounts/26378">Usage</a>.</li>
|
||
<li><a
|
||
href="https://gist.github.com/vdbelt/20f116236d2ebffa92f131e679c0551a">Cache
|
||
Purger Proxy</a> - Proxies purge cache requests - <a
|
||
href="https://community.cloudflare.com/t/worker-recipe-cache-purge-proxy/29978">Usage</a>.</li>
|
||
<li><a href="https://github.com/berstend/service-worker-router">URL
|
||
Router</a> - Fast url router - <a
|
||
href="https://community.cloudflare.com/t/open-source-fast-url-router-for-workers-js-typescript/33406">Usage</a>.</li>
|
||
<li><a
|
||
href="https://github.com/DigitalOptimizationGroup/cloudflare-edge-proxy">Edge
|
||
Proxy</a> - Enable A/B testing, canary releasing, gatekeeping, and SEO
|
||
A/B/N testing.</li>
|
||
<li><a
|
||
href="https://github.com/DigitalOptimizationGroup/blue-green-cloudflare-workers">Blue
|
||
/ Green Deployments</a> - Working example of blue / green deployments
|
||
with canary releasing.</li>
|
||
<li><a
|
||
href="https://github.com/DigitalOptimizationGroup/cloudflare-worker-preact-pwa">Preact
|
||
PWA</a> - Preact progressive web app.</li>
|
||
<li><a href="https://github.com/Gaafar/curl-worker">CURL Interceptor</a>
|
||
- Intercepts requests from <code>curl</code> command and returns
|
||
something different.</li>
|
||
<li><a
|
||
href="https://github.com/anderly/cloudflare-worker-routing">Worker with
|
||
built-in Router</a> - Allows you to separate your worker logic into
|
||
different functions and/or controllers.</li>
|
||
<li><a
|
||
href="https://community.cloudflare.com/t/connecting-to-google-storage/32350">Connecting
|
||
to Google Storage</a> - Pull files from Google’s cloud storage.</li>
|
||
<li><a
|
||
href="https://gist.github.com/simonerni/3501b8de6320ac37398d08d9d2d08561">CSRF
|
||
Protection</a> - Protect any origin from CSRF by verifying
|
||
origin/referer headers.</li>
|
||
<li><a
|
||
href="https://community.cloudflare.com/t/parse-url-query-strings-with-cloudflare-workers/90286">URL
|
||
Query Strings Parser</a> - Parse url query strings.</li>
|
||
<li><a
|
||
href="https://community.cloudflare.com/t/perform-regex-replacements-and-inject-css-javascript-with-cloudflare-workers/90279">Regrex
|
||
Replacement and Injection</a> - Perform regex replacements and inject
|
||
CSS/JS.</li>
|
||
<li><a
|
||
href="https://github.com/detroitenglish/cloudflare-workers-webpack-boilerplate">Webpack
|
||
Boilerplate</a> - Boilerplate to build, bundle and deploy workers with
|
||
webpack.</li>
|
||
<li><a
|
||
href="https://github.com/dommmel/cloudflare-workers-basic-auth">Basic
|
||
Auth</a> - Protection using basic auth.</li>
|
||
<li><a href="https://github.com/boynet/cf-logdna-worker">Send Logs to
|
||
Logdna</a> - Simple recipe to send logs to logdna.</li>
|
||
<li><a href="https://github.com/matthewgall/beta.ipinfo.in">IP lookup
|
||
service</a> - IP lookup service using workers.</li>
|
||
<li><a
|
||
href="https://github.com/portable-cto/airtable-proxy-worker">Airtable
|
||
Proxy</a> - Allows you to make secure requests to the Airtable API from
|
||
your frontend.</li>
|
||
<li><a
|
||
href="https://github.com/udacity/cloudflare-typescript-workers">TypeScript
|
||
Workers</a> - Types and mocks for building a tested typescript
|
||
worker.</li>
|
||
<li><a
|
||
href="https://github.com/GitbookIO/proxies-on-cloudflare">Proxies</a> -
|
||
Makes it easy to build workers, by providing high-level proxying
|
||
primitives addressing common needs.</li>
|
||
<li><a href="https://github.com/manatarms/static-worker">Static
|
||
Worker</a> - Provides functions that make it easy to host a static
|
||
website.</li>
|
||
<li><a href="https://github.com/nondanee/bannero">Bannero</a> - Bannero
|
||
image API for simpledesktops.</li>
|
||
<li><a
|
||
href="https://github.com/nathanwaters/hasura-cloudflare-worker">Hasura</a>
|
||
- Example using Facebook-based authorization and graphql proxy queries
|
||
with hasura.</li>
|
||
<li><a href="https://community.cloudflare.com/t/ip-redirects/18285">IP
|
||
Redirects</a> - Redirect users based on their ip address.</li>
|
||
<li><a
|
||
href="https://github.com/vidaxl-com/cloudflare_webworkers/blob/master/examples/webp.js">Switch
|
||
Image to WebP</a> - Reroute image to webp when supported.</li>
|
||
<li><a
|
||
href="https://community.cloudflare.com/t/geographic-routing-and-load-balancing-with-cloudflare-workers/21900">Geographic
|
||
Routing and Load Balancer</a> - Geographic routing and load balancing
|
||
with workers.</li>
|
||
<li><a
|
||
href="https://community.cloudflare.com/t/strip-utm-query-string/47941">UTM
|
||
Tag Stripper</a> - Strip UTM tags in query string.</li>
|
||
<li><a
|
||
href="https://community.cloudflare.com/t/short-url-using-workers/39877">Short
|
||
URL Redirector</a> - Redirect short links.</li>
|
||
<li><a href="https://github.com/signalnerve/repo-hunt">Repo Hunt</a> -
|
||
Find cool open-source projects daily.</li>
|
||
<li><a href="https://github.com/pmeenan/cf-workers">Performance
|
||
Optimized Workers</a> - Collection of worker scripts, generally focused
|
||
on performance optimizations.</li>
|
||
<li><a href="https://github.com/HR/recaptcha-worker">Google reCAPTCHA
|
||
verification</a> - Handle the server-side verification of your reCAPTCHA
|
||
form.</li>
|
||
<li><a
|
||
href="https://github.com/kriasoft/cloudflare-starter-kit">Cloudflare
|
||
Workers Starter Kit</a> - - TypeScript template multiple CF Workers,
|
||
<code>*.env</code> files, and local testing.</li>
|
||
</ul>
|
||
<h2 id="other">Other</h2>
|
||
<ul>
|
||
<li><a href="https://support.cloudflare.com">Support</a></li>
|
||
<li><a href="https://www.cloudflarestatus.com">System Status</a></li>
|
||
<li><a href="https://www.cloudflare.com/network">Network Map</a></li>
|
||
</ul>
|
||
<h2 id="contribute">Contribute</h2>
|
||
<p>Contributions welcome! Read the <a
|
||
href="contributing.md">contribution guidelines</a> first.</p>
|
||
<h2 id="license">License</h2>
|
||
<p><a href="https://creativecommons.org/publicdomain/zero/1.0"><img
|
||
src="https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg"
|
||
alt="CC0" /></a></p>
|
||
<p>To the extent possible under law, <a
|
||
href="https://github.com/irazasyed">Irfaq Syed</a> has waived all
|
||
copyright and related or neighboring rights to this work.</p>
|
||
<blockquote>
|
||
<p>Cloudflare is a registered trademark of Cloudflare, Inc.</p>
|
||
</blockquote>
|
||
<p><a
|
||
href="https://github.com/irazasyed/awesome-cloudflare">cloudflare.md
|
||
Github</a></p>
|