<commit_before># Site Watcher

This app notifies a group of administrators via SMS if a site has changed.  

This app uses a SHA1 checksum to determine if the site has changed.


# Installation

Install everything

`npm install`

Add your configuration details in `.env.RENAME_ME` and then rename it to `.env`

`mv .env.RENAME_ME .env`

Next, run the Website Watcher script (need something like upstart or systemd to monitor it)

`node site-watcher.js`
<commit_msg>Add more details to installation.<commit_after># Did The Site Change?

This app notifies a group of administrators via SMS if a site has changed.  

This app uses a [SHA1 checksum](https://en.wikipedia.org/wiki/SHA-1) to determine if the site has changed.


# Installation

Install everything

`npm install`

Add your [Twilio](https://twilio.com] configuration details in `.env.RENAME_ME` and then rename it to `.env`

`mv .env.RENAME_ME .env`

Next, run the Website Watcher script (need something like upstart or systemd to monitor it)

`node site-watcher`

{'fraction_non_alphanumeric': 0.07526881720430108, 'fraction_numerical': 0.002932551319648094, 'mean_word_length': 4.171717171717172, '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': '2511222', 'n_tokens_mistral': 318, 'n_tokens_neox': 307, 'n_words': 141}