ShareX Server is an open-source web application for uploading and sharing images, files, and text.
- Upload images, files and text
- View images, music, videos and text
- PHP 7.2 or higher
- MySQL database/ SQLite database
- Rewrite module enabled
- phpx.x-sqlite or phpx.x-mysql depending on your database type (x is your php version)
- Clone the repository
- Edit the
config.php
file on config folder. Don't forget to change the token.
- You can see full configuration on this image: https://cdn.mathysl.xyz/zyewuOtzCfvH.png
- On name, you can put your custom name for your server
- On destination type, you can select
Image Uploader
,Text Uploader
andFile Uploader
- On method, you select
POST
- On request URL, you put your domain name (ex: https://example.com/ or https://cdn.example.com/)
- On Body select
Form data (multipart/form-data)
- On Headers put in name
Authorization
and in ValueBearer YOUR_TOKEN
define on config.php - On File form name, you put
file
- On URL form name, you put
{json:data}
- On Deletion URL, you put
{json:delete}
- On error message, you put
{json:error}
- Now you can save your configuration and test it
- Acctualy, the server is made for running without specification of api.php on url. (for acces to a file use https://example.com/file)
- GitHub Issues
- Discord:
SepiaRovilhar#3003
- This project not contain admin panel, if you want to delete a file, you need to use URL given.
- The project owner is not responsible for any illegal use of this project.
- The project owner is not responsible for any damage caused by this project.
- The project owner is not responsible for any damage caused by the use of this project.
- This project is still in development, so it may have bugs and errors.
- For critical bug, contact me on email:
mathys@mathysl.xyz