I just set it up today. The docker setup was pretty easy and I got the telegram and WhatsApp bridge running so I have all my messages in one place. Signal bridge is next.
Is anyone else doing this?
Is there anywhere I can go to learn about what exactly Matrix is?
It’s not exactly easy to find with via search engine thanks to the movie
Honestly I’d probably host my own Matrix if Conduit wasn’t still so behind on stuff. Like, I think they still don’t support spaces properly, right?
Even Dendrite feels far too heavy and that’s intended to be the “light” option compared to Synapse, which needs an entire server onto itself to have any kind of speed behind it.
Synapse really isn’t that bad unless you’re joining big rooms. I held off for ages because I thought it was a pig, but I have it running (along with a bunch of other stuff) just fine on a minimal VPS.
I’ve also got synapse running on my small home server, together with about 40 other things in docker containers. CPU sits idle at 5%
What’s the RAM and storage usage like?
I’ve installed it in the last few days. Got the Discord and WhatsApp bridge up and running. About to give the iMessage bridge a go. It’s been fairly smooth sailing so far!
I was looking at setting up one for the same reason, to have most of not all of my chat apps in the same place but I was only finding docs for the docker-ansible setup which isn’t really what I want. Can you share your docker-compose file or the docs you used to get everything setup?
Here is my compose file:
version: '3.3' services: app: image: matrixdotorg/synapse restart: unless-stopped ports: - 8008:8008 volumes: - ./data:/data hostname: matrix mautrix-telegram: container_name: mautrix-telegram image: dock.mau.dev/mautrix/telegram restart: unless-stopped volumes: - ./mautrix-telegram-data:/data hostname: mautrix-telegram mautrix-whatsapp: container_name: mautrix-whatsapp image: dock.mau.dev/mautrix/whatsapp restart: unless-stopped volumes: - ./mautrix-whatsapp-data:/data hostname: mautrix-whatsapp
I have nginx running as a reverse proxy on the host. I haven’t gotten the federation to work yet but I think it’s an ipv6 issue.
Setting up the bridges was quiet easy using these instructions
Let me know if you have anymore questions. It’s running on a small host with 40 docker containers running in parallel and the cpu sits idle at 5% so it’s not much of a drain.
Yeah I’d be interested in this too. Firsting tim looking into matrix and I see all the bridges you can make and such and in highly interested now.
I too would be interested in this compose file, if it’s not too much trouble!
Edit: a word
See my reply to the comment above. I made the post right before bed so it took some time
deleted by creator
I’ve been running matrix for over a year with bridges to WhatsApp, FB Messenger, Instagram and Telegram without any big issues
deleted by creator
What is the use of the bridges? Are they proxies between Matrix and other messaging platforms so that you can see and reply to external messages from your Matrix client?
I wish matrix would not be so slow for big rooms
I used to do it, but not anymore as it was kind of clunky in my case. But I used dendrite as the matrix server rather than Synapse, so that’s most likely the reason.
I ended up moving the database on a separate host rather than using SQLite, and it added way too much latency to the whole system. Storage was also a big issue in my case, as all media received by the bridges are stored locally, and boy does it grow fast in my case haha.
When dendrite reaches a more mature state, I’ll 100% do it again though !
I’ll have to look out for the media storage issue. Do you know of any way to clean it up periodically?
I never looked it up. I used to delete media from the folder from a crontab when they were older than a month, but I had errors in the dendrite and bridge logs (though the application seemed to work “fine”). Don’t let it fill up though, because it completely fucked up my dendrite install and I had to reinstall and reconfigure all bridges from scratch when it happened.
You have a parameter to delete media not used since a period of time.
Look for the keyword ‘media_retention’ in the configuration page.
https://matrix.org/blog/2022/06/17/synapse-1-61-released/
The same logic exist for rooms messages, I’m currently testing these setting for my own server (mainly used to replace my discord reporting bots using webhook)
For the whatsapp bridge, don’t you require a phone on 24/7?
Since Whatsapp added multi-client support this is AFAIK not needed anymore.
How recent is this? When I had a bridge running it would bug me about WhatsApp having been offline for 12 days, and to re-connect before 14 days pass
Not sure to be honest. I am going off the Slidge WhatsApp bridge for XMPP which AFAIK uses the same library as the Matrix bridge and Slidge definitely doesn’t need a phone connected.
I used my matrix-whatsatpp bridge exclusively, but the bridge warned me that it would time out if my WhatsApp phone connection was inactive for more than two weeks. Maybe I should just try and see what happens anyway
It requires that you open Whatsapp at least every 2 weeks to refresh the token. The bridge will even send you a message to remind you that before it’s too late.
Had it set up for a few weeks, no bridged though, running in docker so not sure how I’d set them up
Been running Conduit for some time now, it’s been great fun.
Which image did you use? Thinking about going this but haven’t looked much into it
I posted my compose file here
Do you happen to have a link or instructions on how you set this up? @flauschke
This is the instructions that I followed for the matrix server, followed by the bridge setup
Thank you