Cloudflare Deployment
zoomies-edge is deployed on Cloudflare Workers.Setup
- Install Wrangler CLI:
pnpm add -g wrangler - Authenticate:
wrangler login - Deploy:
pnpm run deploy
Configuration
Thewrangler.toml in zoomies-edge configures:
- Worker name and routes
- KV namespace bindings
- Environment-specific settings
KV Namespaces
| Environment | Namespace |
|---|---|
| Kitten | smo1-links-kitten |
| Cat | smo1-links-cat |
| Lion | smo1-links-lion |
How It Works
- Request hits Cloudflare edge (< 50ms globally)
- Worker looks up short link UID in KV
- If found: instant 301/302 redirect
- If not found: proxy to purr-api for resolution and caching