THE NULL POINTER
================

HTTP POST files here:
    curl -F'file=@yourfile.png' https://0x0.st
You can also POST remote URLs:
    curl -F'url=http://example.com/image.jpg' https://0x0.st
If you don't want the resulting URL to be easy to guess:
    curl -F'file=@yourfile.png' -Fsecret= https://0x0.st
    curl -F'url=http://example.com/image.jpg' -Fsecret= https://0x0.st

It is possible to append your own file name to the URL:
    https://0x0.st/aaa.jpg/image.jpeg

URL SHORTENING HAS BEEN DISABLED DUE TO FREQUENT ABUSE

File URLs are valid for at least 30 days and up to a year (see below).

Files can be set to expire sooner by adding an "expires" parameter (in hours)
    curl -F'file=@yourfile.png' -Fexpires=24 https://0x0.st
OR by setting "expires" to a timestamp in epoch milliseconds
    curl -F'file=@yourfile.png' -Fexpires=1681996320000 https://0x0.st

Expired files won't be removed immediately but within the next minute.

Whenever a file that does not already exist or has expired is uploaded,
the HTTP response header includes an X-Token field. You can use this
to perform management operations on the file.

When using cURL, you can add the -i option to view the response header.

To delete the file immediately:
    curl -Ftoken=token_here -Fdelete= https://0x0.st/abc.txt
To change the expiration date (see above):
    curl -Ftoken=token_here -Fexpires=3 https://0x0.st/abc.txt

Maximum file size: 512.0 MiB
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
----------------

0x0.st is NOT a platform for:
    * piracy
    * pornography and gore
    * extremist material of any kind
    * malware / botnet C&C
    * anything related to crypto currencies
    * backups
    * CI build artifacts
    * doxxing, database dumps containing personal information
    * anything illegal under German law

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

Note that Tor exit nodes are blocked by the firewall due to frequent
rule violations.

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.

OPERATOR NOTES
--------------

If you run a server and like this site, clone it! Centralization is bad.
https://git.0x0.st/mia/0x0

You can also support it financially via Liberapay.
Hosting costs about 60 EUR a month.


If you wish to make just a small one-time donation, I’d prefer if you’d
get me (and maybe yourself) something on my Bandcamp wishlist.

Fedi: @mia@movsw.0x0.st

FILE RETENTION PERIOD
---------------------

retention = min_age + (-max_age + min_age) * pow((file_size / max_size - 1), 3)

   days
    365 |  \
        |   \
        |    \
        |     \
        |      \
        |       \
        |        ..
        |          \
  197.5 | ----------..-------------------------------------------
        |             ..
        |               \
        |                ..
        |                  ...
        |                     ..
        |                       ...
        |                          ....
        |                              ......
     30 |                                    ....................
          0                      256.0                      512.0
                                                              MiB


ABUSE
-----

If you would like to request deletion, please contact mia via
IRC on Libera Chat, or send an email to mia ‍@‍ ‍0‍x‍0‍.‍s‍t (do not copy and paste).

Please allow up to 24 hours for a response.