Simple CLI tool that notifies you once a server becomes reachable.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

A simple CLI tool that periodically tries to ping (or the host provided) and displays a notification once the server is reachable.


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.