Skip to content

Replace matterbridge matrix to mautrix#25

Open
xelab04 wants to merge 1 commit into
bibanon:masterfrom
xelab04:f-mautrix
Open

Replace matterbridge matrix to mautrix#25
xelab04 wants to merge 1 commit into
bibanon:masterfrom
xelab04:f-mautrix

Conversation

@xelab04

@xelab04 xelab04 commented Oct 5, 2025

Copy link
Copy Markdown

This replaces the go-matrix based library with mautrix. It rewrites a lot of components from the matrix folder.
Full disclaimer, I did use a bit of AI to get around as I'm not normally a GO developer.

If there's anything wrong, I'd be happy to fix it!

@poVoq

poVoq commented Oct 5, 2025

Copy link
Copy Markdown

We rencently started a community maintained fork here: https://github.com/matterbridge-org/matterbridge

Your contribution would be highly appreciated.

Did you look at the pre-existing work to use mautrix and user puppeteering via appservice?

@xelab04

xelab04 commented Oct 5, 2025

Copy link
Copy Markdown
Author

Hi. Thank you, I'll give it a look.
I didn't look too deep into user puppeteering, I mainly just swapped out the matrix library. Thankfully quite a bit just worked but I'll have to give it a deeper look.

Actually, I have a community on Telegram and I wanted to bridge to Matrix, and so I did this out of need 😆

image Right now, this is what the sync on matrix looks like

@poVoq

poVoq commented Oct 5, 2025

Copy link
Copy Markdown

Ah, there was a username spoofing PR for that before, but Matrix users strongly objected to it as being too heavy on server resources and also incompatible with some clients, see discussion here: 42wim#1875

The "proper" way of doing it was created as a PoC here: 42wim#1864 but in my tests it was buggy and didn't work with multiple channels yet, before the original dev abandoned it. But I think this would be worth investigating and you could make a second PR on top of this one to implement this as well.

@xelab04

xelab04 commented Oct 6, 2025

Copy link
Copy Markdown
Author

Alright, thank you @poVoq . I guess I can redo this PR on the main community fork?
I would be open to helping out with the project, particularly on the Matrix side of things.

@poVoq

poVoq commented Oct 6, 2025

Copy link
Copy Markdown

Great, you are very welcome to do so. Just try to make it into seperate PRs so that it can be merged more easily.

@poVoq

poVoq commented Nov 30, 2025

Copy link
Copy Markdown

Any news here? It would be great if you could make a new PR on the matterbridge-org repo.

Note: it would be great if you could explain a bit better what you used AI for exactly though.

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

Successfully merging this pull request may close these issues.

2 participants