CSHub icon indicating copy to clipboard operation
CSHub copied to clipboard

[Backend Rewrite] Investigate possibilities for rewriting collaborative editing

Open RobbinBaauw opened this issue 5 years ago • 2 comments

This issue cannot yet be subdivided as we need to figure out how to move on. A few possibilities

  • Switch to the TipTap editor (https://github.com/scrumpy/tiptap), see #190. This uses ProseMirror, which provides collaborative editing (https://prosemirror.net/docs/guide/#collab). I think this is the best option provided we figure out how to write the backend in Rust.
  • Create an editor from scratch using Rust & WASM, we could use https://github.com/tcr/edit-text as a baseline. Note that this would require quite some client work.
  • Look at Rust implementations of CRDTs and figure out how we can use those with a frontend editor
  • Completely discard the Rust rewrite and rewrite the backend for this in another language, for example Go or TypeScript

Let's discuss in the comments :)

RobbinBaauw avatar Dec 21 '19 10:12 RobbinBaauw