Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Gaafar/curl-worker
https://github.com/Gaafar/curl-worker
card cloudflare-worker curl serverless
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/Gaafar/curl-worker
- Owner: Gaafar
- License: mit
- Created: 2019-06-02T19:33:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T11:18:21.000Z (over 5 years ago)
- Last Synced: 2024-08-01T16:34:37.345Z (5 months ago)
- Topics: card, cloudflare-worker, curl, serverless
- Language: JavaScript
- Size: 93.8 KB
- Stars: 50
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_MIT
Awesome Lists containing this project
- awesome-cloudflare - CURL Interceptor - Intercepts requests from `curl` command and returns something different. (Workers / Recipes)
- awesome-cloudflare - CURL Interceptor - Intercepts requests from `curl` command and returns something different. (Workers / Recipes)
README
# 👷 `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](https://raw.githubusercontent.com/gaafar/curl-worker/master/screenshot.png)
## Wrangler
To generate & deploy using [wrangler](https://github.com/cloudflare/wrangler)
```
wrangler generate myApp https://github.com/gaafar/curl-worker
```