file hosting and URL shortening service

HTTP POST files here:
    curl -F'[email protected]' https://lotf.app
You can also POST remote URLs:
    curl -F'url=http://example.com/image.jpg' https://lotf.app
If you don't want the resulting URL to be easy to guess:
    curl -F'[email protected]' -Fsecret= https://lotf.app
    curl -F'url=http://example.com/image.jpg' -Fsecret= https://lotf.app
Or you can shorten URLs:
    curl -F'shorten=http://example.com/some/long/url' https://lotf.app

It is possible to append your own file name to the URL:
    https://lotf.app/aaa.jpg/image.jpeg

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

Files can be set to expire sooner by adding an "expires" parameter (in hours)
    curl -F'[email protected]' -Fexpires=24 https://lotf.app
OR by setting "expires" to a timestamp in epoch milliseconds
    curl -F'[email protected]' -Fexpires=1681996320000 https://lotf.app

Expired files won't be removed immediately, but will be removed as part of
the next purge.

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.

To delete the file immediately:
    curl -Ftoken=token_here -Fdelete= https://lotf.app/abc.txt

To permanently ban the file:
    curl -Ftoken=token_here -Fdelete= -Fpermanent=true https://lotf.app/abc.txt

To change the expiration date (see above):
    curl -Ftoken=token_here -Fexpires=3 https://lotf.app/abc.txt

Maximum file size: 1.0 GiB
Not allowed: application/x-dosexec, application/java-archive, application/java-vm

Please do not post any informations that may violate law (login/password lists, email lists, personal information).

lotf.app is NOT a platform for:

  • child pornography
  • malware, including "potentially unwanted applications"
  • botnet command and control schemes involving this service
  • anything even remotely related to crypto currencies
  • hosting your backups
  • spamming the service with CI build artifacts
  • piracy
  • alt-right shitposting

There is only one thing you need to use this service - curl.

Curl is available on most platforms, including Windows, Mac OS X and Linux.

To make your life easier, you can add aliases to your .bash_aliases on Linux
and .bash_profile on Mac OS X. Just remember to reset your terminal session after that.
0file() { curl -F"file=@$1" https://lotf.app ; }
0pb() { curl -F"file=@-" https://lotf.app ; }
0url() { curl -F"url=$1" https://lotf.app ; }
0short() { curl -F"shorten=$1" https://lotf.app ; }

Now you can use:
0file "yourfile.png"
# or
echo "text here" | 0pb
retention = min_age + (-max_age + min_age) * pow((file_size / max_size - 1), 3)

   days
    365 |  \
        |   \
        |    \
        |     \
        |      \
        |       \
        |        ..
        |          \
  197.5 | ----------..-------------------------------------------
        |             ..
        |               \
        |                ..
        |                  ...
        |                     ..
        |                       ...
        |                          ....
        |                              ......
     30 |                                    ....................
          0                      512.0                        1.0
                                                              GiB

If you would like to request permanent deletion, please send an email to [email protected].

Please allow up to 48 hours for a response.