https://github.com/gewoonjaap/ping-latency-cf-worker
CloudFlare worker that pings a given IP:port and returns the latency
https://github.com/gewoonjaap/ping-latency-cf-worker
cloudflare cloudflare-worker cloudflare-workers latency latency-test worker
Last synced: 6 days ago
JSON representation
CloudFlare worker that pings a given IP:port and returns the latency
- Host: GitHub
- URL: https://github.com/gewoonjaap/ping-latency-cf-worker
- Owner: GewoonJaap
- Created: 2023-01-07T10:53:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T10:57:43.000Z (over 2 years ago)
- Last Synced: 2025-03-29T12:22:40.452Z (27 days ago)
- Topics: cloudflare, cloudflare-worker, cloudflare-workers, latency, latency-test, worker
- Language: TypeScript
- Homepage: https://latency.mrproper.dev
- Size: 8.79 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# IP and Port Latency Checker
CloudFlare worker that pings a given IP:port and returns the latency## Usage
`https://latency.mrproper.dev/?ip=127.0.0.1:80` or `https://latency.mrproper.dev?ip=127.0.0.1&port=80`## Reponse
```json
{"latency":7}
```Latency is in milliseconds
## Deploy
1. Clone this repo
2. Run `wrangler login`
3. Run `wrangler publish`