# ShareX-Uploader

ShareX-Uploader is a self-hosted cloud app. A lightweight self-hosted PHP upload script that works with ShareX to send screenshots and files to your own server. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/3305/sharex-uploader

## Description

A lightweight self-hosted PHP upload script that works with ShareX to send screenshots and files to your own server. It gives ShareX users a simple private upload destination controlled by a secret key.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

22/100 (Low), based on 4 of 4 factors.
- Maintained: 0 (last commit 2053 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 100 (100 MB minimum RAM)

## Links

- GitHub: https://github.com/script-head/ShareX-Uploader
- Unraid: https://ca.unraid.net/apps/sharex-uploader-1aiix0o1bbf0b8?q=ShareX-Uploader

## Common questions

### How do I control who can upload to the script?

Set the $secret_key variable in upload.php to a random value, because ShareX-Uploader uses that key to authorize uploads.

### Where are files saved if I leave the folder destination blank?

They are saved in the same folder as the upload script.

### How do I serve uploaded files from a different public domain than the upload endpoint?

Set $domain_url to the public file origin without a trailing slash and set $folder_destination to the filesystem storage folder.

### Why might ShareX give no feedback after capture when an upload to the server fails?

ShareX will not ask or notify you if there is no after-capture task that uploads images to a host.

---
Source: Our Local Host (https://ourlocalhost.com/app/3305/sharex-uploader), the self-hosted and open-source app directory.
