Skip to content

Web version of a clock that shows the latency on a clock

Notifications You must be signed in to change notification settings

DrSkunk/ping-clock-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ping Clock Web

Web version of the Ping Clock I saw on Hackaday. This shows the current ping on a logaritmic scale on a clock.

clock

This project is divided in two parts.

  1. Pinger: A server program that pings a specified host.
  2. Display: A web client that displays the pinged results on a clock display.

They communicate with eachother with websockets.

Check their respective readme files for more info:

Hosting

There is a docker-compose.yml included which loads its settings from the .env file. Copy .env.example to see all values used.

  • DISPLAY_PORT: Port on which the webclient is accessible.
  • SERVER_PORT: Port on which the pinger websocket runs.

TODO

  • Add text labels to the clock
  • Dark mode version
  • Make a web-only version that can be hosted, but a suitable alternative to ping that runs in the browser must be chosen first.

Credits

Original Ping Clock repo by Turingbirds