File Hoster!
A small file hoster on ExpressJS.
## Installation:
1. Use the script...
1. as a standalone app:
```bash
$ git clone https://github.com/notdankenough/fh.git
$ cd fh
$ npm install
$ npm run start
```
2. as a module for your project:
```bash
$ git submodule add https://github.com/notdankenough/fh.git
```
and you can import it as: `import SRouter from "./fh/router";`
## Use in other tools:
1. [
Chatterino 2 (by fourtf, pajlada, and more...)](https://github.com/chatterino/chatterino2):
1. Go to `Settings -> External Tools -> Image Uploader` and paste the values in the relevant fields:
| Field | Value | Example |
| ---- | ------ | ------- |
| Request URL: | ``/dank_upload | https://hmmtodayiwill.ru/i/dank_upload
| Form field: | file |
| Extra Headers: | no-redirect: true |
| Image Link: | ``/i/{name} | https://hmmtodayiwill.ru/i/{file}