From 795ea211f0d16fba8c194fbe6b88dd732b4774d7 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 4 Jul 2022 21:19:39 +0600 Subject: first commit --- README.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..696ea9f --- /dev/null +++ b/README.md @@ -0,0 +1,51 @@ + + +
+

+ File Hoster! +
+ wakatime +

+ +
+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 | + | ---- | ----- | + | Request URL: | ``/dank_upload | + | Form field: | file | + | Extra Headers: | no-redirect: true | + | Image Link: | ``/i/{name} | \ No newline at end of file -- cgit v1.2.3