42wim / matterbridge

bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Apache License 2.0
6.58k stars 613 forks source link

Use matrix Application Service API (matrix) #137

Open 42wim opened 7 years ago

42wim commented 7 years ago

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

t3chguy commented 7 years ago

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.

xludx commented 6 years ago

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

benrob0329 commented 6 years ago

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

MayhemBill commented 5 years ago

Has there been any update to this?

42wim commented 5 years ago

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

TheHolyRoger commented 4 years ago

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/

t-my commented 4 years ago

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

w3bb commented 3 years ago

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 commented 3 years ago

I might give this a shot

hellcp commented 3 years ago

This would be really useful for us

erebion commented 1 year ago

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.