https://github.com/scttnlsn/peerpipe
An auto-discoverable, encrypted network pipe for P2P data transfer
https://github.com/scttnlsn/peerpipe
p2p udp-multicast
Last synced: about 2 months ago
JSON representation
An auto-discoverable, encrypted network pipe for P2P data transfer
- Host: GitHub
- URL: https://github.com/scttnlsn/peerpipe
- Owner: scttnlsn
- Created: 2019-10-30T15:54:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-21T19:21:53.000Z (over 5 years ago)
- Last Synced: 2025-02-13T14:44:30.023Z (3 months ago)
- Topics: p2p, udp-multicast
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# peerpipe
An auto-discoverable, encrypted network pipe for P2P data transfer
## Example
```bash
machine-a $ echo "Hello" | peerpipe send
``````bash
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:
```bash
machine-a $ echo "Hello" | peerpipe send -s supersecret
```The receiver must provide a matching secret in order to receive any data:
```bash
machine-b $ peerpipe recv -s supersecret
```## Install
```bash
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
```