<commit_before># Kanbasnat - A relay between Hangouts and IRC

This is a work in progress. It should currently not be used for anything other than development.

# Configuration

On the first run it will prompt you to follow a link and enter the OAUTH token for the google account you'll be using for this. The rest of the config.json example is pretty self explanatory.

**NOTE** that the auth information from the first run is currently stored in `./node_modules/hangupsjs/cookies.json`, and so you should treat your `node_modules` folder as containing sensitive information. This location will likely change soon.

# License

AGPL 3, the maxiumum amount of freedom.<commit_msg>Readme updates<commit_after># Kanbasnat - A relay between Hangouts and IRC

This software is meant to bridge a groupchat in Google Hangouts and an IRC channel.
It's seen pretty extensive use at this point.

The dangerous part is the auth (see below).

Figuring out the hangout id also is left as an excersize for the reader at the moment (sorry!).

# Configuration

On the first run, it will ask you via irc (please configure owner!) to follow a link and respond with an OAUTH token for the google account you'll use this with.

**NODE** that the auth information is stored a) in a file in the cwd named `cookies.json` and, in addition, in `/var/lib/kanbasnat/auth.json` if possible.

On each run after the first, if the above file is present that file will be used to auth. If it is not, it will again ask you over irc for the token.
Remember to practice safe SSL when giving google oauth tokens to bots :)

# License

AGPL 3, the maxiumum amount of freedom.
{'fraction_non_alphanumeric': 0.04884004884004884, 'fraction_numerical': 0.001221001221001221, 'mean_word_length': 4.137931034482759, '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': '6008338', 'n_tokens_mistral': 439, 'n_tokens_neox': 422, 'n_words': 267}