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
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
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
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?
Had it set up for a few weeks, no bridged though, running in docker so not sure how I'd set them up
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.
I wish matrix would not be so slow for big rooms
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
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