cpxo
iPhoneWindowsMacShell

Upload from any shell.

curl is enough. Files up to 4 GB, links valid for 7 days, then deleted from storage. A small cpxo script adds clipboard commands.

1

Upload with curl

The token sits in the path so the command stays short. The response is the share link.

curl -T backup.tar.gz https://cpxo.dev/up/cpx_YOURTOKEN/

Prefer a header? Same thing:

curl -T backup.tar.gz -H "Authorization: Bearer cpx_YOURTOKEN" https://cpxo.dev/up

Pipe anything, name it with ?name=:

pg_dump mydb | gzip | curl -T - "https://cpxo.dev/up/cpx_YOURTOKEN?name=mydb.sql.gz"
2

Download with wget or curl

Links are public and unguessable. Anyone with the link can download until it expires.

wget --content-disposition https://cpxo.dev/f/k3v9xq2a
curl -JLO https://cpxo.dev/f/k3v9xq2a
3

Install the cpxo script (optional)

POSIX sh, depends only on curl. Adds clipboard commands and direct-to-storage uploads for very large files.

curl -fsSL https://cpxo.dev/cli -o /usr/local/bin/cpxo && chmod +x /usr/local/bin/cpxo
cpxo login cpx_YOURTOKEN
commands
cpxo up disk.img          # upload, prints the link
cpxo get k3v9xq2a         # download into the current dir
cpxo copy "hello from srv" # push text to your clipboard
echo "$PWD" | cpxo copy    # or pipe it
cpxo paste                # print the latest clip
cpxo ls                   # your files
cpxo rm 42                # delete now
4

Limits

4 GB per file. 512 KB per clipboard entry. Files are deleted 7 days after upload, both the database row and the object in storage.