Send files and text from your terminal
cpcp CLI brings the web flow to the terminal: upload a file or some text with one command, then receive it on another device with a six-digit code. Built for agents, scripts, and CI artifacts.
Quick start
Upload files
npx cpcp-transfer upload ./report.pdf
npx cpcp-transfer upload dist/*.zip --jsonSend text
printf 'hello' | npx cpcp-transfer text -Receive
npx cpcp-transfer 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-transfer; the installed command is cpcp. You can also run it with npx without installing.
If the npm registry is unreachable, install the tarball served from this site instead.
Install from npm
npm install -g cpcp-transfer
cpcp upload ./report.pdfFallback: site tarball
npm install -g https://cp.1tools.vip/downloads/cpcp-transfer-0.1.0.tgz
cpcp upload ./report.pdfBoundaries
- Text is capped at 64KB; one file at 100MB; up to 20 files and 200MB per transfer.
- Transfers expire after one hour and can be received 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 transfer code is the credential; screenshots, logs, and shell history can leak it.