Simple File Host

A simple website that just hosts your files and redirects.

How to upload files?

HTTP POST files:

curl -F'file=@yourfile.png' {{.}}/f

If this instance is token protected:

curl -F'file=@yourfile.png' -F'token=yourtoken' {{.}}/f

You can access uploaded files at the returned URL.

How to shorten URLs?

HTTP POST your URL:

curl -d'url=https://example.com' {{.}}/r

If this instance is token protected:

curl -d'url=https://example.com' -d'token=yourtoken' {{.}}/r

You can access redirects at the returned URL.

How long are files and shortened URLs kept?

Until the configured limit of the server is reached! Older and larger files get killed when that's reached.

URLs are treated as files with the URL as its content.

What cannot be uploaded?

Here's a non-exhaustive list.

Help out

If you run a server and like this site, clone it!
https://git.jojodev.com/jolheiser/cabinet

Credits

Inspired by https://github.com/chanbakjsd/filehost. CSS modifed from https://github.com/oxalorg/sakura.