IsThereNet
/Applications
IsThereNet watches for internet connection status changes and draws a colored line at the top of the screen to indicate the status.
Colors:
The top status line does not appear in screenshots and does not interfere with clicking on the menu bar.
IsThereNet uses the native NWPathMonitor API to efficiently check if a connection can be established to Cloudflare's DNS IP 1.1.1.1
.
That IP was chosen for multiple reasons:
8.8.8.8
doesThe app has no Dock icon and no menubar icon so to quit it you'd need to do one of the following:
killall 'IsThereNet'
If you want to monitor more complex network conditions, you can use a few different alternatives:
IsThereNet logs internet connection status changes to:
~/.logs/istherenet.log
To keep the no-UI approach, the app can be configured through editing a JSON file. The file is located at:
~/.config/istherenet/config.json
The config file looks like this:
{
"sounds" : {
"disconnected" : "Mezzo",
"slow" : "Submerge",
"volume" : 0.4,
"connected" : "Funky"
},
"pingIntervalSeconds" : 5,
"pingIP" : "1.1.1.1",
"pingSlowThresholdMilliseconds" : 300,
"fadeSeconds" : {
"connected" : 5,
"disconnected" : 0,
"slow" : 10
},
"colors" : {
"slow" : "systemYellow",
"connected" : "systemGreen",
"disconnected" : "systemRed"
},
"pingTimeoutSeconds" : 1,
"screen": "all",
"shellCommandOnStatusChange" : "echo 'Status changed to: '$STATUS' with ping time:' $PING_TIME"
}