<commit_before># Overview

Air Mouse and touchpad with full web technology

The server side `server.js` manage the mouse position change, the client side send position offset to server. 

The desktop side `desktop.html` includes `server.js` and provide the connection instruction and system tray.

In client side `index.html`, just call emitMouse to update the mouse position.

## Setup

Get required packages

$ npm install
$ bower install

Then run

$ node server.js


## Build for Desktop

You need install node-webkit-builder first

$ npm install node-webkit-builder -g

You have to check nw.js website and use same io.js version as nw.js did.

$ nvm install iojs-1.2.1
$ nvm use iojs

To build a smaller package, we only need install essential libraries for production.
Clone a new repository and run following commands:

$ npm install --production
$ nwbuild -p osx64 webbymouse2

Currently MacOS is the only support platform.
<commit_msg>add technology used section<commit_after># Overview

Air Mouse and touchpad with full web technology

The server side `server.js` manage the mouse position change, the client side send position offset to server. 

The desktop side `desktop.html` includes `server.js` and provide the connection instruction and system tray.

In client side `index.html`, just call emitMouse to update the mouse position.


## Setup

Get required packages

$ npm install
$ bower install

Then run

$ node server.js


## Build for Desktop

You need install node-webkit-builder first

$ npm install node-webkit-builder -g

You have to check nw.js website and use same io.js version as nw.js did.

$ nvm install iojs-1.2.1
$ nvm use iojs

To build a smaller package, we only need install essential libraries for production.
Clone a new repository and run following commands:

$ npm install --production
$ nwbuild -p osx64 webbymouse2

Currently MacOS is the only support platform.


## Technology used

* Server: Express
* Real time communication: socket.io
* Desktop: Node Webkit
* UI: Bootstrap CSS framework
* Mobile accelerator: Cordova (plan)
{'fraction_non_alphanumeric': 0.058482358627356214, 'fraction_numerical': 0.005799903334944417, 'mean_word_length': 4.111111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1609222', 'n_tokens_mistral': 590, 'n_tokens_neox': 562, 'n_words': 286}