obsidian-liveblocks
obsidian-liveblocks copied to clipboard
POC implementation of liveblocks.io obsidian plugin
Obsidian Liveblocks
by shabegom
A POC implementation of liveblocks.io inside an obsidian plugin.
Install
- 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
Usage
- Create a
liveblockscode block - Install in another vault and see if the cursors show up
Warnings
- 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.
TODO
- [ ] 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?