For easy use with ShareX
- Create config.js using the sample
- Mount /data folder when running
3ventic/ShortUrl:latest
for data persistence
- Clone repo
- Copy config.sample.js to config.js
- Edit config.js
npm install
node server
Edit & import (in whatever order) to ShareX custom uploaders after installing.
{
"Name": "LABEL FOR MENUS",
"RequestType": "GET",
"RequestURL": "https://link.example.com/new",
"FileFormName": "",
"Arguments": {
"secret": "super secret passphrase from config.js",
"target": "$input$"
},
"Headers": {},
"ResponseType": "Text",
"RegexList": [],
"URL": "$json:short$",
"ThumbnailURL": "",
"DeletionURL": ""
}