<commit_before>```
 SSSSS  kk                            tt
SS      kk  kk yy   yy nn nnn    eee  tt
 SSSSS  kkkkk  yy   yy nnn  nn ee   e tttt
     SS kk kk   yyyyyy nn   nn eeeee  tt
 SSSSS  kk  kk      yy nn   nn  eeeee  tttt
                yyyyy
```
Visit [SkyNet.im](http://skynet.im) for up-to-the-latest documentation and screencasts.

======

Roadmap
-------

* Phase 1 - Build a network and realtime API for enabling machine-to-machine communications.
* Phase 2 - Connect all of the thingz.
* Phase 3 - Become self-aware!

Installing
----------

Clone the git repository, then:

```bash
$ npm install
$ cp config.js.sample config.js
```

Modify `config.js` with your MongoDB connection string. If you have MongoDB running locally use: 

```
mongodb://localhost:27017/skynet
```

You must also modify `config.js` with your Redis connection information. If you have Redis running locally use:

```
redisHost: "127.0.0.1",
redisPort: "6379"
```

HTTP(S) REST API
----------------<commit_msg>add start server instructions<commit_after>```
 SSSSS  kk                            tt
SS      kk  kk yy   yy nn nnn    eee  tt
 SSSSS  kkkkk  yy   yy nnn  nn ee   e tttt
     SS kk kk   yyyyyy nn   nn eeeee  tt
 SSSSS  kk  kk      yy nn   nn  eeeee  tttt
                yyyyy
```
Visit [SkyNet.im](http://skynet.im) for up-to-the-latest documentation and screencasts.

======

Roadmap
-------

* Phase 1 - Build a network and realtime API for enabling machine-to-machine communications.
* Phase 2 - Connect all of the thingz.
* Phase 3 - Become self-aware!

Installing
----------

Clone the git repository, then:

```bash
$ npm install
$ cp config.js.sample config.js
```

Modify `config.js` with your MongoDB connection string. If you have MongoDB running locally use: 

```
mongodb://localhost:27017/skynet
```

You must also modify `config.js` with your Redis connection information. If you have Redis running locally use:

```
redisHost: "127.0.0.1",
redisPort: "6379"
```

Start the server use:

```
nodejs server.js
```

HTTP(S) REST API
----------------
{'fraction_non_alphanumeric': 0.12518195050946143, 'fraction_numerical': 0.017467248908296942, 'mean_word_length': 2.3637846655791193, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5651209', 'n_tokens_mistral': 764, 'n_tokens_neox': 677, 'n_words': 251}