Cloudflare Worker Version
A serverless variant built with Cloudflare Workers is included in the cf-worker directory. It runs on Cloudflare's edge network.
Features
- ☁️ Globally distributed and fast
- 🗄️ KV storage for persistence
- 💸 Pay-as-you-go with zero server maintenance
Deployment Steps
- Install Wrangler
- Configure account info and KV namespace in
wrangler.toml - Run
wrangler publishto deploy
Example:
bash
cd cf-worker
wrangler publish