<Overview>This server allows you to easily upload ShareX screenshots and videos. It includes token authentication for security and can handle various image file types by converting them to WebP format for efficient storage.
<ConfigName="FILES_LOCATION"Target="/var/www/html"Default=""Mode="rw"Description="Where you want the uploaded files to be stored."Type="Path"Display="always"Required="true"Mask="false">/mnt/user/Storage/CDN</Config>
<ConfigName="Max Upload Size"Target="MAX_UPLOAD_SIZE"Default=""Mode=""Description="The max upload size of files in megabytes. Eg: 500M"Type="Variable"Display="always"Required="true"Mask="false">500M</Config>
<ConfigName="Upload Directory"Target="UPLOAD_DIR"Default=""Mode=""Description="The upload directory (If you don't know what this is, ignore it)"Type="Variable"Display="always"Required="true"Mask="false">./</Config>
<ConfigName="Use Random File Names"Target="USE_RANDOM_FILE_NAMES"Default=""Mode=""Description="Use random file names instead of the original file name."Type="Variable"Display="always"Required="true"Mask="false">true</Config>
<ConfigName="Random File Name Length"Target="FILE_NAME_LENGTH"Default=""Mode=""Description="The length of the random file name"Type="Variable"Display="always"Required="true"Mask="false">8</Config>
<ConfigName="Should Convert to Webp"Target="SHOULD_CONVERT_TO_WEBP"Default=""Mode=""Description="Should the script convert images to webp?"Type="Variable"Display="always"Required="true"Mask="false">true</Config>
<ConfigName="Webp Quality"Target="WEBP_QUALITY"Default=""Mode=""Description="The quality of the webp image (0-100)"Type="Variable"Display="always"Required="true"Mask="false">95</Config>
<ConfigName="Webp Threadhold"Target="WEBP_THREADHOLD"Default=""Mode=""Description="The minimum file size for converting to webp (in bytes)"Type="Variable"Display="always"Required="true"Mask="false">1048576</Config>
<ConfigName="Server Port"Target="80"Default=""Mode="tcp"Description="The port to connect to the application on."Type="Port"Display="always"Required="true"Mask="false">8087</Config>