https://github.com/rhodey/hypercore-pipe
Use hypercores from the cmd line
https://github.com/rhodey/hypercore-pipe
dat
Last synced: 5 months ago
JSON representation
Use hypercores from the cmd line
- Host: GitHub
- URL: https://github.com/rhodey/hypercore-pipe
- Owner: rhodey
- Created: 2018-10-25T21:52:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T23:03:09.000Z (over 4 years ago)
- Last Synced: 2025-10-07T00:33:47.752Z (9 months ago)
- Topics: dat
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hypercore-pipe
Use [hypercores](https://www.npmjs.com/package/hypercore) from the command line, peer discovery via [hyperdiscovery](https://www.npmjs.com/package/hyperdiscovery).
## usage
Argument `--port` defaults to `3282`, while all other arguments are passed through as options to [feed.createReadStream()](https://www.npmjs.com/package/hypercore#var-stream--feedcreatereadstreamoptions).
```
$ npm install -g hypercore-pipe
$ hypercore-pipe dat://bceaaedf41a894a0048a6e52e0a6806a1f23e7fe30d1f582cabd0c23ed466304 \
--timeout 60000 --live --rtail | \
play -t raw -b 16 -e signed -r 8k -c 1 -
```