3 ms·
Yup. Can't wait for someone to implement a Matrix-powered Disqus clone!
by Arathorn 6y ago
Yup. Can't wait for someone to implement a Matrix-powered Disqus clone!
- vlmutolo 6y agoWow, it would be really, really interesting for a blog to offer a Matrix room as a "comment section". If you didn't care about threading, you could probably do something like that even today.
- Arathorn 6y agohttps://matrix.org/blog/2020/09/15/gsoc-report-html-embeddable-matrix-chat-rooms https://matrix.org/blog/2020/09/15/gsoc-report-html-embeddab... was a GSOC project this year which heads in that direction. Meanwhile Hydrogen has been built to be embeddable (https://github.com/vector-im/hydrogen-web https://github.com/vector-im/hydrogen-web). And Gitter of course has http://sidecar.gitter.im/ http://sidecar.gitter.im/. But nobody has fully packaged one up as FOSS Disqus/Intercom/etc alt yet. It's a huge and easily-fillable gap in the Matrix ecosystem :)
- andrewperry 6y agoWe've been working on some Web Components that use the js sdk to talk with matrix but have been wondering if we should spend time looking at how the react sdk could be implemented in this use case assuming it would better handle encryption etc... although I think I read recently that the js sdk also handles encryption - but we'd need to add UI for verification to access encrypted rooms which seems likely to be a pain across browser sessions... there's also an issue as to which websites you might trust to share your matrix user token with to post on your behalf (but will check out Hydrogen to see how it handles this). So thinking out loud, for a disqus clone - sticking to unencrypted rooms and web components could be the way to go! Thanks for the GSOC and Hydrogen links - will check them out!
- mxuribe 6y agoThat can definitely be done today: just point a link to a public matrix room...well, the participants would need an account associated to a homeserver first in order to interact...but that's no different - conceptually - than needing to have a disqus account. The benefit of course is that their account can be associated to their __own__ homeserver! In fact, i do this already on my website; though for general contact (like a poorman's contact form), rather than a comment section for blog posts - but the approach works for either perspective.
- SulfurHexaFluri 6y agoI wonder how that would work performance wise since I assume comments sections on blogs are loaded many many more times than they are edited so you would want some super fast caching on it. I guess anything is possible with custom code though.
- deleted 6y ago[deleted]
- mathnmusic 6y agoYou know what would be a great goodwill-building move from Github and Microsoft? Them running a Matrix server instance and provide a chat room for each Github repo. This is what Gitter used to offer. Federation allows even competitors to interoperate.
- andrewperry 6y agoYes, I was actually just looking at it this week!