https://github.com/jkbrzt/cn
Simple CLI tool that notifies you once a server becomes reachable.
https://github.com/jkbrzt/cn
Last synced: 6 months ago
JSON representation
Simple CLI tool that notifies you once a server becomes reachable.
- Host: GitHub
- URL: https://github.com/jkbrzt/cn
- Owner: jkbrzt
- Created: 2012-04-11T13:11:12.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-04-11T13:12:18.000Z (over 13 years ago)
- Last Synced: 2025-03-28T21:01:52.673Z (7 months ago)
- Language: Python
- Homepage: https://twitter.com/jakubroztocil
- Size: 85.9 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A simple CLI tool that periodically tries to ping google.com (or the host provided)
and displays a notification once the server is reachable.Usage:
cn [host]
On Mac OS, a Growl notification is displayed if the `gntp` package is available (`pip install gntp`).
If not, then a Cocoa dialog is shown instead.Use cases:
1. When you want to know when you are back online (`cn`).
2. When you are restarting a server and want to know when it's up again (`cn server`).That's it.