<commit_before># autodis
Allows mobile clients to auto-discover desktop servers.

## Server Setup
* cd autodis/autodis-server
* npm install
* npm start

## Client Setup
* npm install -g cordova
* cd autodis/autodis-client
* bower install
* cordova prepare
* cordova run android (or ios)

### Client Methods
AUTODIS.Init(); - start the auto discovery process

### Client Events
* AUTODISSuccess - custom event with the following fields:
- evt.detail.serverName
- evt.detail.serverIp
- evt.detail.serverPort

* AUTODISError - custom event with the following fields:
- evt.detail.errCode
- evt.detail.msg<commit_msg>update to readme<commit_after># autodis
Allows mobile clients to auto-discover desktop servers.

## Server Setup
* cd autodis/autodis-server
* npm install
* npm start

## Client Setup
* npm install -g cordova
* cd autodis/autodis-client
* bower install
* cordova prepare
* cordova run android (or ios)

### Client Methods
AUTODIS.Init(); - start the auto discovery process

### Client Events
* AUTODISSuccess - custom event with the following fields:
    - evt.detail.serverName
    - evt.detail.serverIp
    - evt.detail.serverPort

* AUTODISError - custom event with the following fields:
    - evt.detail.errCode
    - evt.detail.msg

### Use in another project
You can just include autodis/autodis-client/www/js/autodis.js in your own project.  You should model your server code after autodis/autodis-server/src/index.js.
{'fraction_non_alphanumeric': 0.09040333796940195, 'fraction_numerical': 0.0, 'mean_word_length': 3.962068965517241, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '1905885', 'n_tokens_mistral': 459, 'n_tokens_neox': 452, 'n_words': 148}