Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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
```