files.baree.be
Personal file host for linking screenshots and recordings in GitHub PRs. Uploading takes two commands: the first returns a URL to upload the file to, the second uploads it there.
# 1. request an upload URL for your file
curl -X PUT https://files.baree.be/ \
-H "Authorization: Bearer $UPLOAD_TOKEN" \
-d "{\"filename\": \"login-flow.png\", \"size\": $(wc -c < login-flow.png)}"
# => { "upload_url": "...", "public_url": "..." }
# 2. upload the file to upload_url, then share public_url
curl -T login-flow.png '<upload_url>'