<commit_before># Engage Website Pinger

This little node.js app will ping a list of websites and alert you when any of them are down.

The app will alert using two communication channels:

* Verbally using the built-in `say` command on OS X
* Outputted via a simple serial protocol

We use the serial this to power a walk/stop LED sign through a relay hooked up to a microcontroller. The sign will blink "stop" when any server is down and lighten up "walk" when all websites are up.

[The walk/stop sign in action](https://raw.github.com/EngageDC/Website-Pinger/master/screenshots/walksign.gif)

## Using

Just take a copy of the `hosts-sample.json` and call the new file `hosts.json`. Here you can add a list of hosts that you want to be monitored.

Now, install node dependencies with `node install` and then run `node server.js` to start the website pinger app.<commit_msg>Syntax error<commit_after># Engage Website Pinger

This little node.js app will ping a list of websites and alert you when any of them are down.

The app will alert using two communication channels:

* Verbally using the built-in `say` command on OS X
* Outputted via a simple serial protocol

We use the serial this to power a walk/stop LED sign through a relay hooked up to a microcontroller. The sign will blink "stop" when any server is down and lighten up "walk" when all websites are up.

![The walk/stop sign in action](https://raw.github.com/EngageDC/Website-Pinger/master/screenshots/walksign.gif)

## Using

Just take a copy of the `hosts-sample.json` and call the new file `hosts.json`. Here you can add a list of hosts that you want to be monitored.

Now, install node dependencies with `node install` and then run `node server.js` to start the website pinger app.
{'fraction_non_alphanumeric': 0.062214611872146115, 'fraction_numerical': 0.0, 'mean_word_length': 4.125730994152047, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1605810', 'n_tokens_mistral': 493, 'n_tokens_neox': 476, 'n_words': 270}