masterdpro / sharex-custom-uploader-express

A custom uploader for shareX made with Express and love. Don't be affraid to give a little star !

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use it

If you have any issues, you can join my discord and ask for help https://discord.gg/bfS3yuCB8Z

Code side

Firstly, clone the repository

git clone https://github.com/masterdpro/sharex-custom-uploader-express
cd sharex-custom-uploader-express/

After, download the packages.

npm i

Open up ImageApi.js, change the secret_key and domain_url variables for whatever you want to use. You can also change lenghtofstring for a bigger or tinner chain

Code_Yi40lON411

And then the code should be ready to run !

node .

ShareX side

  1. Open ShareX (I know, weird step)
  2. Click on Destionations and then Custom uploader settings

sharex

  1. In the left upper corner, click on New

sharexnew

  1. Change the name for whatever you want, it doesn't matter, set destination type to image uploader
  2. Set the method to post and inster the Url to your API (the one that we made earlier). and add /upload at the end
  3. In the body part, add a data called secret, with the value of your choice, need to be the same as the one you put in the code, in our case YourSecretKey
  4. Finally, For the File form name, put sharex.

It should look like this...

sharexconfig

You can test it by clicking on the test button in the left down corner.

And it should be ready to go !

About

A custom uploader for shareX made with Express and love. Don't be affraid to give a little star !


Languages

Language:JavaScript 100.0%