Basic image, text & file uploader CDN for ShareX
Basic image, text & file uploader CDN for ShareX which allows you to upload your screenshots, text documents and any other files to your website and have a random link generated. Because of the length these links are very hard to bruteforce.
Upload
folder.upload.php
with Notepad++./
at the end of the line/img/
, a random folder name with the length you specified (in this case 5
), a random file name with the specified length (in this case 5
) and the extension (in this case .png
)))Upload
folder to the root directory of your website (I prefer to make a subdomain called “cdn” and put the folder to its directory)..sxcu
files from the ShareX-Config
folder with a Notepad++ and change the RequestURL
and password
to your own.Destinations
and Custom uploader settings
.Import
and select the first .sxcu
file, repeat this for the others aswell.Image
, Text
and File
).Test
to check if everything is working correctly.Done! That’s it. If something doesn’t quite work out for you just contact me on Discord and I’ll try my best to help you.
I created this project a few years ago and it is really hard to get it working with all these different NGINX/Apache configurations, so just try a few things before giving up.
If you get an upload failed because of “error: request entity too large” your server doesn’t accept large files via PHP upload. You can fix this issue by increasing your PHP upload limit.
If you can’t increase it yourself you have to contact your hosting provider to do it for you.
Also maybe the script doesn’t have enough permissions to create the files/folders correctly.
Try to change the permissions of all files and folders in the upload dir to 755
or 777
.
If you still can’t get it working just try to use the built in FTP uploader in ShareX, it’s way easier to setup than this project 😉