hyperpeer
v0.0.5
Published
A CLI for creating a peer that replicates many hyperdb instances
Downloads
3
Readme
HyperPeer
A tool for simply replicating and serving many hyperdb
instances.
Why
Many tools are being built that use hyperdb
as a replicated data store to power distirubted apps. So far each of these tools has had to re-implement the simple logic for acting as a replicate-only member of the swarm. hyperpeer
aims to provide a general purpose solution for participating in any hyperdb
based swarm.
Although not a 1-to-1 replacement, hyperpeer
aims to replace the following commands:
$ cabal --seeder
$ dat sync
$ hypergit seed
Note,
hyperpeer
can't currently replicatecabal
feeds, as they pass extra, nonhyperdb
data to peers; This is the first thing I'm aiming to fix
Example usage
$ yarn global add hyperpeer
$ hyperpeer add --hyper hypergit://207dbaef657d688ad528573ae66b5a0bede40fcb82e6b91afc44ddd43c84874f
$ hyperpeer set --hyper hypergit://207dbaef657d688ad528573ae66b5a0bede40fcb82e6b91afc44ddd43c84874f --name "noffle's hypergit"
$ hyperpeer start
Targets:
- [ ] add
cabal
compatability - [ ] fix known bugs / edge cases
- [ ] create read only hyperpeer follower
- [ ] create write only hyperpeer leader
- [ ] create web based UI