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

help-circle
  • It’s missing the CSS, and I don’t think this is something you can do solely with curl, at least without a bunch of parsing. Wget does have a --page-requisites option that should work though.

    Also, your first screenshot has included the HTTP headers, which are not part of the HTML. You probably need to remove a -v from the curl command, although it doesn’t really fix the main issue.

    Edit: You also might get some more replies if you posted to one of the programming communities.


  • 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.



  • I’ve been preferring mTLS recently. I still use a VPN for management, SMB/NFS, and anything important. But I use mTLS for web services that I’d like to access without having a VPN active all the time. Although, if your web service had a mobile app, usually they don’t play nicely with mTLS, so a VPN would be required for me, but Home Assistant and TrilliumDroid do have mTLS support.