0.0.5 • Published 6 years ago

hyperpeer v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

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 replicate cabal feeds, as they pass extra, non hyperdb 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