<commit_before># JS Console

A JavaScript web console, useful for quick experimentation, debugging, presentations (for live coding) and workshops.

# Features

- Remote device debugging using "listen" command ([more info](http://jsconsole.com/remote-debugging.html))
- Resizable font (yep, biggest issue with Firebug in workshops)
- Autocomplete in WebKit desktop browsers
- Shift + up/down for bigger console
- Save history (based on session)
- Add support for loading in a DOM (YQL - I thank you again)
- Permalink to individual executions

# Hosting jsconsole yourself

This requires that you install [node.js](http://nodejs.org). Once installed, download this project (or clone it using git) and inside the new `jsconsole` directory run:

    npm install

This will install the dependencies (in particular 1.8.x version of connect.js).

Once installed, run (on port 80):

    node server.js

Or to run on a specific port (like 8080):

    node server.js 8080
<commit_msg>chore: Merge branch 'master' of github.com:remy/jsconsole<commit_after># JS Console

A JavaScript web console, useful for quick experimentation, debugging, presentations (for live coding) and workshops.

# Features

- Remote device debugging using "listen" command ([more info](http://jsconsole.com/remote-debugging.html))
- Resizable font (yep, biggest issue with Firebug in workshops)
- Autocomplete in WebKit desktop browsers
- Shift + up/down for bigger console
- Save history (based on session)
- Add support for loading in a DOM (YQL - I thank you again)
- Permalink to individual executions

# Hosting jsconsole yourself

This requires that you install [node.js](http://nodejs.org). Once installed, download this project (or clone it using git) and inside the new `jsconsole` directory run:

    npm install

This will install the dependencies (in particular 1.8.x version of connect.js).

Once installed, run (on port 8000):

    node .

Or to run on a specific port (like 8080):

    PORT=8080 node .

{'fraction_non_alphanumeric': 0.07909319899244333, 'fraction_numerical': 0.01309823677581864, 'mean_word_length': 4.198952879581152, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1386520', 'n_tokens_mistral': 571, 'n_tokens_neox': 525, 'n_words': 255}