You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.2 KiB
43 lines
1.2 KiB
<pre>
|
|
0w0
|
|
--------------------- {% set fhost_url = url_for("fhost", _external=True).rstrip("/") %}
|
|
a selfhosted instance of 0x0
|
|
|
|
try out our new <a href="{{ fhost_url }}/web">web interface</a>!
|
|
|
|
POST API
|
|
---------------------
|
|
file upload:
|
|
curl -F'file=@yourfile.png' {{ fhost_url }}
|
|
file upload from remote url:
|
|
curl -F'url=http://example.com/image.jpg' {{ fhost_url }}
|
|
shorten url:
|
|
curl -F'shorten=http://example.com/some/long/url' {{ fhost_url }}
|
|
{% set max_size = config["MAX_CONTENT_LENGTH"]|filesizeformat(True) %}
|
|
max file size: {{ max_size }}
|
|
|
|
all file types are allowed, but you better not be naughty.
|
|
|
|
TERMS
|
|
---------------------
|
|
do not use this for:
|
|
- piracy
|
|
- extremist material of any form
|
|
- pornography and gore
|
|
- malware or C&C client software
|
|
- cryptocurrencies and related information
|
|
- *large* backups, ie a hard disk image
|
|
- doxxing
|
|
- things that are otherwise illegal under US law
|
|
|
|
any uploads with any of these may be removed with no notice.
|
|
|
|
FILE AND URL RETENTION PERIOD
|
|
---------------------
|
|
retention = forever. thats right, they are forever. (until someone complains to me)
|
|
|
|
THANKS
|
|
---------------------
|
|
thanks to <a href="https://0x0.st">mia, for the original 0x0 site.</a>
|
|
</pre>
|