Giter Site home page Giter Site logo

beep-beep's Introduction

beep-beep

This is a naive and simplistic proof-of-concept implementation of a p2p system which allows a hybrid of federated and fully distributed nodes in the same network inspired by bamboo, Secure Scuttlebutt and ActivityPub. Also it allows us to have light clients which can purely stay in the browser without any proxy / tunneling, while still owning their keys.

There are plenty of comments about this idea in the code. Start here!

Don't be disappointed if you see some "fake" methods in the code, I didn't want to fall down into the rabbit hole of actually implementing this, this really serves only as a (working) concept and base for further discussions and specifications.

Diagrams

Network Example

Stack Example

How to play with this

npm install
npm start

After starting a node it will show you an URL in the console. Open this in your browser to play with the client. You can also start more nodes in other terminal sessions and let them replicate data with each other.

Please note that this example only runs in your local network!

Further experiments

License

GNU Affero General Public License v3.0 AGPL-3.0

beep-beep's People

Contributors

adzialocha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

abieshrimani

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.