<commit_before>>Original: https://megumin.love

# Megumin.love
A site committed to worshipping best girl Megumin!

Runs under NodeJS with Express, SQLite3 and Socket.IO.

## Self-hosting Usage:
- Rename `config.sample.js` to ``config.js` and adjust as needed/wanted
- Run `npm install` in a terminal to install dependencies
- Start the website using `node server.js`
- Click!

#### Information

If you do not plan on using the prepared database that comes by default located in `/db/megumin_yamero.db` as is, you will either have to rename the database name to your liking, or create one of your own and execute the queries below on it before being able to run the website.

In addition, if you add to the errorTemplates, you will have to create the actual html pages for these in `/pages/errorTemplates` aswell, otherwise this setting will not take effect.

##### Necessary queries:

1) `CREATE TABLE yamero_counter ( counter INT NOT NULL );`

2) `INSERT INTO yamero_counter (counter) VALUES ('0');`

### Adding new sounds:
- Put your new sound files in the `/sounds/` folder (in mp3, ogg, aac and format)
- Add your sound's name (name of the file!) to the sounds array in ``/js/sounds.js``

And that's it. Your sound will automatically be added to the main button's available sounds.

##### Information:
To add new sounds to the Soundboard, a button for each has to be created in the `soundboard.html` file.

#### License

Licensed under the MIT License.<commit_msg>readme update<commit_after>>Original: https://megumin.love

# Megumin.love
A site committed to worshipping best girl Megumin!

Runs under NodeJS with Express, SQLite3 and Socket.IO.

## Self-hosting Usage:
- Rename `config.sample.js` to ``config.js` and adjust as needed/wanted
- Run `npm install` in a terminal to install dependencies
- Start the website using `node server.js`
- Click!

#### Information

If you do not plan on using the prepared database that comes by default located in `./db/megumin_yamero.db` as is, you will either have to rename the database name to your liking, or create one of your own and execute the queries below on it before being able to run the website.

In addition, if you add to the errorTemplates, you will have to create the actual html pages for these in `./pages/errorTemplates/` aswell, otherwise this setting will not take effect.

##### Necessary queries:

1) `CREATE TABLE yamero_counter ( counter INT NOT NULL );`

2) `INSERT INTO yamero_counter (counter) VALUES ('0');`

### Adding new sounds:
- Put your new sound files in the `./sounds/` folder (in mp3, ogg, aac and format)
- Add your sound's name (name of the files!) to the sounds array in ``./js/sounds.js``

And that's it. Your sound will automatically be added to the main button's available sounds.

##### Information:
To add new sounds to the Soundboard, a button for each has to be created in the `./pages/soundboard.html` file.

#### License

Licensed under the [MIT License](LICENSE.md).
{'fraction_non_alphanumeric': 0.0887314439946019, 'fraction_numerical': 0.0033738191632928477, 'mean_word_length': 4.210896309314587, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3330199', 'n_tokens_mistral': 863, 'n_tokens_neox': 828, 'n_words': 432}