This is a simple ShareX server that can host:
- Files
- Text
- Images
The config.json should follow this format:
mongoURI: A mongoDB URL that can store the images
webhook: A Discord Webhook URL that is used for sending logs
token: The password that you want to use for the Authentication header
domain: The domain name that the webhook and upload routes return
port?: A port number (if not provided, it will default to 3000)
- Go to destinations at the side
- Set image, file and text uploader to Custom Image/File/Text Uploader
- Go into the custom uploader settings
- Set file form name to image
- Set method to POST
- Set the URL to https://domain/api/upload
- Set type to Image, Text and File
- Set Authentication header to your config's token
You can contribute by making a pull request.