<commit_before># Rem v2
>The rewrite of Rem, now even cleaner and soon fully documented.

[![Discord](https://discordapp.com/api/guilds/206530953391243275/embed.png)](https://discord.gg/yuTxmYn) [![Dependencies](https://david-dm.org/DasWolke/rem-v2/status.svg)](https://david-dm.org/DasWolke/rem-v2) [![GitHub stars](https://img.shields.io/github/stars/badges/shields.svg?style=social&label=Star)]()[![GitHub issues](https://img.shields.io/github/issues/badges/shields.svg)]()
## Requirements:
* Node and NPM
* Git
* MongoDB (follow instructions on how to configure the server at https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/)
* ffmpeg and youtube-dl
* Buildtools and Python 2.7
* Basic understanding of node
## Installation instructions
1. Install MongoDB with the [guide](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/).
2. Install git, Here is the [link](https://git-scm.com/downloads) to get it.
3. Install node, Here is the [link](https://nodejs.org/en/download/current/) to get it.
4. Install youtube-dl, which can be found [here](https://rg3.github.io/youtube-dl/download.html), make sure to have it in your path.
5. Install ffmpeg and add it to path, it can be found [here](https://ffmpeg.org/download.html)
6. If you have Windows, open a console with administrator permissions and type `npm install --global windows-build-tools` into it. This will install the neccessary tools, which will be later needed by npm to build Rems dependencies
7. For Linux environments, you should get `buildtools-essentials` and `python 2.7` installed.
8. Clone the source of v2 from git
9. Go into the just created directory and open a cmd and execute `npm install`
10. Create the following directories within the root: `temp`,`audio`,`config`
11. Create 2 files within the config directory: `config.json` and `keys.json`. An Example can be found down below.

## Example config.json
```json
{
  "owner":"The owner name",
  "owner_id":"The discord id of the owner",
  "token":"The actual discord api token",
  "client_id":"the client id of the bot",
  "bot_id":"the bot id of the bot, if there is no field in the app screen named bot id, copy the clientid in here",<commit_msg>better.<commit_after># Rem v2
>The rewrite of Rem, now even cleaner and soon fully documented.

[![Discord](https://discordapp.com/api/guilds/206530953391243275/embed.png)](https://discord.gg/yuTxmYn) [![Dependencies](https://david-dm.org/DasWolke/rem-v2/status.svg)](https://david-dm.org/DasWolke/rem-v2) [![GitHub stars](https://img.shields.io/github/stars/DasWolke/rem-v2.svg?style=social&label=Star)]()[![GitHub issues](https://img.shields.io/github/issues/DasWolke/rem-v2.svg)]()
## Requirements:
* Node and NPM
* Git
* MongoDB (follow instructions on how to configure the server at https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/)
* ffmpeg and youtube-dl
* Buildtools and Python 2.7
* Basic understanding of node

## Installation instructions
1. Install MongoDB with the [guide](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/).
2. Install git, Here is the [link](https://git-scm.com/downloads) to get it.
3. Install node, Here is the [link](https://nodejs.org/en/download/current/) to get it.
4. Install youtube-dl, which can be found [here](https://rg3.github.io/youtube-dl/download.html), make sure to have it in your path.
5. Install ffmpeg and add it to path, it can be found [here](https://ffmpeg.org/download.html)
6. If you have Windows, open a console with administrator permissions and type `npm install --global windows-build-tools` into it. This will install the neccessary tools, which will be later needed by npm to build Rems dependencies
7. For Linux environments, you should get `buildtools-essentials` and `python 2.7` installed.
8. Clone the source of v2 from git
9. Go into the just created directory and open a cmd and execute `npm install`
10. Create the following directories within the root: `temp`,`audio`,`config`
11. Create 2 files within the config directory: `config.json` and `keys.json`. An Example can be found down below.

## Example config.json
```json
{
  "owner":"The owner name",
  "owner_id":"The discord id of the owner",
  "token":"The actual discord api token",
  "client_id":"the client id of the bot",
  "bot_id":"the bot id of the bot, if there is no field in the app screen named bot id, copy the clientid in here",
{'fraction_non_alphanumeric': 0.12921475446933695, 'fraction_numerical': 0.019008825526137134, 'mean_word_length': 4.587863463969659, 'pattern_counts': {'":': 10, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '159169', 'n_tokens_mistral': 1479, 'n_tokens_neox': 1359, 'n_words': 493}