<commit_before># gitHubPuller
Listen for GitHub changes (Web Hooks) and update the local copy of an application.  This allows a test server to always remain up to date.

Update .settings.js with the GitHub hook path and your local server details.
If localPath is specified then the sftp entries are ignored.

{name: the path specified in GitHub with leading slash,
    localPath: path on local file system to copy to,
    sftpPath: path on Lan server,
    sftp: {
        username: Lan server username,
        password: <PASSWORD>,
        host: Lan server hostname or IP address,
        }
    };

It's not finished yet.<commit_msg>improve readme<commit_after># gitHubPuller
Listen for GitHub changes (Web Hooks) and update the local copy of an application.  This allows a test server to always remain up to date. It is designed for small projects. Originally written to allow lightweight development on a mobile device which then sends to the server running Node.js for testing.

gitHubPuller runs on the edge of your network so that GitHub is able to contact it, on port 7777 by default. When it receives notification of a change it connects to GitHub and downloads the latest version. The downloaded file can be placed on the local machine or placed on a server on the network using sftp.

## Getting started
Create .settings.js (note the leading . making the file hidden). An example is supplied in settings.js.

Update .settings.js with the GitHub hook path and your local server details.
If localPath us not specified then it us ignored.

{name: the path specified in GitHub with leading slash,
    localPath: path on local file system to copy to,
    sftpPath: path on Lan server,
    sftp: {
        username: Lan server username,
        password: <PASSWORD>,
        host: Lan server hostname or IP address,
        }
    };

Make sure the username specified has write access to the server's file system.

It's not finished yet but any feedback would be trementously useful.
{'fraction_non_alphanumeric': 0.04380664652567976, 'fraction_numerical': 0.002014098690835851, 'mean_word_length': 3.505668934240363, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3121993', 'n_tokens_mistral': 514, 'n_tokens_neox': 481, 'n_words': 299}