Send a parcel from your terminal
cpcp CLI brings the web flow to the terminal: upload a file or some text with one command, then pick it up on another device with a six-digit code. Built for agents, scripts, and CI artifacts.
Quick start
Upload files
npx cpcp-cli upload ./report.pdf
npx cpcp-cli upload dist/*.zip --jsonSend text
printf 'hello' | npx cpcp-cli text -Pick up
npx cpcp-cli get 123456 --out ./downloadsWhy a CLI
- Scripts and agents can upload without driving a browser.
- Send CI artifacts, logs, or screenshots to another device with one command.
- Use --json when a program needs the code, URL, and expiry.
- Defaults to https://cp.1tools.vip; use --api or CPCP_API to target staging.
Install
The npm package is cpcp-cli; the installed command is cpcp. You can also run it with npx without installing.
The npm package is being prepared; until it is published, use the tarball above or run it from the repository: node cli/cpcp.mjs upload ./report.pdf.
Install from this site (before npm)
npm install -g https://cp.1tools.vip/downloads/cpcp-cli-0.1.0.tgz
cpcp upload ./report.pdfGlobal install
npm install -g cpcp-cli
cpcp upload ./report.pdfBoundaries
- Text is capped at 64KB; one file at 100MB; up to 20 files and 200MB per parcel.
- Parcels expire after one hour and can be claimed at most 10 times. This is not end-to-end encryption.
- Do not use it for passwords, keys, identity documents, or other confidential files.
- The pickup code is the credential; screenshots, logs, and shell history can leak it.