The reference implementation is MobWrite:
https://code.google.com/archive/p/google-mobwrite/
The project got put to one side when Google Code shut down, but I dusted it off last month and everything still works.
The project got put to one side when Google Code shut down, but I dusted it off last month and everything still works.
What are your thoughts on competing algorithms?
[0]: http://marijnhaverbeke.nl/blog/collaborative-editing.html