this post was submitted on 07 Sep 2023
66 points (95.8% liked)

Selfhosted

40415 readers
494 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
 

There seem to be plentiful options for text chat servers, so I'm curious for those that self-host their own, what their preferences & experiences have been with them.

Also those mentioned in the title were just a few examples, if you run something else, e.g. Revolt or Mattermost or something else less popular, would be interested in reading about it!

top 50 comments
sorted by: hot top controversial new old
[–] russjr08@outpost.zeuslink.net 30 points 1 year ago (1 children)

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.

[–] soullioness@lemmy.ca 2 points 1 year ago (2 children)

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

[–] russjr08@outpost.zeuslink.net 3 points 1 year ago

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.

[–] morethanevil@lemmy.fedifriends.social 20 points 1 year ago* (last edited 1 year ago) (1 children)

I host Synapse (Matrix)

Runs without problems and it just works 🌞

[–] caseyweederman@lemmy.ca 4 points 1 year ago (1 children)

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

[–] morethanevil@lemmy.fedifriends.social 6 points 1 year ago (2 children)

Never used it in LAN. Always used a VPS for this with a domain name, no DynDNS or similar.

[–] caseyweederman@lemmy.ca 2 points 1 year ago (1 children)

Mine only works on lan. The ddns checks out, but clients over the internet get nothing.

[–] morethanevil@lemmy.fedifriends.social 2 points 1 year ago (1 children)

Maybe a problem with portforwarding 🤔

[–] caseyweederman@lemmy.ca 2 points 1 year ago

I checked that too. It's just cursed.

[–] huginn@feddit.it 2 points 1 year ago (1 children)

How much does a vps cost running your matrix client? It can't be more than a couple bucks a month right?

[–] morethanevil@lemmy.fedifriends.social 3 points 1 year ago (1 children)

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

[–] huginn@feddit.it 2 points 1 year ago

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.

[–] Shmandom 17 points 1 year ago (1 children)

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 👍

[–] anzo@programming.dev 11 points 1 year ago (1 children)

Snikket.org is an xmmp server that bundles common extensions

[–] poVoq@slrpnk.net 4 points 1 year ago

And has very well working notifications support on iOS with the included app.

[–] poVoq@slrpnk.net 13 points 1 year ago

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

[–] CAPSLOCKFTW@feddit.de 11 points 1 year ago (3 children)

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.

[–] Anafroj@sh.itjust.works 9 points 1 year ago (3 children)

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!

[–] erev@lemmy.world 4 points 1 year ago (1 children)

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.

[–] Anafroj@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago)

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. :)

[–] OldPain@lemmy.world 2 points 1 year ago

Thanks for mentioning this! Had no idea how much I want this.

[–] EngineerGaming@feddit.nl 1 points 1 year ago (1 children)

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.

load more comments (1 replies)
[–] poVoq@slrpnk.net 4 points 1 year ago (2 children)

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.

[–] CAPSLOCKFTW@feddit.de 1 points 1 year ago

Thanks, i do already know the lounge, but I self host quassel and have my own self hosted image sharing solution.

load more comments (1 replies)
[–] ALostInquirer@lemm.ee 2 points 1 year ago (1 children)

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.

[–] CAPSLOCKFTW@feddit.de 3 points 1 year ago

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.

[–] JJGadget@lemmy.world 10 points 1 year ago (2 children)

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.

[–] Chewy7324@discuss.tchncs.de 3 points 1 year ago (4 children)

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

load more comments (4 replies)
[–] ALostInquirer@lemm.ee 2 points 1 year ago (1 children)

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.

[–] JJGadget@lemmy.world 3 points 1 year ago

I run it with a whitelist of other instances I do federate with. I have actually been considering opening it up.

[–] minnix@lemux.minnix.dev 8 points 1 year ago

Matrix for a few years now. Proxying it correctly is the only difficult part.

[–] vegetaaaaaaa@lemmy.world 8 points 1 year ago (1 children)

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.

[–] Chewy7324@discuss.tchncs.de 1 points 1 year ago (1 children)

I recommend checking out dendrite instead of synapse since it is more lightweight.

[–] vegetaaaaaaa@lemmy.world 2 points 1 year ago (5 children)

I have tried a few other matrix servers (dendrite and conduit), something always ended up not working because they don't implement everything synapse (the reference server) does, or there were bugs - generally audio/video calling or file transfer would break. Synapse worked out of the box. It also has good documentation.

I don't see any performance problems or abnormal resource usage with synapse either. As I said I don't use it that much, so maybe there is something nasty I didn't see yet. From what I've read, it is only a problem when you federate with "large" instances/rooms, but my server is not federated, it's just a basic private chat server.

load more comments (5 replies)
[–] hitagi@ani.social 5 points 1 year ago (1 children)

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.

[–] tamasbarta@lemmy.world 2 points 1 year ago

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.

[–] EngineerGaming@feddit.nl 5 points 1 year ago

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.

[–] mariom@lemmy.world 5 points 1 year ago (6 children)

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

load more comments (6 replies)
[–] sparr@lemmy.world 3 points 1 year ago

I used Mattermost for a community project, but had trouble getting people to install/use/learn yet another client.

load more comments
view more: next ›