IF YOU ARE UPDATING FROM AN OLDER VERSION, JUST REPLACE ALL FILES AND ONLY RUN UPGRADE.PHP!
V0.2:
- Rewrote how the config is changed and recognised during installation
- Added an update script, aswell as a new config entry for storing the installed version. This should give the upgrade script the opportunity do do whatever it needs regardless what version you upgrade from.
- Added version check to index and admin page to ensure upgrade has been done before new features can be accessed!
- Cleaned up admin interface a bit(Users has been removed from the Dropdown, and given its own button; added general settings page)
- When pariox cannot find an uploaded image (because it cannot access/find the temp PHP directory) it will now return the proper error instead of complaining thats it's a permission error
- Enabled directinking option.
ParioX is a php-written uploading, viewing and downloading tool for images, videos and files. Written to work for ShareX, but supports any POST request through form-data!
- Supports uploading of images, videos and files!
- mime type recognision, mimetypes not configured in the config are sorted as files and don't have a display feature
- Build in mp4 player!
- images scale to the size of the view window.
- Instant download feature
- User management system and multi user support. (planned in V0.3)
- A recent version of MySQL/MariaDB
- PHP 5.6
- Apache, nginx or any webserver with PHP support.
- Add support for Adsense on view.php / index.php
- Create an actual front page and not a dummy bootstrap layout
- Make it so the original filename will be kept upon download(this is more needed for uploaded files than images)
- Clean up the view page a bit
- the installation needs to be reworked and is a jquery mess, but works!
- Clean up the admin page
- Create roles for users and admins, now every user created has the power to delete other users.
- Create chunked upload system to allow for large file uploads, and prevent issues with php's max file size.
Q: I cannot upload a file that's larger than X megabytes!
A: ParioX's max file upload size is governed by the php max file size, and the php max post size settings in php.ini.
Q: why does XYZ look weird/unfinished?
A: This is a beta.
Q: Something's not working, and i'm sure i followed the instructions!
A: Please make an issue on the github issues page.
Q: Uploading an image returns a 500 error.
A: ParioX wasn't able to find the uploaded image in the temp php directory. This is a configuration issue in php.ini. set your php_tmp_dir
I wrote ParioX as an alternative to https://github.com/Pips801/UploadX, i wanted to use a custom uploader and UploadX did work, but only for images and it was quite a glitchy mess. Instead of rewriting it, i wrote ParioX from scratch from barebones PHP and 0 libaries. Just vanilla PHP, javascript and bootstrap as frontend keep ParioX running.
The vast amount of upload services compitable with ShareX(out of the box) either have shady agreements that make you give away all your rights to whatever you upload. Besides this, some delete your images if they don't get enough, or too many views. ParioX runs on your own webserver meaning whatever you upload is yours to keep and delete.
I currently pay 9 euro's a month for 200gb of storage on a VPS, and there's much better options for storage out there. Some shared hosting providers also provide 'unlimited' storage so get yourself a reputable host with a lot of storage options and you've got a great backup server for all your screenshots and clips you want to share.
-
Clone the repository or download the files to your root folder of your website or a subdomain. Installing in a folder is not recommended!
-
Ensure either: your database user has privilges to create databases, or if not you have created a database in advance. ParioX will attempt to create a database in the installation walktrough, or insert tables if it's unable to create it(if it has no permissions, or if the database already exists)
-
navigate to your (sub)domain where you installed the ParioX files.
-
Setup the database settings in the installation menu
-
Setup the website settings in the installation menu
-
Create a first user in the installation menu
-
Delete the 'install' folder from your Pariox installation directory.
- Navigate to your pariox installation
- Login using the credentials you created
- go to utilities > users
- download the pre-made sxcu file for ShareX, and open this with ShareX.
- Open this file with ShareX and confirm the promt
- Ensure installation was successful by testing an upload in the prompt that appears after step 5.
{
"Version": "13.0.1",
"Name": "Pariox",
"DestinationType": "ImageUploader, TextUploader, FileUploader",
"RequestMethod": "POST",
"RequestURL": "http://yourdomain.com/upload.php",
"Parameters": {
"key": "YOURAPIKEY"
},
"Body": "MultipartFormData",
"FileFormName": "file"
}