Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support other protocols from matterbridge #266

Open
Zauberfisch opened this issue Jan 30, 2020 · 15 comments
Open

support other protocols from matterbridge #266

Zauberfisch opened this issue Jan 30, 2020 · 15 comments

Comments

@Zauberfisch
Copy link
Contributor

matterbridge seems to support a lot more protocols than matterircd.
I'm sure there is a good reason for it, but much to my surprise I didn't see any mention about it in the readme or any other existing issues.

So please forgive my ignorance and let me ask, are there any plans to support more protocols?
And what would be needed to make that happen?

I realise that there are other existing solutions that attempt to do that, most notably, bitlbee. But for example the discord extension to bitlbee and libpurple both are terrible.

(keywords for other people searching: (Discord, Telegram, Rocket.chat, Matrix, Steam, Twitch, Ssh-chat, WhatsApp, Zulip, Keybase)

@paretje
Copy link

paretje commented Apr 1, 2020

matterbridge recently gained support for Microsoft Teams. As there doesn't seem to be anything like matterircd supporting Microsoft Teams, or e.g. a CLI client, it would be really nice if this was added to matterircd. It also kind of fits well with the current support for Mattermost and Slack.

@Zauberfisch
Copy link
Contributor Author

Hey @42wim, sorry to ping you directly, but I'd love to hear your input on this.

@42wim
Copy link
Owner

42wim commented Apr 22, 2020

@Zauberfisch Well, for some protocols it would be possible, depending on how they support private messages.
But for now the main problem for me is time.
So in short term no other protocols will be added (unless other people make PR's)

@Zauberfisch
Copy link
Contributor Author

@42wim fair enough. Time being limited is a problem I understand all to well. Thanks for all your great work.
But glad to know that you are open minded about it.

@Zauberfisch
Copy link
Contributor Author

not directly related to matterircd, but a quick update for others looking for a discord<>irc adapter. I am now using rdircd which works well and has almost all features I need.

@codygman
Copy link

codygman commented Aug 5, 2020

Can you add in the readme that matterircd doesn't support all of the services that matterbridge uses? I've spent quite a bit of time wondering why my discord<>irc bridge using matterbridge<>matterircd wasn't working and I'm betting others could fall into the same trap.

@Zauberfisch
Copy link
Contributor Author

Zauberfisch commented Aug 6, 2020

@codygman I'm not sure what you mean by that.

But I thought the docs are rather clear.
This project doesn't really have anything to do with matterbridge. And it's clearly stated that it only supports mattermost and slack.

discord < matterbridge > irc does works
discord < matterircd > irc does NOT work
discord < matterbridge > mattermost < matterircd > matterircd will also work

@42wim
Copy link
Owner

42wim commented Aug 8, 2020

Wrt to other protocols, I'm refactoring matterircd which allows much easier plugins of another protocol.
I'm also looking for testers for this refactoring, so those who want to help, please try out the refactor branch :-)

@Zauberfisch
Copy link
Contributor Author

@42wim very nice. I'd be happy to test.

How "experimental" should I expect the refactor branch to be?
Not sure if I should setup a 2nd instance of it, or just replace my current matterircd setup.

@42wim
Copy link
Owner

42wim commented Aug 9, 2020

@Zauberfisch planning on merging it into master shortly, (going to fix some open issues first) it's on the refactor2 branch now.
The basic code is almost the same (and also not), it should not be that experimental, but it's only tested by me for now.

@42wim
Copy link
Owner

42wim commented Aug 27, 2020

If anyone would want to take a crack at it, it should be possible now to plugin other bridges, by implementing the bridge interface
https://github.com/42wim/matterircd/blob/master/bridge/bridge.go for the protocol you want.

@Zauberfisch
Copy link
Contributor Author

Would that be an api that is 1:1 compatible with matterbridge? Or will bridges to other protocols still need to be rewritten to fit into matterircd?

I haven't gotten around to testing the new branch yet, but I'm hoping I have some time this weekend

@42wim
Copy link
Owner

42wim commented Aug 28, 2020

need to be rewritten, matterbridge and matterircd are two quite different beasts

@Zauberfisch
Copy link
Contributor Author

Figured, but worth asking :)

well, guess it's time I'll learn some go ...

@hloeung
Copy link
Collaborator

hloeung commented Jan 27, 2021

Wee, WIP Matrix support #376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants