This PHP script allows you to easily upload ShareX screenshots and videos. It includes token authentication for security and can handle various image file types by converting them to WebP format for efficient storage.
README.md | ||
upload.php | ||
Uploader.sxcu |
ShareX Upload Script
This is a PHP script that lets you easily upload screenshots taken with the ShareX app to your website. ShareX is a popular screenshot tool for Windows that allows you to take screenshots, annotate them, and share them online.
Features
- Uploads screenshots to your website using ShareX.
- Can automatically convert screenshots to WebP format.
Installation
- Find somewhere to host the script (Preferably more than 5GB of storage).
- Check that your web server has the GD library installed. (See below for instructions on how to install it on Ubuntu.)
- Upload the files to your server.
- Edit the
upload.php
file to configure the script. - Add the custom uploader to ShareX.
- Configure the custom uploader in ShareX.
- Test it!
Help
If you need help, you can contact me on Discord at Fascinated#7668
.
How to install GD Library on Ubuntu
sudo apt-get install php-gd
- Add
extension=gd
to your php.ini file. - Restart your web server and php.
Other
This project is worked on at my Gitea instance: https://git.fascinated.cc/Fascinated/sharex-php-uploader