<commit_before>Tow Truck - Who you call when you get stuck
===========================================

Introduction
------------

You can see a screencast of the TowTruck prototype (found in "prototype" branch) in action here: https://vimeo.com/36754286

Setup
-----

The server is in `src/server.js`.  To run it you should install Node.js, and `npm install node-static websocket less coffee-script`.  Then run `node src/server.js` and use `http://localhost:8080/towtruck.js` to include the setup code.

There are examples in `examples/` - you should serve these up yourself (they aren't servered through `server.js`).

`towtruck.js` is just a small piece of code to allow the startup of TowTruck.  You can either include an element `<div id="towtruck-starter"></div>` in your page, and a TowTruck button will be added to that, or you can call `startTowTruck()` yourself.

The actual implementation uses:

- `channels.js`: abstraction over WebSockets
- `towtruck-runner.js`: the actual code for setting up connections, UI, etc.
- `towtruck.less`: compiled to CSS when you load `towtruck.css`
- jQuery; used in noConflict mode

Bookmarklet
-----------
<commit_msg>README.md: Fix "servered" -> "served" typo<commit_after>Tow Truck - Who you call when you get stuck
===========================================

Introduction
------------

You can see a screencast of the TowTruck prototype (found in "prototype" branch) in action here: https://vimeo.com/36754286

Setup
-----

The server is in `src/server.js`.  To run it you should install Node.js, and `npm install node-static websocket less coffee-script`.  Then run `node src/server.js` and use `http://localhost:8080/towtruck.js` to include the setup code.

There are examples in `examples/` - you should serve these up yourself (they aren't served through `server.js`).

`towtruck.js` is just a small piece of code to allow the startup of TowTruck.  You can either include an element `<div id="towtruck-starter"></div>` in your page, and a TowTruck button will be added to that, or you can call `startTowTruck()` yourself.

The actual implementation uses:

- `channels.js`: abstraction over WebSockets
- `towtruck-runner.js`: the actual code for setting up connections, UI, etc.
- `towtruck.less`: compiled to CSS when you load `towtruck.css`
- jQuery; used in noConflict mode

Bookmarklet
-----------

{'fraction_non_alphanumeric': 0.14607218683651804, 'fraction_numerical': 0.01019108280254777, 'mean_word_length': 3.928870292887029, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '4054090', 'n_tokens_mistral': 736, 'n_tokens_neox': 665, 'n_words': 298}