• 0 Posts
  • 28 Comments
Joined 8 months ago
cake
Cake day: September 30th, 2025

help-circle




  • I actually made a similar thing a few years ago, and mostly relied on WebSockets with a HTTP fallback: https://github.com/Steve-Tech/My_Time

    You actually seem to know what you’re doing with Workers though, mine was pretty much a half-assed attempt at porting my python code (which again could probably be better).

    Also my desktop is PTP synced to a GNSS disciplined time server, and I’ve found the My_Time workers demo to be fairly accurate. I also feel Cloudflare should be reasonably accurate given they have database products you’re intended to use with workers, but yeah, there’s no guarantees.




  • Currently I’m working on whatports.work in between my studies, basically its an outgoing port tester so that users can test their network’s firewall rules. It’s similar to portquiz.net, except it has a JS port check, UDP and IPv6 support, and hopefully HTTPS soon.

    I’ve also thought about getting an ASN and doing some anycast stuff. Especially since it’s hosted in Sydney currently, which adds a bunch of latency for anyone not in Australia. Also there’s a lot of port scan bots, and the server is doing its best to respond to all of them, with some rate limiting of course, but it’ll be good to distribute the load anyway.