# @freddieridell/hyperpipe

> uses hyperswarm to share stdin and stdout between two peers

Latest version **0.1.0** (published 2018-12-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install @freddieridell/hyperpipe
pnpm add @freddieridell/hyperpipe
yarn add @freddieridell/hyperpipe
bun add @freddieridell/hyperpipe
```

Provides the command `hyperpipe`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-12-03 |
| First published | 2018-12-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | freddieridell |
| Keywords | hyperswarm, hyperpipe, hyper, dht, stdin, stdout, distributed |

## Links

- npm: https://www.npmjs.com/package/@freddieridell/hyperpipe
- Homepage: https://github.com/CodogoFreddie/hyperpipe
- Issues: https://github.com/CodogoFreddie/hyperpipe
- npm.io page: https://npm.io/package/@freddieridell/hyperpipe

## Dependencies (1)

- [@hyperswarm/network](https://npm.io/package/@hyperswarm/network.md) 0.0.4

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-12-03
- 0.0.1 — 2018-12-03

## 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**

```bash
$ echo "This is my spooky secret, tell no one" | hyperpipe 75489961d69a855463d67951fe72af37bd7add7fbe71ccfbd8bf17974ad26afd
```

**On computer 2**

```bash
$ hyperpipe 75489961d69a855463d67951fe72af37bd7add7fbe71ccfbd8bf17974ad26afd > spookySecret.txt
```

## Notes

-   if you provide no key, `hyperpipe` will create one for you
-   `hyperpipe` prints information about the connection to `stderr`, so please only pipe from `stdout`
-   `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 to `stderr`
-   [ ] add `--tee` flag to pipe everything that goes to `stdout` to `stderr` as well
-   [ ] add `--porcelan` flag to produce more machine readable meta output to `stderr`

> PRs welcome

---
_Source: https://npm.io/package/@freddieridell/hyperpipe · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
