about a year ago I had the thought: "can i cobble together a peer-to-peer hedgedoc with off-the-shelf npm packages?"
and the answer is yep (https://notepad.vivl.im) (source (https://github.com/vivlim/multiplayer-notepad))
image.png
unfortunately one of the things that is useful about hedgedoc is that when you put stuff in a document and come back to it later, you aren't depending on there being another device online that has a copy of the document. still, i think it is kinda interesting to play with. also i really wanted to have vim emulation with `jk` bound to `<esc>` because that's what my hands like.
apparently it is also end-to-end encrypted (using y-webrtc (https://github.com/yjs/y-webrtc)) but I haven't done anything to actually verify that so, you might wanna keep that in mind if you're thinking about using it
i had the idea to glue the yjs (https://github.com/yjs/yjs) backend of this to:
- react-yjs (https://github.com/nikgraf/react-yjs), an adapter between y.js and react ... reactivity
- react-three-fiber (https://r3f.docs.pmnd.rs/getting-started/introduction), a wrapper for THREE.js that lets you manipulate 3d scene objects in a react structure
i don't have anything to show for that yet but it seems like i could do some interesting stuff with those
interacting with the operators of other internet-connected computers in a 3D environment in real-time... technology has come so far
interested in what you put together with this!