1.8 KiB
1.8 KiB
ShareX Upload Script
This PHP script allows you to effortlessly upload your ShareX app screenshots to your website. ShareX is a widely-used Windows screenshot tool that enables users to take screenshots, annotate them, and share them online.
Features
- Effortlessly upload screenshots to your website using ShareX.
- Automatically convert screenshots to WebP format.
Requirements
- Docker
- ShareX
Installation
- Copy the
docker-compose.yml
file to your server. - Edit the
docker-compose.yml
file and changeMAX_UPLOAD_SIZE
to the maximum file size you want to allow, and update./uploads
to where you want to store the files. - Run
docker-compose up -d
to start the container. - Go to where the files are stored and edit the variables in
upload.php
to your liking. - Run
docker-compose restart
to restart the container. - Go to Post Installation to configure ShareX.
Installation (Unraid)
- Install the container from Community Applications and then edit the variables in the container.
- Go to where the files are stored and edit the variables in
upload.php
to your liking. - Restart the container.
- Go to Post Installation to configure ShareX.
Post Installation
- Open ShareX and go to Destinations > Custom Uploader Settings.
- Click on Import > From URL and enter
https://git.fascinated.cc/Fascinated/sharex-php-uploader/raw/branch/master/sharex.sxcu
. - Edit the URL to your website's URL.
- Click on Test after you've edited the URL and it should return a URL. If it doesn't, check your settings or contact me.
Need Help?
If you require assistance, feel free to contact me via Discord at fascinated7
.
Other Information
This project is maintained on my Gitea instance: https://git.fascinated.cc/Fascinated/sharex-php-uploader