=== How To Upload ===
You can upload files to this site via a simple HTTP POST, e.g. using curl:
curl -F "file=@/path/to/your/file.jpg" https://s0s.xyz/

Or if you want to pipe to curl *and* have a file extension, add a "filename":
echo "hello" | curl -F "file=@-;filename=.txt" https://s0s.xyz/

To use a longer file ID (up to 24 characters), add -F id_length=<number>

On Windows, you can use ShareX and import this custom uploader.
On Android, you can use an app called Hupl with this uploader.
If you have a remote URL to upload, you can use the following curl command:
curl -F "url=http://example.com/image.jpg" https://s0s.xyz/

Or simply choose a file and click "Upload" below:
(Hint: If you're lucky, your browser may support drag-and-drop onto the file 
selection input.)


 === File Sizes etc. ===
To protect against abuse, Only those file extensions allowed 'jpg', 'jpeg', 'png', 'gif', and 'txt'.
The maximum allowed file size is 512 MiB.

Files are kept for a minimum of 31, and a maximum of 180 Days.

How long a file is kept depends on its size. Larger files are deleted earlier 
than small ones. This relation is non-linear and skewed in favour of small 
files.

The exact formula for determining the maximum age for a file is:

MIN_AGE + (MAX_AGE - MIN_AGE) * (1-(FILE_SIZE/MAX_SIZE))^2
Not allowed: application/x-dosexec, application/x-executable, application/x-sharedlib, application/x-hdf5, application/java-archive, application/vnd.android.package-archive, application/x-rar, application/vnd.microsoft.portable-executable

TERMS OF SERVICE
----------------

This is NOT a platform for:
    * piracy
    * pornography and gore
    * extremist material of any kind
    * malware / botnet C&C
    * anything related to crypto currencies
    * backups (yes, this includes your minecraft stuff, seriously
      people have been dumping terabytes of it here for years)
    * CI build artifacts
    * doxxing, database dumps containing personal information
    * anything illegal

Uploads found to be in violation of these rules will be removed,
and the originating IP address blocked from further uploads.


PRIVACY POLICY
--------------

For the purpose of moderation, the following is stored with each
uploaded file:
    * IP address
    * User agent string

This site generally does not log requests, but may enable logging
if necessary for purposes such as threat mitigation.

No data is shared with third parties.


 === Source ===
The PHP script used to provide this service is open source and available on 
GitHub


 === Contact ===
If you want to report abuse of this service, or have any other inquiries, 
please write an email to [email protected]