by shabegom
A POC implementation of liveblocks.io inside an obsidian plugin.
- Create an account at https://liveblocks.io
- Grab you API Key: https://liveblocks.io/dashboard/apikeys
- Clone the repo and add your API key to a
.envfile. - npm run build and copy
main.js,styles.cssandmanifest.jsoninto your obsidian plugins folder - Enable the plugin in obsidian
- Create a
liveblockscode block - Install in another vault and see if the cursors show up
- This is just a basic POC. It is more to show that one could integrate liveblocks into an obisidan plugin and shouldn't be used in a production system.
- Cursor position breaks really easily.
- Add settings to setup auth and set a room name
- Track contents of whole notes with storageblocks
- Better cursor Decorations
- Maybe a Presence specific sidebar to show who is online?