awesome-cloudflare-workers

Worker examples

A curated list of resources and projects showcasing the use cases and applications of Cloudflare Workers

😎 Awesome Cloudflare Workers

GitHub

516 stars
12 watching
17 forks
last commit: almost 3 years ago
Linked from 1 awesome list

awesome-listcloudflare-workers

Awesome Cloudflare Workers / Official

Wrangler GitHub Action 1,248 8 days ago [GitHub, deploy, Docker] - Zero-config Cloudflare Workers deployment
Official Gatsby deployment docs [GatsbyJS, deploy, article] -
Wrangler: offiical CLI tool 3,199 over 1 year ago [WASM, CLI, tool, Rust] ( ) - Available via & , can build & deploy JS, Rust, & C/C++ projects via templates
Cloudflare's Worker Forum / BBS Offical community forum
Official Documentation General docs, includes configurations, Cf KeyValue data store, and recipes
Official Blog Cloudflare's blog posts tagged 'worker'

Awesome Cloudflare Workers / Emergency-management

US COVID-19 APIs 500 over 1 year ago [REST, GraphQL, CORVID19, JS] ( ) - Scraped & hand-verifed Coronavirus data by county & states in USA
API for COVID-19 stats in India 322 almost 2 years ago [REST, health, CORVID19, JS] - Scrapes Ministry of Health and Family Welfare & unofficial sources

Awesome Cloudflare Workers / Boss

Edgesearch 498 over 2 years ago [search, WASM, Rust] - Full-text search using, WebAssembly & Roaring Bitmaps
placeholders.dev [service, REST, JS] ( ) - Generate custom SVG placeholder images
wilsonzlin/edgesearch 498 over 2 years ago [REST, service, Rust] - Full text search API using WebAssembly
Axios uses CfWorkers [article] - "gradual rollout, perform A/B testing, and perform ESI-style page-stitching"
Built with Workers Showcase [GraphQL, GatsbyJS, ReactJS, JS] ( ) - Websites & projects built with Cloudflare Workers
Hosting Static Wordpress Sites [WordPress, article, static, JS] ( ) - WP2Static, then setup Workers project

Awesome Cloudflare Workers / Article

Kristian Freeman's interview at Sanity.io [interview, video] ( ) - How Cloudflare built their showcase site for Workers on Sanity.io and Gatsby… and Workers
Use Cloudflare JS Workers to Deploy Your SSG [setup, static, NextJS, JS] - Complete tutorial: config at Cloudflare's admin dashboard to using KV to store versions
Testing Cloudflare workers [test, tool, JS] - There is no extensive tutorial on how to test Cloudflare workers, so I wrote one
Deploy a React App [ReactJS, video, JS] ( ) -
Elm CfWorkers example 4 about 3 years ago [example, Elm] - Elm on Cloudflare Workers with KV
Official Serverless Quickstart [Serverless] - Guide to use the Serverless Plugin to deploy CfWorkers
URL shortener with LavaRand 20 over 5 years ago [route, app, JS] ( ) - Url shortener built with Cloudflare Workers and LavaRand
Diving into Technical SEO [optmimize, SEO, TypeScript] - Modifying incomming & outgoing requests, inject Hreflang tags,, redirects, etc
FSharp tutorial 25 over 1 year ago [app, F#] - FSharp example: CRUD contact manager
Serverless PWA using React 85 about 2 months ago [ReactJS, JS] ( ) - Terraform deploy srcipt included
Supercharge Google Fonts [optmimize, CDN, JS] ( ) - Inlines font requests with CfWorker, then caches in browser
Cryptocurrency API Gateway 7 over 5 years ago [gatekeeper, route, TypeScript] ( ) - Mini http request routing, then gateway to multiple crypto API providers in 1 file

Awesome Cloudflare Workers / GraphQL

globally distributed Apollo GraphQL server 706 17 days ago [JS] ( ) - Debugging, CORS, REST caching
example Gatsby.js project 21 almost 2 years ago [ReactJS, JS] - Blog served via GatsbyJS/React
Hasura GraphQL Cloudflare Worker 18 almost 6 years ago [auth, JS] - Example for Facebook-based authorization and GraphQL proxy queries with Hasura
GraphQL on Edge Workers 81 about 2 months ago [video, JS] ( ) - Workers GraphQL Gateway Example

Awesome Cloudflare Workers / Local-dev

Run Cloudflare Worker scripts locally 517 almost 2 years ago [tool, JS] - Uses Docker, nice API, includes WASM build support
TypeScript Types and mocks 139 over 2 years ago [tool, template, TypeScript] - Simple example and/or starting point for a CfWorker script using TypeScript, WebPack, & Jest
cloudflare-workers-sandbox 8 over 1 year ago [tool, test, JS] - Sandbox environment suitable for running and testing your worker code locally
Serverless framework Blueprint 1 over 5 years ago [Serverless, tool, deploy, JS] - Configure your , & away
Codeship to automatically update your Cloudflare Workers 2 about 6 years ago [deploy, example, JS] - Automated Deployment

Awesome Cloudflare Workers / Localization

Serve cookie consent banner to EU visitors 15 over 4 years ago [inject, app, JS] ( ) - Banner only shows if cllient is in EU

Awesome Cloudflare Workers / Security

Generate JWTs using the WebCrypto API 95 2 months ago [JS] -
Abused CfWorker Used to Inject Korean SEO Spam [article, SEO, inject] - SEO spam showed only in Google search results
score users' new passwords with zxcvbn 154 over 2 years ago [app, REST, JS] - RESTful endpoint for sanely scoring users' new passwords & querys Troy Hunt's haveibeenpwned collection of +5.1 billion breached accounts
Set Google Analytics Client ID Cookie [article, analytics, JS] ( ) - Fool Webkit's Intelligent Tracking Prevention,  HTTP Set-Cookie /snippet/
Workaround Cloudflare's Anti-DDoS Protection 9 almost 7 years ago [tool, Rust] - Workaround Cloudflare Anti-DDoS Protection

Awesome Cloudflare Workers / Tool

Cloudflare Workers Time Tests 2 about 2 years ago [test, JS] - Example development environment with three patterns for benchmarking Cloudflare edge workers
Cloudflare Workers <3 Create React App 12 over 3 years ago [ReactJS, template, JS] -
CLI KV store tool 5 over 4 years ago [CLI, KV, JS] -
Cf-Worker-Kit 23 almost 2 years ago [template, TypeScript] - Library to make writing Cloudflare Workers way nicer
Lazy Invoice PDF generator [pdf, JS] ( ) - Simple online invoice tool
GitCF 26 over 1 year ago [route, JS] ( ) - RawGit clone on CfWorkers
cloudflare-worker-local 177 7 months ago [test, JS] - Test a Cloudflare Worker Locally
Template: TypeScript & Jest by udacity 26 over 2 years ago [template, TypeScript] - Preconfigured starter template for building a Tslint strictly linted/formatted, Jest tested, Webpack built, TypeScript
Local cloudflare-workers-kv 22 about 3 years ago [KV, local-dev, JS] - Workers KV in your local environment or within a CF Workers env. Chunks large values above 64kB
KV interactive viewer 37 over 5 years ago [CLI, JS] - Nice CLI tool to explore keys & values of a Cloudflare account
CF KV Client for .NET 10 almost 2 years ago [KV, .NET] - .NET Standard 1.4-2.0
Kv Web Explorer 21 almost 6 years ago [VueJS, KV, JS] - Vue.js SPA for viewing Cloudflare KV data
echo 87 over 6 years ago [test, TypeScript] - Echo back the request/response from worker point of view

Awesome Cloudflare Workers / Msc

various @ nchlswhttkr/workers 12 about 1 year ago [route, Slack, tool, JS] - Rush/pnpm mono repo: GoLang interpreter, newsletter, WebHooks, +
worker-haskell-template 5 almost 3 years ago [template, Haskell] - Wrangler template for a Cloudflare Workers + Haskell (Asterius) project
Assorted demos 6 almost 5 years ago [route, JS] - Checks: if bot, moble, user-country, A/B testing, etc
Google Analytics shield 32 over 4 years ago [SEO, analytics, JS] - Protect google analytics from being blocked by ad blockers
app to flip images 2 over 4 years ago [app, image, WASM, Rust] - Uses Rust's wasm-pack-template
go/WASM AMP-transformer 11 over 5 years ago [AMP, WASM, GoLang] - Go/WASM port of the AMP packager transform library
Streaming Optimizations 155 about 5 years ago [optmimize, cache, JS] - Caches 3rd party scripts & dynamic HTML, inlines Google Fonts CSS. Non-streaming blocking
simple integration to Cloudflare Workers APIs 6 over 2 years ago [tool, deploy, JS] - Deploy workers, get & remove routs, KV storage, etc
Airtable Proxy Cloudflare Worker 135 almost 2 years ago [AirTable, REST, security, JS] - Hides Airtable Base ID and API Key, Limit requests to specific methods and table, push updates via Travis-CL
hashing service 13 about 3 years ago [service, JS] - JSON responce with SHA1, SHA286, SHA384, & SHA512 hash responce
Preact Progressive Web App 63 almost 6 years ago [frontend, optmimize, Preact, JS] ( ) - Example PWA created by preact-cli
Thin wrapper for Cloudflare Workers KV 20 almost 2 years ago [KV, JS] - Get, put, & delete for Cloudflare KV
CI/CD pipeline for CfWorkers using Serverless in Azure [article, CI/CD, Serverless] - Walkthough for a code pipeline with Serverless Framework
CI/CD with Azure 0 over 6 years ago [deploy, JS] -
DNS lookup and dig app 11 over 6 years ago [app, frontend, JS] ( ) -
Awesome Service Workers 1,652 over 5 years ago [JS] - Cf Service Workers are based on browser SW

Awesome Cloudflare Workers / Also by Author

tomByrer/awesome-awesome-covid19 9 over 4 years ago meta-lists around the not-awesome 2019 novel Coronavirus

Backlinks from these awesome lists:

More related projects: