This is a demo that shows how conflict-free replicated data types (CRDT's) could allow collaborative editing on a notebook application like Jupyter via peer-to-peer communication.
I used the automerge
library for its CRDT and the breadloaf for the notebook editor.
Try the demo out by opening up multiple tabs and chatting with yourself or some friends--your will automatically be connected to each other for peer-to-peer communication via a relay server.
https://samghelms.github.io/collaborative-notebook/
cd
into the repo and run nwb serve-react-demo