<commit_before># Dumpster
A self-hosted and API-based file upload server supporting YubiKey OTP authentication. Written in *NodeJS*.

## Installation
+ Clone the repo.
+ Navigate to the cloned directory and issue `npm install`.
+ Edit the configuration file (see the **Configuration** section).
+ Enjoy *Dumpster* with `node server.js`!
  + Protip: schedule a cron job to delete uploaded files every fixed time lapse, and voilà! You've got your personal temporary file upload server.

## Configuration<commit_msg>Added codacy badge to README<commit_after># Dumpster
A self-hosted and API-based file upload server supporting YubiKey OTP authentication. Written in *NodeJS*.

[![Codacy Badge](https://api.codacy.com/project/badge/grade/29b49730fea944feb66f85f73f4c858f)](https://www.codacy.com/app/nmaggioni/Dumpster)

## Installation
+ Clone the repo.
+ Navigate to the cloned directory and issue `npm install`.
+ Edit the configuration file (see the **Configuration** section).
+ Enjoy *Dumpster* with `node server.js`!
  + Protip: schedule a cron job to delete uploaded files every fixed time lapse, and voilà! You've got your personal temporary file upload server.

## Configuration
{'fraction_non_alphanumeric': 0.09121621621621621, 'fraction_numerical': 0.016891891891891893, 'mean_word_length': 5.139896373056994, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, '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': '5023528', 'n_tokens_mistral': 367, 'n_tokens_neox': 339, 'n_words': 137}