TukanImageHosting webserver that interacts with ShareX
You need to use nginx or anything similar to make this work on your domain or just set port to 80 in .env
- download repo
- run npm install (in directory of project)
- make folder "files"
- modify .env file
- npm i pm2 -g / use screen
- run node tukanimages.js / pm2 start tukanimages.js
{
"Version": "13.0.1",
"Name": "Uploader name",
"DestinationType": "ImageUploader, TextUploader, FileUploader, URLShortener",
"RequestMethod": "POST",
"RequestURL": "https://yourdomain.tld/upload",
"Headers": {
"secret": "secret from .env"
},
"Body": "Binary",
"URL": "https://yourdomain.tld/$json:.url$"
}
UPLOAD_SECRET=changeme123
PORT=3117
HOST=0.0.0.0
server {
listen 80;
listen [::]:80;
server_name yourdomain.tld;
location / {
proxy_pass http://public ip address of your server/vps:.env port/;
}
}