zudo-cloudflare-wisdom

Type to search...

to open search from anywhere

Getting Started

CreatedApr 4, 2026Takeshi Takatsudo

What this site covers and how to set up Cloudflare for your projects

This site is a personal knowledge base for Cloudflare development patterns. It captures real-world lessons from deploying Astro static sites, building Pages Functions APIs, and using Cloudflare storage services (KV, D1, R2).

What This Covers

  • Cloudflare Pages — Static site hosting with preview deploys and edge functions
  • Workers — Standalone serverless functions deployed via Wrangler
  • Storage — KV, D1, and R2 for key-value, SQL, and object storage
  • CI/CD — GitHub Actions workflows for automated deploy pipelines
  • Recipes — Real-world integration patterns from production projects

Target Stack

All examples assume:

  • Astro as the static site generator (though patterns apply to any framework)
  • pnpm as the package manager
  • GitHub Actions for CI/CD
  • Wrangler v4 as the Cloudflare CLI tool

Prerequisites

You need a Cloudflare account and an API token with appropriate permissions. See Cloudflare Setup for details.