Not sure if this is what you&#x27;re looking for but I&#x27;ve been working on a collaborative coding environment for clojurescript lately and am implementing the algorithm from this (incredibly readable) paper <a href="https:&#x2F;&#x2F;neil.fraser.name&#x2F;writing&#x2F;sync&#x2F;" rel="nofollow">https:&#x2F;&#x2F;neil.fraser.name&#x2F;writing&#x2F;sync&#x2F;</a>