matrix-highlight
matrix-highlight copied to clipboard
Package matrix-highlight in a way that it can be embedded directly on the website
Similar to how e.g. hypothe.is can be embedded!
potentially can be combined with embedding a view on Matrix room as a comments section
I think the main change to make that possible would be to add an option to run everything inside the content script
https://cactus.chat/ also related
This would also pave the way for the usage on the mobile - if one could package it a bookmarklet. Hypothes.is serves as an analogy again - I use it on my phone via bookmarklet
A somewhat related idea is to allow website to specify some metadata to the effect of "there are public matrix/highlight comments in this room". And for Matrix-highlight to recognize that and automatically activate/join the discussion
This is already somewhat possible (and I prototyped it the other day); all that's needed are the *Platform subclasses that take care of providing storage. I might even have the code in a branch on GitHub. Aha -- check out standalone.tsx.
Ohh, exciting 👀