An auto-discoverable, encrypted network pipe for P2P data transfer
machine-a $ echo "Hello" | peerpipe send
machine-b $ peerpipe recv
Hello
In the example above, any machine-b
on the network could run that command and receive the data from machine-a
. If you'd like the receiver to authenticate themselves you can request they provide a secret:
machine-a $ echo "Hello" | peerpipe send -s supersecret
The receiver must provide a matching secret in order to receive any data:
machine-b $ peerpipe recv -s supersecret
git clone https://github.com/scttnlsn/peerpipe
cd peerpipe
cargo build --release
sudo cp target/release/peerpipe /usr/bin/peerpipe # or somewhere else in your PATH