Automattic / chatrix

Matrix client for WordPress
https://wordpress.org/plugins/chatrix
GNU General Public License v2.0
41 stars 0 forks source link

Post comments powered by Matrix #167

Open psrpinto opened 1 year ago

psrpinto commented 1 year ago

It would be cool to have the possibility of replacing WordPress's native comments by a Matrix client. Something like Disqus but powered by Matrix. Each post would likely get their own room, and there would be threaded replies to each comment.

Implementing this would probably require some sort of backend. We could leverage Cactus Comments for that, which is an Application Service that talks to the homeserver:

Cactus Comments is a federated comment system for the web, based on the Matrix protocol.

psrpinto commented 1 year ago

Suggested by @julianfoad at https://wordpress.org/support/topic/a-great-start-for-such-an-early-version-0-4-0

ashfame commented 1 year ago

Would be nice if we can somehow skip needing an application service and create new rooms via the admin api on-demand.

psrpinto commented 1 year ago

I'm not sure I understand, that would still be an application service right? AFAICT an application service is something that talks to the homeserver through the Application Service API. If we would roll out our own code that serves the same purpose as Cactus, that would still be an application service, right?

ashfame commented 1 year ago

I think the need to have an application service is only to create rooms for each new post that's published, right? So, if somehow we can do that without needing an application service, or by creating bulk rooms in advance to be used as new posts are published, thus avoiding the need of an application service, that would be better for adoption by folks who only run a homeserver?

psrpinto commented 1 year ago

I see. I think one option here would be to implement the application service in PHP, so you get it automatically just by installing chatrix.

ashfame commented 1 year ago

That would be nice!

akirk commented 11 months ago

See https://cactus.chat/ for a similar project.