gautamkumar34/Real-time-collaboration-SDK ? reverse-engineered prompt
Reverse engineered prompt
Build me a self hosted real time collaboration SDK and demo app that lets two or more people edit the same document together in the browser.
I want the core SDK to connect to a WebSocket server, sync document changes without conflicts, and expose simple methods for setting values, deleting values, and editing rich text. Please also include a React hook so an app can show connection status, sync status, who is online, and let users type into a shared editor.
Along with the SDK, make a polished demo site with a landing page, a dashboard for viewing documents, and an editor screen. It should support live cursors and show each person’s name and color. I’d like the server to handle rooms, optional JWT auth, and persistence so documents can survive restarts, with a simple local setup for development. If anything is unclear, look up current docs online and keep it easy to run with one install and a local demo.
Are you gonna build this?
make sure you review the code using coderabbit