All Projects → KNIF → ShareX-CDN

KNIF / ShareX-CDN

Licence: AGPL-3.0 License
Basic image, text & file uploader CDN for ShareX

Programming Languages

HTML
75241 projects
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to ShareX-CDN

Chibisafe
Blazing fast file uploader and awesome bunker written in node! 🚀
Stars: ✭ 657 (+2886.36%)
Mutual labels:  upload, file, uploader
Angular File Uploader
Angular file uploader is an Angular 2/4/5/6/7/8/9/10 + file uploader module with Real-Time Progress Bar, Responsive design, Angular Universal Compatibility, localization and multiple themes which includes Drag and Drop and much more.
Stars: ✭ 92 (+318.18%)
Mutual labels:  upload, file, uploader
Droply Js
Droply JS, a new responsive and cross browser chunk uploader with DragDrop and File Preview capabilities (HTML5/CSS3)
Stars: ✭ 50 (+127.27%)
Mutual labels:  upload, file, uploader
Uploadcare Widget
Uploadcare Widget, an ultimate tool for HTML5 file upload supporting multiple file upload, drag&drop, validation by file size/file extension/MIME file type, progress bar for file uploads, image preview.
Stars: ✭ 183 (+731.82%)
Mutual labels:  upload, file, uploader
Laravel Simple Uploader
Simple file uploader for Laravel 5.
Stars: ✭ 59 (+168.18%)
Mutual labels:  upload, file, uploader
ic-firebase-uploader
This component is a multi-file uploader for firebase
Stars: ✭ 21 (-4.55%)
Mutual labels:  upload, file, uploader
filestack-ios
Official iOS SDK for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
Stars: ✭ 44 (+100%)
Mutual labels:  upload, uploader
google-music-manager-uploader
Google Music Manager Uploader module / Easily upload MP3 (folder) to Google Music
Stars: ✭ 21 (-4.55%)
Mutual labels:  upload, uploader
RxUploader
Uploader for Android using RxJava
Stars: ✭ 72 (+227.27%)
Mutual labels:  upload, uploader
arrayfiles
Array-like File Access in Python
Stars: ✭ 41 (+86.36%)
Mutual labels:  text, file
PHP-FileUpload
Simple and convenient file uploads — secure by default
Stars: ✭ 53 (+140.91%)
Mutual labels:  upload, file
mat-file-upload
A simple & configurable Angular Material file upload component.
Stars: ✭ 14 (-36.36%)
Mutual labels:  upload, file
go-fastly-cli
CLI tool for interacting with Fastly CDN services via official REST API.
Stars: ✭ 14 (-36.36%)
Mutual labels:  cdn, upload
ElUploader-OSS-Solution
ElementUI - Upload 组件结合 OSS 的封装
Stars: ✭ 28 (+27.27%)
Mutual labels:  cdn, upload
ngx-dropzone
A highly configurable dropzone component for Angular.
Stars: ✭ 123 (+459.09%)
Mutual labels:  upload, file
replace-in-files
Replace text in one or more files or globs.
Stars: ✭ 21 (-4.55%)
Mutual labels:  text, file
windows-azure-storage
Use the Microsoft Azure Storage service to host your website's media files.
Stars: ✭ 48 (+118.18%)
Mutual labels:  cdn, upload
react-file-input-previews-base64
This package provides an easy to use, ready to go and customizable wrapper around file input, with option for image previews and returning file as base64 string.
Stars: ✭ 15 (-31.82%)
Mutual labels:  upload, file
safe-svg
Enable SVG uploads and sanitize them to stop XML/SVG vulnerabilities in your WordPress website.
Stars: ✭ 129 (+486.36%)
Mutual labels:  upload, file
file-upload-with-preview
🖼 Simple file-upload utility that shows a preview of the uploaded image. Written in TypeScript. No dependencies. Works well with or without a framework.
Stars: ✭ 406 (+1745.45%)
Mutual labels:  upload, file

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.

Requirements

  • ShareX installed
  • A website or webserver (needs to accept PHP and file uploads via POST requests)
  • A domain or subdomain

Setup

Upload Script

  1. Clone the code from GitHub.
  2. Go in the Upload folder.
  3. Open upload.php with Notepad++.
  4. Edit line 7, 8 and 9 to change your password and link (read the comments next to them).
    • Password: this only lets users with the password upload files to your server
    • Domain URL: set this to your domain (or subdomain) and don't forget the / at the end of the line
    • Length: this specifies the length of the randomly generated folder- & filenames (e.g. https://cdn.knif.dev/img/3lfUh/S1E7M.png has a length of 5 (the URL starts with the domain, then /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)))
  5. Upload the content of the Upload folder to the root directory of your website (I prefer to make a subdomain called "cdn" and put the folder to its directory).
  6. Make sure that sub-folders have permissions set to 755 (and Group ID set to 33 if applicable), with the upload.php script having permissions of 777.

ShareX

  1. Open all three .sxcu files from the ShareX-Config folder with a Notepad++ and change the RequestURL and password to your own.
  2. Open ShareX, click on Destinations and Custom uploader settings.
  3. Click on Import and select the first .sxcu file, repeat this for the others aswell.
  4. In the bottom left select the corresponding uploader (Image, Text and File).
  5. Click on 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.

What to do if I can't get it to work?

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 😉

Credits

  • Statuspage for their amazing error 404 & 403 templates
  • Pengu for his initial ShareX uploader script I used as a base
  • ShareX for their awesome program that enables us to upload our screenshots
  • GenericNerd for his fork, which fixed some issues with my script
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].