r3bl-open-core
r3bl-open-core copied to clipboard
[cmdr, tui, edi, base] add collaborative editing support to r3bl-cmdr
Add collaborative editing support to r3bl-cmdr using CRDTs.
This is a really good video about collaborative text editing. We can use CRDT algorithms to do this. There are some open source ones.
automerge:
- https://youtu.be/Mr0a5KyD6BU?si=p_XsYthGxe7NaZ10
- https://youtu.be/esMjP-7jlRE?si=ZfhzSifiZfGcYXK4
I think we can start thinking and brainstorming how this might be implemented, once we iron out the bugs that we find in the markdown editor.
We can hash out when to implement this and what else to implement before this. And also which repo to put this code in (probably r3bl base and cmdr, and not open core).
We have this rust crate we can use - https://github.com/automerge/automerge
More info
This is a good explanation. Very well covered algorithm. Adding the article link for future reference https://www.inkandswitch.com/peritext/. [Was used in video]