peer-pad
peer-pad copied to clipboard
📝 Online editor providing collaborative editing in really real-time using CRDTs and IPFS.
When you have multiple tabs open, multiple IPFS nodes with the same id are opened, which causes havoc. Agreed steps (with @diasdavid) to solve this: * don't automatically start IPFS...
I temporarily added p-event as a dependency because it was missing from peer-base: https://github.com/peer-base/peer-base/pull/254
We did a manual stress test with 5 participants off of https://dev.peerpad.net/ Observations: * everybody was able to connect and add/edit text * corruption issues appear to be gone (yay!)...
In order to make peer-pad the blueprint for a offline-first application, we would need to: - [ ] use a service-worker to allow the peer-pad application to load when offline...
... and later on be able to find and connect to peers once the network allows.
One of the reasons why we were not able to use an IPFS daemon instead of an embedded js-ipfs node was because go-ipfs didn't allow for p2p streams. But go-ipfs...
We've done a fair amount of work on peerpad master, and dev.peerpad.net has served us (mostly) well. We also haven't seen much evidence that the explanatory landing page etc on...
Is it possible to use peer pad backed by a go-ipfs node? If so how do I do it? If not, how can we make that happen?
Use MFS as storage for document state instead of local storage. This will allow us to decouple from local store and use, for instance, the IPFS daemon. (/cc @whyrusleeping)
Leverage Service Workers to cache the app and make it load when you're offline. (/cc @whyrusleeping )