Text diff&merge library?

Hi all,

I need a diff/merge library for my project (backend for collaborative editing). In soft real time, collaborative editing users can edit the same file simultaneously. Any decent text diff/merge library for Elixir/Erlang?

:wave:

If the text-editing is only done online, I’d probably just serialize all edits via a genserver per document. If offline editing is allowed, I’d look into https://github.com/y-js/yjs or some other crdt/ot library which would use the backend just as a relay.

1 Like

@idi527 thank you!