i.augu.dev
💖 | ShareX uploader for personal use.
Installation
Requirements
- Node.js v10+
Process
- Fork the repository here
- Clone the forked repository (
git clone https://github.com/$USERNAME/i.augu.dev
) - Change the directory to
i.augu.dev
and runnpm i
to install the local dependencies- Note: If you don't have ESLint installed, run
npm i -g eslint
!
- Note: If you don't have ESLint installed, run
- Change the directory to the
src
folder and runnode app.js
ShareX Configuration
Replace
<url>
with your personal domain!Replace
<name>
with the name you want to use when you select it!
{
"Version": "13.0.1",
"Name": "<name>",
"DestinationType": "ImageUploader, FileUploader",
"RequestMethod": "POST",
"RequestURL": "<url>",
"Headers": {
"Authorization": "<key u generated>"
},
"Body": "MultipartFormData",
"FileFormName": "fdata",
"URL": "<url>/$json:filename$"
}
Master Key
If you want to generate a key instead of spamming your keyboard, run this in a terminal: node -e 'console.log(require("crypto").randomBytes(32).toString("hex"))'
or run node app.js --gen
under the src directory
Server Configuration
{
"environment": "development", // The environment of the server
"dbUrl": "mongodb://localhost:27017", // The database URL of the MongoDB instance
"port": 7795, // The port to run the server in
"key": "", // The master key to upload files
"features": { // An object of features to disable/enable
"gc": true // Enable/Disable the Garbage Collector (removes images per week)
}
}
License
i.augu.dev is released under the MIT License, view more information here