This is a no-bullshit and IPFS-based file hosting that also runs on https://dfile.app
Before running the service for the first time, run
cp config.sample config.py
Modify config.py (mainly setup your IPFS Node)
IPFS_CONNECT_URL = "/ip4/127.0.0.1/tcp/5001/http"
IPFS_FILE_URL = "https://127.0.0.1:8080/ipfs/"
DOMAIN = "https://localhost:5000"
Run it
./dfile.py debug
Install yarn first: https://yarnpkg.com/lang/en/docs/install/
# run
yarn
yarn dev
# export to production
yarn export
# Upload using cURL
➜ curl -F [email protected] https://dfile.app
https://dfile.app/QmV...HZ
# Download the file
➜ curl -L https://dfile.app/QmV...HZ -o yourfile.txt