Skip to content

peterp/awesome-cloudflare

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Awesome Cloudflare Awesome

Cloudflare logo

A curated list of awesome resources, tools, frameworks, and articles for the Cloudflare Developer Platform. Covers Workers, KV, R2, D1, Pages, Durable Objects, AI, and more.

Contents


Official Resources


Core Platform & SDKs

Official SDKs

  • ⭐ cloudflare-go - Official Go library for the Cloudflare API with typed request/response objects and middleware support.
  • πŸš€ cloudflare-typescript - Official TypeScript library providing type-safe access to Cloudflare's REST API.
  • πŸš€ cloudflare-python - Official Python SDK with sync/async support, Pydantic models, and comprehensive type safety.

Runtime & Core Tools

  • ⭐ Workerd Runtime - Cloudflare's open-source runtime for Workers, enabling Workers-compatible environments outside Cloudflare.
  • Wrangler CLI - The official CLI for building, previewing, and deploying Cloudflare Workers.
  • πŸ“¦ Miniflare - Fully local Cloudflare Workers simulator supporting D1, R2, KV, Durable Objects, and more. (archived, now part of workers-sdk)

Frameworks & Libraries

Web Frameworks

  • ⭐ Hono - Ultra-fast web framework for Cloudflare Workers and other runtimes, using a high-performance Trie router.
  • ⭐ Workers GraphQL Server - Apollo GraphQL server optimized for Workers with KV caching and TypeScript support.
  • ⭐ itty-router - Lightweight, zero-dependency router optimized for Cloudflare Workers.
  • ⭐ PartyKit - Framework for real-time apps and multiplayer experiences on Workers using Durable Objects.

Language Support

  • ⭐ Workers RS (Rust) - Write Cloudflare Workers in pure Rust compiled to WebAssembly for edge deployment.
  • Boring - BoringSSL bindings for Rust with TLS adapters for tokio and hyper.
  • Serverless Cloudflare Workers - Serverless Framework plugin for Cloudflare Workers with webpack bundling, KV storage, and WASM support.
  • πŸš€ Workers Py (Python) - Experimental project enabling Python support for Workers via Pyodide.

Utilities & Processing

  • ⭐ LOL HTML - Low-latency streaming HTML rewriter in Rust with CSS selector API, powering Workers' HTMLRewriter.
  • ⭐ Workers OAuth Provider - OAuth 2.1 provider for Workers with PKCE support and end-to-end encryption.
  • ⭐ Chanfana - Cloudflare's tool for generating OpenAPI schemas and validation in Workers apps.
  • ⭐ Cabidela - Small, fast, eval-less, Cloudflare Workers compatible dynamic JSON Schema validator.
  • ⭐ Trie-hard - Novel Trie data structure optimized for high-performance header processing in production.
  • stpyv8 - Python 3 and JavaScript interoperability using Google's V8 engine, enabling cross-language development.
  • HTML Rewriter WASM - WebAssembly implementation of HTMLRewriter for parsing and transforming HTML.
  • Stream React - Official React component for Cloudflare Stream video player integration.
  • django-cf - A set of tools to integrate Django with the Cloudflare Developer platform.

Lua Libraries

  • Lua Resty JSON - High-performance JSON parser with 30-50% faster performance than cjson.
  • Lua Cap'n Proto - Pure Lua implementation of Cap'n Proto data interchange format.
  • Lua Aho-Corasick - Efficient multi-pattern string matching algorithm implementation.
  • Raven Lua - Small Lua interface to Sentry for error tracking and reporting.

Developer Tools

CLI & Development

  • Create Cloudflare (C3) - Scaffolding CLI (npm create cloudflare@latest) for bootstrapping new Cloudflare apps with popular frameworks and bindings.
  • ⭐ Wrangler GitHub Action - Official GitHub Action to deploy Workers automatically from your CI pipeline.
  • Puppeteer - Fork of Puppeteer Core optimized for Cloudflare Browser Workers with minimal size.
  • Sandbox SDK - Library for spinning up sandboxed environments in Cloudflare Workers, allowing command execution and file management.
  • WorkersKV GUI - Cross-platform desktop GUI for exploring Workers KV Namespace data.
  • Semver Bash - Bash parser for Semantic Versioning that helps manage project versions in scripts and Makefiles.
  • WebCM - Components Manager for the Web - proxy server for loading and managing web components with server-side execution.

Infrastructure as Code

  • ⭐ CF Terraforming - CLI to convert existing Cloudflare resources into Terraform configurations.
  • ⭐ Terraform Provider Cloudflare - Official Terraform provider for managing Cloudflare resources as Infrastructure as Code.
  • Alchemy - TypeScript-native IaC library for deploying Cloudflare resources like Workers, Queues, and R2 Buckets with zero dependencies.

API & Documentation

  • API Schemas - OpenAPI schemas for the Cloudflare API for building integrations.
  • JSON Schema Tools - Monorepo of tools for JSON Schema processing and API documentation generation.

Templates & Examples

Starter Templates

Example Applications

  • ⭐ Orange - Example app demonstrating Cloudflare Realtime (WebRTC) infrastructure for video/audio calls.
  • ⭐ Production SaaS - Example SaaS application showcasing best practices for building on Cloudflare's stack.
  • ⭐ Workers Chat Demo - Real-time chat app demonstrating Durable Objects for stateful serverless applications.
  • πŸš€ D1 Northwind - Full-stack demo app showcasing D1 database with Workers, built with React and TypeScript.
  • Python Workers Examples - Collection of Python Workers examples including FastAPI and LangChain integration.
  • Workers for Platforms Example - Reference implementation for multi-tenant worker management and dynamic script dispatching.
  • Queues Web Crawler - Web crawler example using Queues, Browser Rendering, and Workers KV.
  • Authentication Using D1 Example - Complete implementation of user registration and login in Cloudflare Workers using D1 database.

Framework Integrations

  • Next on Pages - CLI for deploying Next.js apps on Cloudflare Pages with support for SSR and edge functions.
  • Cloudflare Frameworks Support - Official integrations for Next.js, Astro, SvelteKit, Remix, and more on Cloudflare's platform.

Infrastructure & Operations

Deployment & Management

  • ⭐ Foundations - Modular Rust toolkit for building distributed, production-grade systems with logging, tracing, and metrics.
  • ⭐ Tableflip - Go library for graceful process restarts without dropping connections.
  • Shellflip - Rust library for graceful process restarts enabling zero-downtime upgrades.

Certificate Management

  • Gokeyless - Go implementation of Keyless SSL, enabling TLS without sharing private keys.
  • Origin CA Issuer - Kubernetes cert-manager issuer for Cloudflare Origin CA certificates.
  • CertMgr - Automated TLS certificate management using CFSSL with service restart capabilities.

Monitoring & Observability

  • ⭐ πŸš€ UptimeFlare - Free serverless uptime monitoring and status pages powered by Cloudflare Workers and Pages.
  • ⭐ πŸš€ Counterscale - Self-hosted, privacy-friendly analytics running entirely on Cloudflare Workers.
  • Sciuro - Bridge between Alertmanager/Prometheus and Kubernetes that syncs alerts as Node Conditions.
  • AlertManager2ES - Stores Prometheus AlertManager notifications in Elasticsearch for historical analysis.
  • PSI Exporter - Prometheus exporter for Pressure Stall Information (PSI) from Linux kernel.

Database Tools

  • CF-PgBouncer - Lightweight PostgreSQL connection pooler with TLS and PAM support.

Specialized Services

  • ⭐ Wildebeest - ActivityPub and Mastodon-compatible server built on Cloudflare's stack.
  • Workers Firecrawl - Firecrawl-compatible API implementation in Cloudflare Workers for web scraping and content extraction.

Networking & Performance

Tunneling & Proxies

  • ⭐ Pingora - High-performance Rust framework for building HTTP proxies and servers, used internally to replace Nginx.
  • ⭐ Cloudflared (Cloudflare Tunnel) - Securely expose local services to the internet via Cloudflare's network.
  • Cloudflared-web - Community-built web UI for managing Cloudflare Tunnels easily without the CLI.
  • MMProxy - Lightweight TCP proxy that preserves client IP addresses when using proxy-protocol.

Protocol Implementations

  • ⭐ Quiche - Rust implementation of the QUIC protocol and HTTP/3 used in Cloudflare's infrastructure.
  • ⭐ Boringtun - Userspace WireGuard VPN implementation written in Rust.
  • ODoH-RS - Rust implementation of Oblivious DNS over HTTPS protocol for privacy-preserving DNS.

Traffic Analysis & Filtering

  • BPF Tools - Packet analyst toolkit for analyzing pcap dumps and generating BPF filtering rules.
  • CBPFC - Classic BPF to extended BPF compiler for kernel programming.
  • Rakelimit - Multi-dimensional fair-share rate limiter in BPF for UDP traffic.
  • Wirefilter - Rust engine for Wireshark-like packet filtering expressions.
  • ebpf_exporter - Prometheus exporter for custom eBPF metrics.
  • ⭐ πŸ“¦ GoFlow - High-scalability sFlow/NetFlow/IPFIX collector. (archived - use cloudflare/goflow2 instead)
  • Slirpnetstack - User-mode networking for unprivileged network namespaces using gVisor/netstack.
  • Tubular - Control plane for BPF socket lookup with flexible network socket binding capabilities.
  • UDPgrm - UDP Graceful Restart Marshal for zero-downtime stateful UDP service restarts.

Performance Testing

  • Cloudflare Speedtest - Component to perform network speed tests against Cloudflare's edge network.

Time Synchronization

  • Roughtime - Experimental secure clock synchronization protocol implementation.

Data Processing

  • Go-Stream - Go framework for stream processing analysis with graph-based pipelines.
  • Sliceslice-rs - Fast SIMD-accelerated single-pattern substring search implementation in Rust.

Security & Privacy

PKI & TLS

  • ⭐ CFSSL - Cloudflare's PKI/TLS toolkit for certificate management and cryptographic operations.
  • ⭐ SSL Config - Cloudflare's battle-tested SSL configuration and OpenSSL patches for secure web servers.
  • TLS-Tris - Experimental TLS 1.3 implementation for Go with enhanced protocol features.

Cryptography

  • ⭐ CIRCL - Cryptographic library implementing modern and post-quantum algorithms in Go.
  • ⭐ Red October - Go server implementing two-man rule encryption with multi-party access control.
  • ZKP-ECDSA - Zero-knowledge proofs for ECDSA signatures enabling privacy-preserving verification.

Security Tools

  • Flan Scan - Lightweight network vulnerability scanner built on top of Nmap.
  • Sandbox - Simple Linux seccomp filtering library for dynamic and static executables.
  • SVG Hush - Makes SVG files safe to serve by removing scripts and cross-origin resources.

Privacy

  • Privacy Pass Issuer - TypeScript implementation of Privacy Pass protocol for Workers with Blind-RSA tokens.
  • Privacy Pass Extension - Browser extension implementing Privacy Pass protocol for unlinkable authentication.
  • UtahFS - FUSE-based encrypted filesystem with ORAM support for privacy-preserving cloud storage.
  • Privacy Gateway Server Go - Gateway implementation for Oblivious HTTP (OHTTP) in Go for privacy-preserving HTTP requests.

Password Management

  • ⭐ Gokey - Deterministic password manager in Go that generates site-specific passwords on the fly.

Data & Storage

Databases

  • ⭐ πŸš€ Prisma ORM - Type-safe ORM supporting Cloudflare Workers and D1 for building data-driven apps.
  • ⭐ Drizzle ORM - Headless TypeScript ORM that runs on Node, Bun, Deno, and lives on the Edge.
  • SQLAlchemy ClickHouse - ClickHouse dialect for SQLAlchemy, enabling Python developers to work with ClickHouse databases.
  • Workers QB - Zero dependencies Query Builder for Cloudflare Workers supporting D1, Durable Objects, and Postgres.

Storage Solutions

  • Serverless Registry - Lightweight container registry implementation using Workers and R2 with Docker-compatible workflows.
  • R2 Explorer - Google Drive-like interface for managing Cloudflare R2 buckets with file upload, download, and organization.

AI & Machine Learning

  • ⭐ MCP Server Cloudflare - Model Context Protocol servers connecting LLMs to Cloudflare services for natural language interaction.
  • ⭐ Cloudflare Agents - Framework for deploying AI-powered agents on Cloudflare Workers and Durable Objects.
  • ⭐ Cloudflare AI SDKs - SDKs and examples for integrating Cloudflare's Workers AI with popular tooling like the Vercel AI SDK.
  • AI Utils - Developer toolkit for Workers AI with embedded function calling and OpenAPI integration.
  • Workers Research - Serverless, AI-powered deep research agent built with Cloudflare Workers and Google Gemini 2.5.

Demos & Experiments

Games & Fun

  • Doom WASM - WebAssembly port of Chocolate Doom with WebSockets multiplayer support.
  • Doom Workers - Multiplayer Doom using Workers and WebSockets for real-time networking.

Technical Demos

  • ChatGPT Plugin - Example ChatGPT plugins using Workers with GitHub search and weather demos.
  • Turnstile Demo Workers - Demonstrates Cloudflare Turnstile bot protection with form implementations.
  • Workers Web Experiments - Advanced micro-frontend architecture experiments for serverless applications.

Internet Infrastructure

  • πŸš€ Is BGP Safe Yet? - Web service tracking BGP security through RPKI deployment status.
  • Saffron - High-performance cron parser powering Workers Cron Triggers functionality.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%