sharex-php-uploader/README.md

33 lines
1.1 KiB
Markdown
Raw Normal View History

2023-04-09 11:00:10 +00:00
# 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.
2023-04-09 11:39:58 +00:00
## Features
2023-04-09 11:00:10 +00:00
2023-04-09 11:39:58 +00:00
- Uploads screenshots to your website using ShareX.
- Can automatically convert screenshots to WebP format.
## Installation
2023-04-09 11:41:13 +00:00
1. Find somewhere to host the script (Preferably more than 5GB of storage).
2023-04-09 11:57:34 +00:00
2. Check that your web server has the GD library installed. (See below for instructions on how to install it on Ubuntu.)
3. Upload the files to your server.
4. Edit the `upload.php` file to configure the script.
5. Add the custom uploader to ShareX.
6. Configure the custom uploader in ShareX.
7. Test it!
2023-04-09 11:39:58 +00:00
## Help
If you need help, you can contact me on Discord at `Fascinated#7668`.
2023-04-09 11:45:20 +00:00
2023-04-09 11:56:49 +00:00
## How to install GD Library on Ubuntu
1. `sudo apt-get install php-gd`
2. Add `extension=gd` to your php.ini file.
3. Restart your web server and php.
2023-04-09 11:45:20 +00:00
## Other
This project is worked on at my Gitea instance: <https://git.fascinated.cc/Fascinated/sharex-php-uploader>