apognu / deckshot

Automatic screenshot uploader for the Steam Deck
MIT License
5 stars 3 forks source link

[Feature Request] ShareX Config Support #3

Open aidendotgg opened 1 year ago

aidendotgg commented 1 year ago

ShareX Config support would be VERY easy to implement. Here is an example of what a ShareX config looks like from my personal image uploader. Here are the docs for custom uploaders on ShareX https://getsharex.com/docs/custom-uploader

{
  "Name": "E-Z.Host Image Hosting",
  "DestinationType": "ImageUploader, FileUploader",
  "RequestType": "POST",
  "RequestURL": "https://api.e-z.host/files",
  "FileFormName": "file",
  "Body": "MultipartFormData",
  "Headers": {
    "key": "redacted"
  },
  "URL": "$json:imageUrl$",
  "DeletionURL": "$json:deletionUrl$",
  "ErrorMessage": "$json:error$"
}
aidendotgg commented 1 year ago

If not ShareX config support, then maybe just custom endpoint support? Which would allow you to send custom headers and all.