ShareX-Server is a powerful ShareX server. You can use this if you prefer host your pictures on your own server or your own website instead of host your pictures on a publics websites, or for multiple reasons. All file types are supported !
The ShareX software is required for use ShareX-Server. You can access to the official website of ShareX for download the software by clicking here.
This server can works to latest version of PHP, and it is compatible with Apache and Nginx.
• Upload files
1 - Download the files of this repository.
2 - Upload the downloaded files on your server or in the files manager of your website.
3 - Extract the files of the compressed folder. (If before the extraction you have a .htaccess file in the files of your website, it is recommanded to delete it.
Warning : If you use a panel for manage your website, check if it does not have an option for see hidden files. If you can, it is recommanded to use the (s)FTP service, it does not hide the files.)
4 - Delete the compressed folder. (Optional. This action reduces the used disk space.)
5 - Open the server.php
file with a code editor, and follow the instructions who are located in this last.
6 - Create a folder named files
in the directory where you can find the server.php
file of the ShareX server.
1 - Open the ShareX sofware.
2 - In the list of tools at up at left, click on the button named Destination
, then click on the Custom uploader settings…
button.
3 - Click on the New
button.
4 - In the URL
field, indicate the domain name of your website, or the IP adress of your server if you haven't domain name.
In the dropdown list named Body
, select Form data (multipart/form-data)
.
In the table who are located below the dropdown list, indicate in the first line at the Name
column username
and in the next colomn your username, the one you specified in the server.php
file.
A second line appeared in the table, indicate in the second line at the Name
column password
and in the next column your password, the one you have also specified in the server.php
file.
5 - In the File from name
field, indicate file
.
6 - Click on the Response
tab.
7 - In the URL
field, indicate $json:url$
.
Leave blank the Thumbnail URL
field.
In the Deletion URL
field, indicate $json:deletion_url$
.
Then, in the Error message
field, indicate $json:status$
.
8 - Close the window of configuration of the remote server.
9 - Click on the Destination
button, then pass your cursor on the Image uploader: [...]
button, and select Custom image uploader
.
If you need help, open new issue by cliking here.