CPYNET TREN

Use Cases

Three real scenarios CPYNET is actually built for - not hypothetical ones. Every command below is real input against a real deployment, shown with the exact output it produces.

Sharing a log from an SSH session

You're SSH'd into a remote server, something failed, and you need to get the relevant log lines to a teammate right now - without another round of SSH access or emailing a file.

you, on the server
$ journalctl -u myservice -n 200 | cpy482913curl "https://your-domain/482913"

Two lines back: the bare code and a ready-to-run curl command. Paste either one in chat - whoever reads it gets the exact text, and it's gone the instant they do:

your teammate
$ curl "https://your-domain/482913"Aug 08 14:02:11 myservice[1823]: connection refused: db.internal:5432Aug 08 14:02:11 myservice[1823]: retrying in 5s...Aug 08 14:02:16 myservice[1823]: connection refused: db.internal:5432

A second read of the same code (by anyone, including you) gets a 404 - it's already gone.

Moving text off a clipboard-disabled machine

Some environments - locked-down corporate laptops, VDI sessions, remote desktops with no shared clipboard between host and guest - simply don't let you copy text out through the OS clipboard at all.

the locked-down machine
$ echo "wifi password: correcthorsebatterystaple" | cpy174205curl "https://your-domain/174205"

CPYNET never touches the OS clipboard either way - everything moves as plain text over curl, so a disabled clipboard doesn't matter. Scan the QR code shown after sending with your phone - it opens straight in the browser and decrypts/displays the text there, no clipboard touched on either end.

Getting a container's output back to the host

A container without a shared volume, an isolated build step, a CI job's intermediate output - anywhere stdout is reachable but the filesystem isn't shared with wherever you actually need the result.

inside the container
$ docker run myimage some-command | curl --data-binary @- https://your-domain/https://your-domain/718234

A raw pipe (no cpy installed inside the container) gets back just the bare URL - still exactly one line, still pipeable into the next step:

on the host
$ curl "https://your-domain/718234"{"status":"ok","records_processed":48213}

Works the same with kubectl exec, a minimal scratch/distroless image that doesn't even have curl (see the netcat fallback), or any other environment where the only thing you can reliably reach is a pipe.