https://github.com/5310/clogd
A CLI internet connectivity visualizer in Deno
https://github.com/5310/clogd
deno
Last synced: 2 months ago
JSON representation
A CLI internet connectivity visualizer in Deno
- Host: GitHub
- URL: https://github.com/5310/clogd
- Owner: 5310
- License: mit
- Created: 2021-10-01T11:26:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-02T08:09:19.000Z (over 3 years ago)
- Last Synced: 2025-01-20T06:38:16.955Z (4 months ago)
- Topics: deno
- Language: TypeScript
- Homepage:
- Size: 244 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clog D
[](https://deno.land/)

Felt like making a CLI internet connectivity visualizer in **Deno**.
Unfortunately, Deno can't do ICMP, so I can't really _ping_ anything. And I didn't want to bother with calling the system level Ping this time (I have [Clog C](https://github.com/5310/clogc) for that), so this just uses [deno.land/x/online](https://deno.land/x/online) which polls Apple's much abused captive portal detector to check connectivity.
But it's good enough for me. I don't really need ping latency visualization or anything, just an at-a-glance yes-or-no ticker.

Usage:
```sh
clogd [--period=PERIOD] [--timestamp=TIMESTAMP]
```- `PERIOD`: Seconds between ping attempts
- `TIMESTAMP`: Minutes between timestamps