Real-time, collaborative Markdown editor with end-to-end encryption
Here's a sample document: https://extensions.standardnotes.org/collab/doc/741ec80a-366...Source is available here: https://github.com/standardnotes/collab-editorThe editor relies on an impressive client-side library called ChainPad, which uses blockchains as inspiration for determining the authoritative document after conflicts or many simultaneous edits. Typically operational transformation algorithms and systems to manage conflicts are handled by the server, precluding the possibility for end-to-end encryption.However, ChainPad runs completely on the client-side, and is oblivious to the underlying text, thus allowing us to encrypt text client-side before broadcasting to other participants and the broadcast server. This is the first major effort I've seen for a real time client-side collaboration algorithm, and its use of a blockchain type structure is ingenious.More info on ChainPad here: https://github.com/xwiki-contrib/chainpad