sharex-php-uploader/README.md

45 lines
1.8 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
2023-07-04 17:27:58 +00:00
- Docker
- ShareX
2023-06-18 00:31:42 +00:00
2023-04-09 11:39:58 +00:00
## Installation
2023-07-04 17:27:58 +00:00
1. Copy the `docker-compose.yml` file to your server.
2. Edit the `docker-compose.yml` file and change `MAX_UPLOAD_SIZE` to the maximum file size you want to allow, and update `./uploads` to where you want to store the files.
3. Run `docker-compose up -d` to start the container.
4. Go to where the files are stored and edit the variables in `upload.php` to your liking.
5. Run `docker-compose restart` to restart the container.
6. Go to Post Installation to configure ShareX.
2023-04-09 11:39:58 +00:00
2023-07-04 17:27:58 +00:00
## Installation (Unraid)
2023-04-09 11:39:58 +00:00
2023-07-04 17:27:58 +00:00
1. Install the container from Community Applications and then edit the variables in the container.
2. Go to where the files are stored and edit the variables in `upload.php` to your liking.
3. Restart the container.
4. Go to Post Installation to configure ShareX.
2023-04-09 11:45:20 +00:00
2023-07-04 17:27:58 +00:00
## Post Installation
2023-04-09 11:56:49 +00:00
2023-07-04 17:27:58 +00:00
1. Open ShareX and go to Destinations > Custom Uploader Settings.
2. Click on Import > From URL and enter `https://git.fascinated.cc/Fascinated/sharex-php-uploader/raw/branch/master/sharex.sxcu`.
3. Edit the URL to your website's URL.
4. 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.
2023-04-09 11:56:49 +00:00
2023-07-04 17:27:58 +00:00
## Need Help?
If you require assistance, feel free to contact me via Discord at `fascinated7`.
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>