sharex-php-uploader/README.md

40 lines
1.2 KiB
Markdown
Raw Normal View History

2023-04-09 11:00:10 +00:00
# ShareX Upload Script
2023-04-09 15:51:05 +00:00
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.
2023-04-09 11:00:10 +00:00
2023-04-09 11:39:58 +00:00
## Features
2023-04-09 11:00:10 +00:00
2023-04-09 15:51:05 +00:00
- Effortlessly upload screenshots to your website using ShareX.
- Automatically convert screenshots to WebP format.
2023-04-09 11:39:58 +00:00
2023-06-18 00:31:42 +00:00
## Requirements
- PHP (Tested on PHP 8.1.12-1ubuntu4)
- GD Library (If using webp conversion)
2023-04-09 11:39:58 +00:00
## Installation
2023-04-09 15:51:05 +00:00
To install this script:
2023-04-09 11:39:58 +00:00
2023-04-09 15:51:05 +00:00
- Find a suitable location to host the script (with at least 5GB of storage).
- Verify that your web server has the GD library installed. (See instructions below for Ubuntu installation.)
- 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 the script!
2023-04-09 11:39:58 +00:00
2023-04-09 15:51:05 +00:00
## Need Help?
2023-04-09 11:45:20 +00:00
2023-06-18 00:19:19 +00:00
If you require assistance, feel free to contact me via Discord at `fascinated7`.
2023-04-09 11:56:49 +00:00
2023-04-09 15:51:05 +00:00
## How to Install GD Library on Ubuntu
2023-04-09 11:56:49 +00:00
2023-04-09 15:51:05 +00:00
- `sudo apt-get install php-gd`
- Add extension=gd to your php.ini file.
- Restart your web server and php.
2023-04-09 11:45:20 +00:00
2023-04-09 15:51:05 +00:00
## Other Information
This project is maintained on my Gitea instance: <https://git.fascinated.cc/Fascinated/sharex-php-uploader>