This is a no-bullshit and S3-based file hosting that also runs on https://dfile.app
Before running the service for the first time, run
cp sample.env .env
Modify .env (mainly setup your S3 settings)
Run it
cargo run
Install yarn first: https://yarnpkg.com/lang/en/docs/install/
# run
yarn
yarn dev
# export to production
yarn export
# Upload using cURL
➜ curl -F file=@yourfile.txt http://localhost:8000
http://localhost:8000/QmV...HZ
# Download the file
➜ curl -L http://localhost:8000/QmV...HZ -o yourfile.txt