I'm hosting a matrix server it was rough but not impossible. Using conduit as the backend. Now that the setup is finally done it was so worth it. I would do it again if needed. Coturn was easy to set up along side it.
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.
-
No low-effort posts. This is subjective and will largely be determined by the community member reports.
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!
We switched to element (matrix-protocol) a while ago. Until now it worked fine for us - without any real problems. It already got a native voice/video-call implementation. But i heard that selfhosting isnt that smooth
Yeah, self-hosting it can be a bear, especially since you need to deal with the whole “bots trying to kill it will regularly post CSAM in random channels, and if any of your users are in that channel it will federate to your own server and now you have CSAM saved on your server’s cache” stuff. It’s the same problem that Lemmy was dealing with during Reddit’s APIcolypse. You can always choose not to federate, but that largely defeats the point of the protocol existing in the first place.
You also need to set up TURN servers to get functional voice/video calls. WebRTC (like voice/video calling) tends to throw a fit without some sort of TURN functionality. That’s something the average Joe won’t know how to do, and is typically going to require a paid tier from some external host like Cloudflare.
Edit: I looked it up. Cloudflare offers TURN servers, with the first 1000GB for free each month, but then it charges for use after that. But that does mean a server that gets used for video calls more than a few hours per month could end up incurring costs. Because that TURN server would be handling all of the video streaming data, so it will quickly eat that 1000GB limit. It also means true self-hosting is prohibitively difficult, as you’d be tying yourself to an external provider unless you go out of your way to host your own TURN server.
Why federate if you’re just expecting a small group of friends to use it?
I feel like Matrix has gotten a lot of hate the last year or so. Don't really know why. Perhaps people see it as being misguided.
https://github.com/spacebarchat/spacebarchat
Literally reverse engineered discord, made open source.
Surprised no one has said it yet, but matrix.
I‘ve been looking into this a bit and whilst i haven’t really tried any of the alternatives, i did collect some notes:
possible contenders
- zulip
- apache-2.0 self hosted more work focussed
- stoatchat (formerly revolt)
- AGPL-3 self hosted
- teamspeak
- proprietary ... self hosted older ts3 with ts6 announced
- mumble
- license seems foss - self hosted
- spacebar
- AGPL-3 self hosted
- return to irc or xmpp
probably no
- matrix - could not decryptinator
- a hassle regarding voice
- peersuite
- very very young and not really ready
- https://lemmy.dbzer0/post/45470657
DO NOT
- mattermost
- play stupid games, win stupid prices
- guilded
- owned by roblox
- slack
- discord
- ventrilo
- proprietary - not selfhosted - no linux
please let me know what y’all think
Most of the possible contenders lack video calls and some also other needs mentioned by the OP. Nextcloud Talk has them all
oooh, true, i forgot to included them on the list. thanks for the reminder!
Excellent summary
Teamspeak
Something that wasn't posted here yet but I just got told about: https://fluxer.app/
A chat platform that answers to you, not investors. It's ad-free, open source, community-funded, and never sells your data or nags you with upgrade pop-ups.
Over time, we'd love to explore optional monetisation tools that help creators and communities earn, with a small, transparent fee that keeps the app sustainable.
I replaced Discord(and Whatsapp) with Matrix/Element as voice chat (and general chat) with my wife. I remember running it with Docker was bit annoying to set up (I was selfhosting beginner when first doing it now it could be easier), but with Yunohost it is one click install (if you are willing with swap operating server).
Nextcloud Talk could work for your needs, but I have not personally used it so hard to recommend it.
matrix is unreasonably hard to set-up, why doesnt the docker container or the compose include voice chat? i cant even sign up for stoat to try it out.. is this the best we have against discord in the big 26 😭
I couldn't figure out how to sign up for matrix server. Maybe there are peer tube videos.
Voice chat works out of the box with Matrix.
It uses WebRTC and tries to do P2P connections. Note that this leaks your IP to the other caller and vice versa, but it's also quite fast as you can establish a direct connection.
If P2P fails it will try to fallback to your configured TURN server and use that one for relaying.
However not every instance has one (as TURN servers are usually not that modern and straight forward...) and if this is the case it will fallback to Matrix's global TURN servers.
My guess is that it would be difficult to find a piece of software that does all the stuff discord does. But I also think it's a non-issue. You could split these needs onto multiple solutions. My group uses mumble for gaming voicechat, Signal for group conversations, and a simple rtmp server for streaming. We don't need nor use discord and never did.
I like the idea of a single piece of software that does one job well instead of a giant powerhouse that does everything.
i also have a mumble server but every once in a while we need streaming. what is your rtmp setup? i am thinking of mediamtx, but am annoyed by having to post the link to the stream every time and everyone needs to resize windows manually to fit all on ome screen.
Nothing fancy, I just run this docker image which allows streaming to via OBS, and we can watch the streams with VLC. I'm sure there are better ways to do it but that works well enough for us. Do note that a few seconds of latency is to be expected with RTMP.
The main issue is you'll never get the cretins that use it off it. Communities.. they're just sitting there burning the library of alexandria.. all the esoteric knowledge they're "putting on discord" is just gonna vanish.
over a billion in vc funding and discord is as shit as it is.
It's funny you mention the VC funding. As far as I can tell, it's only made it worse. Discord would have done great if they just kept expectations low. Instead, they're now expected to create massive returns. That must come at the cost of consumers. I hope consumers get tired of it and leave, or someone else comes offering the simple service Discord used to provide.
Yes, enshittification of Discord has started a while ago, and it’s becoming worse.
As an archivist and data hoarder I hate discord with a burning, visceral passion.
Are there any groups we can join as archivist / hoarders?
Sure, a good place to start is ArchiveTeam
https://tracker.archiveteam.org/ https://wiki.archiveteam.org/
element.io uses Matrix. It's not bad.
Not bad is a good description. It’s not fun to use compared to other chat software.
yes i second matrix. it's different from discord in a lot of ways, but it's still a pretty seamless transition. for anyone who wants to host matrix, i recommend the continuwuity homeserver software. it's much easier to host than synapse and is significantly faster for 99% of use cases
if you're just trying use matrix, i prefer cinny over element for the client. cinny's ui is also very similar to discord's and it handles space/room grouping very intuitively. there's also fluffychat (less feature rich) and schildichat (element fork), among others. however, element is currently the only client which fully supports voice chat
for instances, i recommend choosing something other than matrix.org. right now, matrix is barely decentralized because the vast majority of users choose matrix.org, which isn't great. also matrix.org collects a lot of data and requires more information to register than most servers. some other good public instances are:
- tchncs.de
- unredacted.org
- catgirl.cloud
- calitabby.net
there are also many, many smaller public instances, but it's probably better to choose a relatively big one for moderation reasons. a lot of people think matrix is dead or no one uses it, but there are plenty of active communities if you know where to look
for your friends who refuse to quit discord for some reason, matrix's ecosystem also has lots of bridges. if you're willing to self host, i recommend out of your element. the only caveat is that it doesn't support e2ee rooms