2022-11-28 16:54:32 +01:00
2022-11-20 15:49:55 +01:00
2022-11-20 16:27:51 +01:00
2022-11-20 15:53:12 +01:00
2022-11-20 15:49:55 +01:00
2022-11-20 13:31:37 +01:00
2022-11-20 15:49:55 +01:00
2022-11-20 16:01:58 +01:00
2022-11-28 16:54:32 +01:00
2022-11-20 13:31:37 +01:00
2022-11-20 15:49:55 +01:00
2022-11-20 15:49:55 +01:00
2022-11-28 16:54:32 +01:00
2022-11-20 15:49:55 +01:00

share-stuff-yes

Sr Izan's ShareX custom uploader thing (gimme a name please)

how to self host it yourself

We're going to be using Docker here.

Step 1: Download the image

docker pull srizan10/share-stuff

Step 2: Run the container (and mount the images as a volume)

You shouldn't have all your images in a container, because if there was some bug or data loss to the point where you can't backup the files, you're screwed.

docker run -d -t --name sharex-sharestuff -v /host/path/to/have/your/files:/app/dist/i -e AUTHTOKEN="ARANDOMSTRING" -e INSTANCEURL=https://yourinstancedomain.tld --restart unless-stopped -p 80:8080 srizan10/share-stuff

The --name can be changed to your liking.

On the volume part, change the /host/path/to/have/your/files to where you want to have the files hosted. The AUTHTOKEN env variable should be a really long random string with special characters, numbers, letters... I mean, go crazy! Whoever has that token can upload ANYTHING to the server. This is a solid generator.

For the INSTANCEURL variable, you need to set the main URL the server without the slash at the end. For example: https://thissubdomainisanexample.srizan.ml and NOT https://thissubdomainisanexample.srizan.ml/.

You can remove the --restart flag if you don't want the container to power up automatically every time the host server powers up.

In -p you can edit the first part, aka the port.

Step 3: Enjoy!

Congrats, you did it!

Add the sxcu file to your ShareX

Step 1: Download it and edit it.

Here's a video:

https://user-images.githubusercontent.com/66965250/202909741-7932cbdf-4798-48c2-88d7-248cd74c3858.mp4

Also I forgot to mention in the short video that in the URL you need to add /upload, so it's https://yourdomain.tld/upload

Step 2: Double click it.

Simple and straight forward. It'll import automagically to ShareX

Step 3: Finally, now you can upload your stuff

😎

Description
Sr Izan's ShareX custom uploader thing (gimme a name please)
Readme MIT 70 KiB
Languages
TypeScript 83.9%
Dockerfile 16.1%