peer-base / peer-pad

📝 Online editor providing collaborative editing in really real-time using CRDTs and IPFS.
https://peerpad.net
MIT License
678 stars 56 forks source link

Multiple swarm addresses for offline support #277

Open jimpick opened 5 years ago

jimpick commented 5 years ago

https://www.youtube.com/watch?v=XTgE2tA6Zhg

Copied from discussion here: https://github.com/ipfs/dynamic-data-and-capabilities/issues/59

pgte commented 5 years ago

Watch out that, as recently @satazor pointed out, js-ipfs doesn't boot up if one of the ws-star addresses fails to connect... :(

parkan commented 5 years ago

long discussion here: https://github.com/ipfs/js-ipfs/issues/1619

TLDR we need to use libp2p-websocket-star-multi for this to work, so we can: