this post was submitted on 25 Feb 2025
46 points (97.9% liked)

Selfhosted

43229 readers
450 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

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

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Toying with the idea of setting this up for myself, maybe a few bridges, maybe a few group chats on matrix itself. What kind of cost should I expect?

all 24 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 19 hours ago

You might wanna check out this article: https://lukesmith.xyz/articles/matrix-vs-xmpp/

I found it after I already settled with snikket.im The mobile application is reliable and there is Conversation as desktop client. From my point of view, the audio and video quality of Snikket are way better than Matrix.

It worth mentioning that initially I wanted to set up a Matrix server also, but I had second thoughts because I knew how resource intensive are the mobile app and the server also.

[–] [email protected] 22 points 1 week ago (3 children)

Matrix servers have the problem of highly variable resource use.

Basically if you only use it for some light chatting with friends and family and some niche topic public rooms it isn't very heavy.

But if any user of your homeserver joins any busy rooms or uses the bridges to join busy public Telegram channels or such, it will quickly outgrow the resources of a reasonably priced VPS.

Personally I would rather recommend you to set up an xmpp server, which can include a gateway to Matrix and other services, but architecturally is much more lightweight and has better mobile clients.

[–] [email protected] 4 points 1 week ago (2 children)

Better mobile clients? Have things changed this much in the least three years?

[–] [email protected] 2 points 6 days ago

I found snikket to be quite decent, give it a whirl.

[–] [email protected] 3 points 1 week ago (1 children)

Matrix mobile clients got worse, yes 😅

Otherwise not really. Three years ago Conversations was quite good already, although the newer forks Cheogram and Monocles added some nice convenience features.

[–] [email protected] 1 points 1 week ago

Hm, I never really liked Conversations and decided to end xmpp for good. Maybe I need to give it another try but I really like some Matrix features.

[–] [email protected] 1 points 1 week ago (1 children)

How is the user experience compared to matrix? Is it easy to gateway towards matrix or other services? Can I easily join matrix or other communities servers?

I see a lot of people are now using matrix but not so many xmpp, but yeah it hoggs resources on my server too. Also I feel like it's still pretty buggy..

[–] [email protected] 5 points 1 week ago

Xmpp itself works great. The slidge.im bridges are relatively new and your mileage will vary. Matrix, Discord and Telegram works ok, Signal & Facebook messenger have issues right now, WhatsApp is a bit tricky to set up properly.

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago) (1 children)

ooh! how do we bridge to matrix from xmpp server?

edit all i can find is how to do it from a matrix server

[–] [email protected] 5 points 1 week ago (1 children)

https://slidge.im/

It basicallly allows you to remote control an existing Matrix account on a remote homeserver. Works quite well.

[–] [email protected] 2 points 1 week ago (1 children)
[–] [email protected] 3 points 1 week ago (1 children)
[–] [email protected] 1 points 1 week ago

Works now for me!

[–] [email protected] 17 points 1 week ago* (last edited 1 week ago) (1 children)

I pay 6.84€ a month for a VPS plus 4.65€ a year for the domain. That gets me a VPS with 4 cores and 8GB of RAM so in addition to Matrix, I can also fit a few Fediverse services, Nextcloud, a homepage, ...

[–] Brumefey 4 points 1 week ago (1 children)

Since you seem happy : Any recommendations for VPS provider ?

[–] [email protected] 2 points 1 week ago* (last edited 1 week ago)

I'm with netcup.com and I've been happy. But some people complained their support isn't the best and they sometimes don't answer. I'm not sure about the details as I've never needed support. Maybe you want to ask someone else. And make sure to choose the correct server location as most of their servers are located in Europe and you don't want that latency if you're living in the USA.

[–] [email protected] 8 points 1 week ago (1 children)

For something like that, you'd want a VPS with 2-4 cores, 4 GB RAM, 80 GB SSD. Any less and you'll start to run into problems when adding bridges and stuff.

So, it's really a matter of what deals you can find in that bracket, and if you care about the geographical region it's hosted in. Usually https://lowendtalk.com/ is a good place to start looking at options.

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago)

Love Lowend. Just grabbed this deal from massiveGRID. Never heard of them, but I took a chance;

4 Shared Intel Xeon CPU vCores
8 RAM DDR4 ECC Registered (GB)
256 Primary High Availability SSD Storage (GB)
20 TB Guaranteed Internet Traffic
1 IP Addresses

I paid $141.28 for 3 years, and replied on their forum post for Lowend and they added 1 extra year of service for free, and activated lifetime pricing. So it works out to be about $2.95/mo which is a damn great price. The only real drawbacks are the network is 1 Gbps shared** and no IPv6 (they're adding it over the next several weeks looks like).

**speedtest;

[root@dev ~]$ speedtest --secure
Retrieving speedtest.net configuration...
Testing from Massivegrid (xx.xx.xx.xx)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Wnet (New York, NY) [0.09 km]: 2.429 ms
Testing download speed................................................................................
Download: 1028.91 Mbit/s
Testing upload speed......................................................................................................
Upload: 997.58 Mbit/s

So not absolutely mindblowing, but you seem to get the full 1 Gbps, which is great. I contacted support and they'll be offering VDS plans soon with access to higher than 1 Gbps speeds. Super happy so far.

[–] [email protected] 7 points 1 week ago (1 children)

Be careful. My disk usage is well over 8gb after bridging my WhatsApp and telegram chats...

In the clouds I would be worried about storage costs.

[–] [email protected] 0 points 6 days ago

I think for matrix to be usable in a homelab setting, Matrix needs to enable a way to handle these huge data storage with prune or something similar.

[–] [email protected] 4 points 1 week ago (1 children)

@zygo_histo_morpheus If you don’t mind being powered by Oracle, the free tier OCI is pretty generous

[–] specialseaweed 1 points 6 days ago

I upvoted your comment but man I wouldn’t even take a freebie from Oracle. Just an absolutely rotten company and Larry Ellison is one of the worst humans on the planet.

[–] [email protected] 1 points 1 week ago

12 to 40 bucks a year depebding on which racknerd vps yiu need. I spend aboit 15 a yaet on mine but it only has me and my facebookessenger slidge bridge