I'm a big fan of Matrix, as it's easily accessible from anywhere - plus I already have a server for it spun up going on two years now which makes it easier for me.
Selfhosted
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:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
What's the advantage of self hosting Matrix?
I can setup bridges, so I can communicate with any other messaging systems (whatsapp, discord) within matrix
Personally, its a combination of the following reasons:
-
I'm not held to another server, and self-hosting my own makes sure that whomever hosting the server doesn't just close the doors one day and decide they're no longer going to do so
-
I find it fun to setup my own services, like Matrix, Lemmy, Mastodon, etc
-
I control what servers are blocked / defederated from, from my knowledge though defederating on Matrix doesn't happen nearly as often as it does for ActivityPub based platforms however.
-
I created Matrix accounts for some of my family members to communicate with, and if they lose the password I know that I can reset it for them rather than hoping they setup the account recovery info correctly.
I host Synapse (Matrix)
Runs without problems and it just works 🌞
Mine just stopped working when not on the local network and I haven't had the energy to find out why and then to fix it and then to convince everyone I'd brought in that this time will be different
Never used it in LAN. Always used a VPS for this with a domain name, no DynDNS or similar.
Mine only works on lan. The ddns checks out, but clients over the internet get nothing.
Maybe a problem with portforwarding 🤔
I checked that too. It's just cursed.
How much does a vps cost running your matrix client? It can't be more than a couple bucks a month right?
I pay around 10€ per month. The VPS has more services than.just Synapse. Mastodon, Database, Immich, Nextcloud, gotify.... And a few more 😁
I use the VPS 2000 from NetCup
I figured given that I'm on c/selfhosted that it probably wasn't only synapse just was curious about overhead.
I've got a little raid 5 8tb server under my desk that I just use locally to fuck around with/VPN back into my house/store larger backups on.
I'd never want to be using it to host anything like a website or service, so I'm always curious what the web hosters have and pay.
XMPP with prosody is good once you've figured out the modules you need.
Unfortunately, I had to quit a few years back as there was no reliable iOS client. Long story short: notifications were never working as expected on that plateform.
Matrix.org is overkill for my needs, but at least notifications work accross the board 👍
Snikket.org is an xmmp server that bundles common extensions
And has very well working notifications support on iOS with the included app.
XMPP is in my opinion the best compromise between modern features and lightweight to selfhost. Also of course fully federated.
You can learn more about it on https://joinjabber.org
Or if you just want to try it with a nice web-client, try https://movim.eu
I'm in a irc channel with a bunch of internet friends. I like how ancient it is, it reminds me of the old internet. The limitations are severe however and I would never suggest to anyone to use IRC as a text chat server. Without these people and the nostalgia I would go for matrix I think.
The good news is that with ircv3 being worked on, it may soon(ish) be quite dusted. :) It adds features like reply threads, history from when you weren't connected, message editing and deletion, and more!
I both love and hate this. I love to see IRC getting some love and these features are massive QoL improvements. I say this as a regular IRC user. On the other hand though, no touch da fishy.
They do maintain the simplicity of the line oriented protocol, so I'm fine with that. :)
That's the strongest point of IRC, IMO, and why it's kept so simple : every instruction is a plain text line, period. It makes it incredibly simple to build on top of it. You don't need to introduce a dependency to a project that probably will be abandonned in a few years, at which point you'll have to rewrite your codebase to use an other dependency, for a few years. You just open a TCP connection, you read lines from the socket and write lines to it, each line is its own instruction structured in well known fields, and that's it. It's so simple!
As long as IRCv3 sticks to that, they have my blessing. :)
Thanks for mentioning this! Had no idea how much I want this.
AFAIK even without ircv3 history is possible - at least Unrealircd offers such an option (https://www.unrealircd.org/docs/Channel_history). However, I have only ever seen this utilized once, on a very small server.
https://thelounge.chat/ with any IRC server (but IRCv3 like https://ergo.chat is best) works very nicely, including mobile support and push notifications etc. Also includes a bouncer for full history and a file upload service for image sharing.
The limitations are severe however and I would never suggest to anyone to use IRC as a text chat server.
I'm a little confused, if all you wanted from it was text chat, isn't that pretty much exactly what it is as a result of its limitations? Regardless, for the majority of folks I think you're probably right that it may not be advisable given its limits.
Oh well, there are different implementations of IRC, and some limit you more than others. Flood protection is a pita if you want to share long text, since max message length is not that much. Netsplits are still a thing and your nick can't be longer than 15 chars. Text formatting works on most servers, but that's no guarantee. The length of a channel topic is also limited. You interact with the server only through the same messages you send to your chats. You need some kind of bouncer to still follow a chat if offline.
I've been self-hosting Matrix for like 2+ years now. The setup yaml was a lot to get thru in terms of reading what each set of options did. That felt like a lot but the reality was only a few things actually needed to be set and/or changed to make it work the way I wanted. Thankfully Matrix documented all the options out.
Overall, I'm extremely happy with Matrix. It has very much been set it and forget it once it was up. I'm excited to see where Matrix 2.0 goes.
The new Element X is really awesome. Since it's now in public beta I'm going to setup dendrite + mautrix-signal/-whatsapp/-discord behind their new matrix 2.0 sliding sync proxy.
The only thing I'm going to have to figure out is whether it's possible to disable image compression for bridges, because the quality was pretty bad the last time I tried (not surprising after being compressed 3 times).
Do you run it as a mostly isolated/self-contained instance, i.e. not federated/connected to others? I've read here & there that for some it seems to bog down as they try to operate it as a federated instance.
I run it with a whitelist of other instances I do federate with. I have actually been considering opening it up.
Matrix for a few years now. Proxying it correctly is the only difficult part.
Matrix (synapse) + element-web works for me, although I didn't get many people on board.
Mumble is what I use the most, with 2-10 users - it's primarily for VoIP/gaming comms, but also has basic text chat. Text messages are not persistent though, and there is no web interface, only desktop/mobile clients.
For pragmatism, I just use Signal (not self-hosted) because it is at least partly FOSS, looks reasonably secure/private, and the UX is good enough so I could get people to use it.
Matrix but then I realized I only used it for the bridges so now I use Beeper instead. RIP my Matrix server which only served two people.
Beeper is pretty good, but the security model is only acceptable with self hosting for me. I'm yet to set up the LinkedIn bridge, but I'm pretty close to what they offer.
I recently started hosting XMPP with Prosody, and now try to get people besides my family there. Thought of Matrix but it seems to be the same thing but bloated. Most of my groupchat socialization is on IRC (I have a bouncer in the same place), but that's not with people I know IRL.
Place where you have most of your friends…
Used to xmpp, but it died naturally over the time and someday I just stopped my prosody server. Nowadays - a bit of IRC (few friends still are there) and discord (not selfhosted, but from all the alternatives… feels best).
XMPP didn’t really die a natural death, it was kind of murdered. It’s still around though, and works great, but of course the problem is as you mentioned — your friends probably aren’t using it.
I used Mattermost for a community project, but had trouble getting people to install/use/learn yet another client.