Skip to content

GewoonJaap/ping-latency-cf-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

afbeelding

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

  {"latency":7}

Latency is in milliseconds

Deploy

  1. Clone this repo
  2. Run wrangler login
  3. Run wrangler publish

Releases

No releases published

Packages

No packages published