Package Exports
- @freddieridell/hyperpipe
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@freddieridell/hyperpipe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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 75489961d69a855463d67951fe72af37bd7add7fbe71ccfbd8bf17974ad26afdOn computer 2
$ hyperpipe 75489961d69a855463d67951fe72af37bd7add7fbe71ccfbd8bf17974ad26afd > spookySecret.txtNotes
- if you provide no key,
hyperpipewill create one for you hyperpipeprints information about the connection tostderr, so please only pipe fromstdouthyperpipecurrently only supports 2 peers connected to a key at a time, it's up to you to enforce this
Roadmap
- allow
npeers to be connected to a key at once - add
--verboseflag to print more info tostderr - add
--teeflag to pipe everything that goes tostdouttostderras well - add
--porcelanflag to produce more machine readable meta output tostderr
PRs welcome