0.0.5 • Published 7 years ago
hyperpeer v0.0.5
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,
hyperpeercan't currently replicatecabalfeeds, as they pass extra, nonhyperdbdata 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 startTargets:
- add
cabalcompatability - fix known bugs / edge cases
- create read only hyperpeer follower
- create write only hyperpeer leader
- create web based UI