cli
cli copied to clipboard
A CLI for peer-to-peer file sharing using the Hypercore Protocol.
hi here is my backend.js const { Client } = require('hyperspace') const HyperBee = require('hyperbee') const { kvPairs : dictionaryPairs } = require('websters-english-dictionary') start() async function start() { const {...
For now, I added this option only to the beams.
ipfs uses 8080, so this is maybe not the best default port to use since the audience for ipfs and hyperdrive is very overlapping. 8080 is also a common port...
This patch adds CORS headers when `--allow-origin` is given to the `hyp drive http` command. The headers are the same as ipfs uses which have probably been tested against many...
hyp sync hyper://e498a28a5755d724143c170cb454340873ebbc7a7e7e938d392d883f566ca86e Hyperspace daemon started Mirroring daemon started Error: Block not available from peers i ran hyp seed on my server and on my local i ran above command...
When I try to seed a directory with 99GB of data spread across 2.6 million files, I get a memory allocation error after 2 minutes: ``` peermaps@vmi595217:~/data/peermaps/edb$ time hyp drive...
When I start hypercore with `hyperspace --storage $STORAGE --host $HOST --port $PORT`, then run: ``` ❯ ps -aux | rg hyp jrestivo 1067902 0.1 0.0 635796 54572 ? SLsl 11:08...
Running `hyp seed hyper://` results in a message that says `Seeding `, but running `hyp info` after that still results in the bee "Not seeding and not online" and others...
I believe this is either a bug or an incorrect error message, it depends on whether the client is supposed to be usable for sharing hypercores which are neither hyperdrives...
the `HyperStructure.url()` already returns hash with leading `hyper://` and closing slash https://github.com/hypercore-protocol/cli/blob/master/lib/hyper/struct.js#L36 (i needed to do some extra testing and make this change part of #45)