Hasty Briefsbeta

I Built a One File Edge Probe to Tell Me When Time Is Lying

19 days ago
  • #PWA
  • #Time Synchronization
  • #Debugging Tool
  • A single-file PWA was created to quickly check if time discrepancies are due to client or server issues.
  • The tool compares client time (Date.now()) with server time (/time endpoint) and displays a green/red status based on the difference.
  • It's designed for simplicity and ease of use, requiring only a browser and a server endpoint returning epoch time in JSON.
  • The PWA can be added to the home screen for quick access and is useful in environments where traditional time synchronization tools can't be used.
  • The solution assumes symmetrical network latency for simplicity, which may not be accurate in all scenarios but is sufficient for identifying significant time discrepancies.
  • Real-world usage involves deploying the HTML file and a /time endpoint on a local gateway, allowing techs to quickly diagnose time-related issues without complex setups.