<commit_before>SnailTracker JS (In Development)
===============
The JS component to [SnailTracker](https://github.com/snailtracker/snailtracker-server)!

First, make sure you setup your SnailTracker server.  Then come back and implement this script.

This is still in development, but it's almost ready.  You will simply need to include snailtracker.min.js, and include the following:
```
$(function(){
    SnailTracker.api_url = "http://your-app-url.com";
    SnailTracker.api_key = "the-app-api-key-you-generated-for-this-web-app";
    SnailTracker.initialize();
});
```

And it will start tracking your users!

TODO
----
There are still a few very important things to wrap up first:
1.  (DONE) Ignore password fields and anything that looks like a credit card (12-20 numbers).

2.  Cache the results locally before sending (instead of sending hundreds of requests).

3.  Actually get the JS combined and minified.

4.  Expire the session after 24 hours of inactivity.

License
-------
AGPL
<commit_msg>Updated readme.<commit_after>SnailTracker JS (In Development)
===============
The JS component to [SnailTracker](https://github.com/snailtracker/snailtracker-server)!

First, make sure you setup your SnailTracker server.  Then come back and implement this script.

This is still in development, but it's almost ready.  You will simply need to include snailtracker.min.js, and include the following:
```
$(function(){
    SnailTracker.api_url = "http://your-app-url.com";
    SnailTracker.api_key = "the-app-api-key-you-generated-for-this-web-app";
    SnailTracker.initialize();
});
```

And it will start tracking your users!

TODO
----
There are still a few very important things to wrap up first:

1.  (DONE) Ignore password fields and anything that looks like a credit card (12-20 numbers).

2.  Cache the results locally before sending (instead of sending hundreds of requests).

3.  Actually get the JS combined and minified.

4.  Expire the session after 24 hours of inactivity.

License
-------
AGPL

{'fraction_non_alphanumeric': 0.11276701440635867, 'fraction_numerical': 0.009935419771485345, 'mean_word_length': 4.009950248756219, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6377344', 'n_tokens_mistral': 600, 'n_tokens_neox': 579, 'n_words': 235}