usage
# upload files (multi-file supported) curl -F file=@report.pdf -F key=PASS https://drop.xinyuan.dev/ # custom folder slug + expiry in seconds (default 7d, max 30d) curl -F file=@data.json -F key=PASS -F slug=gsm8k-r4 -F ttl=2592000 https://drop.xinyuan.dev/ # pipe raw content (no multipart) cat big.log | curl --data-binary @- 'https://drop.xinyuan.dev/?key=PASS&name=big.log&slug=logs' # then share the folder link: https://drop.xinyuan.dev/gsm8k-r4 # anyone with the link can browse & download; uploading requires the password. # uploading again with the same slug appends files; same filename overwrites. # note: freshly uploaded files may take ~1 min to become visible worldwide.