Skip to main content

Cloudflare Deployment

zoomies-edge is deployed on Cloudflare Workers.

Setup

  1. Install Wrangler CLI: pnpm add -g wrangler
  2. Authenticate: wrangler login
  3. Deploy: pnpm run deploy

Configuration

The wrangler.toml in zoomies-edge configures:
  • Worker name and routes
  • KV namespace bindings
  • Environment-specific settings

KV Namespaces

EnvironmentNamespace
Kittensmo1-links-kitten
Catsmo1-links-cat
Lionsmo1-links-lion

How It Works

  1. Request hits Cloudflare edge (< 50ms globally)
  2. Worker looks up short link UID in KV
  3. If found: instant 301/302 redirect
  4. If not found: proxy to purr-api for resolution and caching