box / usage

guest uploads are limited to 100.00 MB per file. to get the full 5.00 GB limit, you need an api key. to get one, you have to be a close friend of aelpxy. no exceptions.

upload a file

# with api key
curl -X POST https://box.aelpxy.dev/upload \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@photo.png"

# guest (no key, max 100.00 MB)
curl -X POST https://box.aelpxy.dev/upload \
  -F "file=@photo.png"

paste text

# with api key
curl -X POST https://box.aelpxy.dev/paste \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: text/plain" \
  --data-binary "hello world"

# pipe from stdin
cat notes.txt | curl -X POST https://box.aelpxy.dev/paste \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: text/plain" \
  --data-binary @-

# guest
echo "hello" | curl -X POST https://box.aelpxy.dev/paste \
  -H "Content-Type: text/plain" \
  --data-binary @-

delete a file

# use the delete_url from the upload response
curl -X DELETE "https://box.aelpxy.dev/f/FILENAME?key=DELETE_KEY"

response format

{
  "url": "https://box.aelpxy.dev/f/abc123_file.png",
  "delete_url": "https://box.aelpxy.dev/f/abc123_file.png?key=...",
  "filename": "abc123_file.png",
  "size": 12345,
  "sha256": "e3b0c44..."
}

web interface

prefer a browser? use /upload for files or /paste for text.

sharex

download the sharex config and replace YOUR_API_KEY with your actual key.

limits

guest: 100.00 MB per file · authenticated: 5.00 GB per file · file ttl: 168h0m0s