ZeroNetJS / zeronet-js

ZeroNet in JS
MIT License
48 stars 9 forks source link

libp2p interop / webrtc / browser integration #84

Closed mkg20001 closed 7 years ago

mkg20001 commented 7 years ago

Affected Components: swarm, protocol, client, node

I've been thinking about adding webRTC support to zeronet to enable browser-standalone bundles that could enable stuff like p2p commenting without having a zeronet node.

This would however require zeronetjs to use both the zeronet-v2 protocol and the multistream (libp2p) protocol (possibly on the same port)

My ideas:

mkg20001 commented 7 years ago

New final plan (extends existing plan):

New temp plan:

mkg20001 commented 7 years ago

Browsers and clients can now talk to each other. I think the issue goal is achieved.