Commit Graph

18 Commits

Author SHA1 Message Date
tmerritt 6d55d96ca7 adds ability to read hosts.txt if no file is specified on the command line, using defaults if hosts.txt is missing 2025-04-23 15:03:16 -04:00
tmerritt e1b435bf7b more hosts and better naming for peterborough v0.1.0 2025-04-23 11:08:35 -04:00
tmerritt f57325bc6b Updates dependencies 2025-04-23 10:53:09 -04:00
tmerritt 613f22d31c Removes 'magic numbers' and uses constants for number of seconds in hour and day 2025-04-23 10:52:33 -04:00
tmerritt 002ad36068 Rolls 'duration_to_string' into pp 2025-04-22 16:09:49 -04:00
tmerritt 4ec95af6d0 optimized main loop
Adds colour to the text display
2025-04-22 16:03:30 -04:00
tmerritt 9201c67108 uses a default list if no file is passed 2025-04-21 13:03:49 -04:00
tmerritt da10ec72f8 Update host list format to be
<ip_address>,<name>
to make end user display and interpretation easier
2025-04-21 09:02:40 -04:00
tmerritt 11618c0d0a Adds more hosts to test
- Ptbo both links
 - Lnsy both links
 - Blvl both links
Adds lib.rs to allow bins to read common code
2025-04-21 08:09:51 -04:00
tmerritt 03de859764 New proof of concept for duration_to_string
Explicit declaration of duration_to_string
2025-04-21 07:55:40 -04:00
tmerritt ee5986fedf adds duration_to_string to make durations pretty strings 2025-04-20 22:34:04 -04:00
tmerritt d642822709 parses a file passed to use as a list of targets 2025-04-20 19:48:31 -04:00
tmerritt 1742874c46 Time since last change in place. 2025-04-20 18:07:38 -04:00
tmerritt 81bf3cf61d moved structs to their own files
added time since last state change
2025-04-20 15:56:03 -04:00
tmerritt 7bd745635b adds logic to selectively compile for windows or linux and handle the respective ping return codes.
0 = good on linux
1 = good on wintendos
2025-04-17 19:44:13 -04:00
tmerritt f9cf88911f Threads now does backend work and displays a nice UI every 5 seconds 2025-04-17 09:54:22 -04:00
tmerritt ef1d3dde9c works at console for linux 2025-04-14 09:37:28 -04:00
tmerritt c50857f210 Initial commit 2025-04-13 12:10:52 -04:00