A personal collection of Cloudflare utility scripts.
| Directory | Description |
|---|---|
| worker-proxy | Cloudflare Worker reverse proxy with CORS, token auth, and platform presets |
A lightweight reverse proxy built on Cloudflare Worker. No server required, free tier is enough for personal use.
Features:
- GET and POST support
- Custom request headers
- Platform presets (built-in:
wechatfor WeChat Official Account articles) - Optional Bearer Token authentication
- CORS enabled for all origins
Usage:
# Basic
GET https://proxy.yourdomain.com/?url=https://example.com
# WeChat article
GET https://proxy.yourdomain.com/?url=https://mp.weixin.qq.com/s/xxxxxx&platform=wechat
# With token (query param)
GET https://proxy.yourdomain.com/?url=https://example.com&token=<your-token>
# With token (header)
Authorization: Bearer <your-token>
Environment variables:
| Variable | Description |
|---|---|
TOKEN |
Auth secret. If not set, all requests are allowed without authentication. |
Deploy: See Cloudflare Worker + Custom Domain: Build a Free Personal Proxy Pool