👷 worker-template curl

A Cloudflare worker template that intercepts requests from curl command and returns something different. Can be useful for showing a special response for developers, or showing a cool developer card 😎

Example

curl gafi.dev

card example

Wrangler

To generate & deploy using wrangler

Run: - npm i @cloudflare/wrangler -g - wrangler build (webpack bundles to dist/main.js) - wrangler publish (publishes based off local settings + wrangler.toml)

wrangler generate myApp https://github.com/gaafar/curl-worker