0.1.0 • Published 6 years ago
@freddieridell/hyperpipe v0.1.0
HyperPipe
Uses hyperswarm to share stdin and stdout between two peers
Why
- Simple very quick way to share info between two computers
- Secret only someone with access to the key can connect to the pipe
- Ephemeral once a connection is closed, there's no way to recover the data that was sent through it
Usage
On computer 1
$ echo "This is my spooky secret, tell no one" | hyperpipe 75489961d69a855463d67951fe72af37bd7add7fbe71ccfbd8bf17974ad26afd
On computer 2
$ hyperpipe 75489961d69a855463d67951fe72af37bd7add7fbe71ccfbd8bf17974ad26afd > spookySecret.txt
Notes
- if you provide no key,
hyperpipe
will create one for you hyperpipe
prints information about the connection tostderr
, so please only pipe fromstdout
hyperpipe
currently only supports 2 peers connected to a key at a time, it's up to you to enforce this
Roadmap
- allow
n
peers to be connected to a key at once - add
--verbose
flag to print more info tostderr
- add
--tee
flag to pipe everything that goes tostdout
tostderr
as well - add
--porcelan
flag to produce more machine readable meta output tostderr
PRs welcome