matterbridge
matterbridge copied to clipboard
Use matrix Application Service API (matrix)
Look into using matrix application service api for the matrix bridge. (https://matrix.org/docs/guides/application_services.html)
I believe we have no go helper for Application Services yet, but gomatrix iirc includes the AS extension to the CS API so would just need a http server listening on specific routes to receive the pushed events from Synapse.
Could this be of any help: https://github.com/tulir/matrix-appservice-go
Perhaps using something like matrix-appservice-webhooks could be better.
Has there been any update to this?
@MayhemBill no, I think the number of users who would actually use this would be rather small, you'll need to setup your own homeserver for this. So it's not priority for me at the moment.
But if someone sends me a PR that adds support for this via eg https://github.com/tulir/mautrix-appservice-go , I will accept it gladly.
Is using swagger not a better approach? I might look into this.
https://github.com/go-swagger/go-swagger https://matrix.org/docs/api/client-server/
Application API requires hosting matrix homeserver and accessing api's directly. Remote access is forbidden for security reasons so this might be unfeasible.
With Dendrite, a small homeserver entering beta, and various lightweight implementations supporting the appservice API now this might be more worth it. You can easily run a small bridging server on a 5 buck VPS.
I might give this a shot
This would be really useful for us
Application API requires hosting matrix homeserver and accessing api's directly. Remote access is forbidden for security reasons so this might be unfeasible.
Just run appservices on the same host or use a tunnel.