CloudFlare worker that pings a given IP:port and returns the latency
https://latency.mrproper.dev/?ip=127.0.0.1:80
or https://latency.mrproper.dev?ip=127.0.0.1&port=80
{"latency":7}
Latency is in milliseconds
- Clone this repo
- Run
wrangler login
- Run
wrangler publish