<commit_before>Extended Erlang Examples - A Webchat
====================================

This webchat is designed to be a hackable and rewarding example of how to
structure and work on Erlang/OTP applications. The end result will be a project
that is interesting to explore, demonstrates The Right Way(tm), and has bugs to
fix and features to add that help ease beginners into working on complete
Erlang systems.

Running
-------

Building this project requires `git` to be in your `PATH` and either GNU make
or rebar and relx. By default, the application runs on port 8080. Change
`src/chat_web_app.erl` if a different port is desired.

To build and start with make, run `make run`. To build and start with rebar,
run `rebar get-deps; rebar compile; relx -c relx.config;
./_rel/chat_web/bin/chat_web console`.

After starting the release, point your favorite browser that supports
WebSockets (tested with Firefox and Chrome) at http://localhost:8080/ and
choose nickname and password (subsequent connections to use that nickname will
require the same password).

The available commands are:
<commit_msg>Clarify README<commit_after>Extended Erlang Examples - A Webchat
====================================

This webchat is designed to be a hackable and rewarding example of how to
structure and work on Erlang/OTP applications. The end result will be a project
that is interesting to explore, demonstrates The Right Way(tm), and has bugs to
fix and features to add that help ease beginners into working on complete
Erlang systems.

Running
-------

In addition to Erlang 18, building this project requires `git` to be in your
`PATH` and either GNU make or rebar and relx. By default, the application runs
on port 8080. Change `src/chat_web_app.erl` if a different port is desired.

To build and start with make, run `make run`. To build and start with rebar,
run `rebar get-deps; rebar compile; relx -c relx.config;
./_rel/chat_web/bin/chat_web console`.

After starting the release, point your favorite browser that supports
WebSockets (tested with Firefox and Chrome) at http://localhost:8080/ and
choose nickname and password (subsequent connections to use that nickname will
require the same password).

The available commands are:

{'fraction_non_alphanumeric': 0.08717031738936075, 'fraction_numerical': 0.008046490835940992, 'mean_word_length': 4.581047381546135, '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': '5572293', 'n_tokens_mistral': 609, 'n_tokens_neox': 571, 'n_words': 322}