matterbridge icon indicating copy to clipboard operation
matterbridge copied to clipboard

Use matrix Application Service API (matrix)

Open 42wim opened this issue 7 years ago • 9 comments

Look into using matrix application service api for the matrix bridge. (https://matrix.org/docs/guides/application_services.html)

42wim avatar Mar 26 '17 15:03 42wim

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.

t3chguy avatar Jul 17 '17 08:07 t3chguy

Could this be of any help: https://github.com/tulir/matrix-appservice-go

xludx avatar Dec 17 '17 23:12 xludx

Perhaps using something like matrix-appservice-webhooks could be better.

benrob0329 avatar May 30 '18 18:05 benrob0329

Has there been any update to this?

MayhemBill avatar Nov 05 '18 02:11 MayhemBill

@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.

42wim avatar Nov 05 '18 19:11 42wim

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/

TheHolyRoger avatar Nov 04 '19 16:11 TheHolyRoger

Application API requires hosting matrix homeserver and accessing api's directly. Remote access is forbidden for security reasons so this might be unfeasible.

t-my avatar Jan 25 '20 16:01 t-my

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.

w3bb avatar Feb 22 '21 22:02 w3bb

I might give this a shot

w3bb avatar Feb 23 '21 02:02 w3bb

This would be really useful for us

hellcp avatar Mar 20 '21 00:03 hellcp

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.

erebion avatar Sep 07 '23 12:09 erebion