A minimal pastebin made for liminal.cafe
- default 6 hour expiry of upload
- custom expiry time in minutes
-F "time=120" - one-shot file (one-time view of file)
post request to <domain_name>/o
git clone https://git.liminal.cafe/sakura/lbin.git
cd lbin
touch config.toml
Open config.toml and fill it with the following:
[env]
host="localhost"
url ="https://root_url_for_hosted_files.com"
port="8000"
auth="auth_code_here"
tmp="temp_folder_name_here"
os="oneshot_folder_name_here"After you have your config file, you can then compile it.
cargo build --release --config config.toml
Use lbin-cli to easily upload files, or use byakuren's lbin-cli