Zeph
Ephemeral file drops up to 250 MB. Smaller files live longer.
CLI usage
file=./example.zip
drop=$(curl -fsS https://zp.drnx.dev/api/init \
-H 'Content-Type: application/json' \
--data "$(jq -n --arg name "$(basename "$file")" \
--argjson size "$(wc -c < "$file")" \
'{filename:$name,sizeBytes:$size}')")
curl -fsS -T "$file" \
-H "If-Match: $(printf '%s' "$drop" | jq -er '.uploadHeaders["If-Match"]')" \
"$(printf '%s' "$drop" | jq -er '.uploadUrl')" && printf '%s' "$drop" | jq -r '.url'