📢 Collaborative document editing over nostr: Proof-of-concept @naddr1qqhyxmmvd3skymmjv96xjmmw94hkut2wdaehgu3d2pex7mmx94hkvttrdahxxetswskh5df5v9exzqgdwaehxw309ahx7uewd3hkcq3ql2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqxpqqqzzmk8q5num So today I called @JeffG and we were talking about collaboratively editing documents on nostr; I had this very left-side of the curve idea on how to do this, so after kids' bedtime I implemented it to see what it would feel like. How it works: A user can invite other users to edit a document (i.e. a long-form, or any other kind of document) * The invitees can be added/removed at will by the owner of the document. * The users send ephemeral events while live editing and can hit "save" to propose a new version of the document. * Everybody sees what the others are doing in real time * The document's owner chooses which version to make "official". * Documents can be forked so any of the invitees (or anybody else if the document is allowed to be public) can fork the document and continue working on their own version.

Replies (20)

yup, the live thing was just a silly test, but the proposals for the updated versions are an interesting path
😂🤣🤣 the 80IQ version works surprisingly well!! Let me never doubt the speed of relays and websockets again.
Arjen's avatar
Arjen 1 year ago
This looks epic, and you automatically get a changelog and could rewind-restore, genius! Curious about merge-conflicts tho. One idea could be to integrate this into something like Obsidian as a plugin. it's all markdown anyway...
some do, some don't; some store them for five minutes. This uses ephemeral events for the "unsaved" version and when you hit save it creates a more permanent event.
Lethal Lee's avatar
Lethal Lee 1 year ago
Thank you! Been trying to find info related to them. Didn’t known if it was up to the relay implementation or a standard.
another great piece of work from @PABLOF7z 🔥 I've had this idea for a few months, and as the first step registered a great domain name for it a couple of months ago! haha! I think I need to back to the drawing board! 😁