This Node-based monome app pings a set of user defined hosts and will let you know when a host is unreachable. When a host is unreachable, the corresponding key will stay lit. You can press the key, lit or not, and it will open the corresponding host in your default browser.
After forking/cloning/downloading the repo, cd
into the directory and install the Node dependencies.
# for Yarn (preferred)
$ yarn install
# for NPM
$ npm install
Now rename hosts.example.js
to hosts.js
and add the hosts that you want to ping. You can add as many hosts as your grid has keys.
You can adjust the size of your grid by finding and adjusting the following:
const sizeY = 8;
const sizeX = 8;
sizeY
corresponds to the number of rows and sizeX
corresponds to the number of columns. Make sure these numbers are not larger than the size of your grid.
You can also adjust the speed of the pings by adjusting:
let frequency = 50; // in milliseconds
Now you are ready to run pinga:
# for Yarn
$ yarn start
# for NPM
$ npm start
In the current version, pinga will ping your defined hosts randomly. If you want it to ping your hosts sequentially (i.e. in order), take a look at v1.0.0
The name of this project was inspired by @rockbottomsimpsons on Facebook.