Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 787 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 787 Bytes

peerpipe

An auto-discoverable, encrypted network pipe for P2P data transfer

Example

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

Install

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