Short answer: No Long answer: No, but maybe in a year or two?
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!
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.
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 😭
XMPP is also still a thing and IMO much easier to host (at least ejabberd is). Look into Movim, which looks quite nice as a discord replacement on top of XMPP.
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.
https://matrix-construct.github.io/tuwunel/deploying/docker.html?highlight=voice#voice-communication
tuwunel seems to have some docker guides for how to set up voice & docker.
Setting up Element Call on my instance was difficult on its own, I understand why Synapse doesn’t come with it out of the box, essentially you spin up Matrix’s JWT service for authenticating clients and it if approved forwards the connection to the Livekit ports which must be opened on your firewall (ie port forwarded), otherwise people will not be able to connect to calls.
Big PITA and in my experience, on my home network, can conflict with games with VOIP chats so don’t follow the default 50000:55000 port range Livekit recommends or you’ll run into issues like I did, each person consumes 2 ports so adjust the range to your need.
Edit: I don’t suggest running Element Call standalone, it has issues of its own, once you get Livekit and JWT running and follow This guide you should have your element call support in Synapse now, pro-tip for those running synapse behind docker and get confused on the whole ./well-known part of the documentation you can edit your ./well-known in your homeserver.yaml file like such:
serve_server_wellknown: true
extra_well_known_client_content:
optional: client
"org.matrix.msc4143.rtc_foci": [
{
"type": "livekit",
"livekit_service_url": "https://livekit-jwt.your.domain/"
}
]
I still use IRC. There are now modern web clients like The Lounge or Convos that can display/share images in the channels, keep history and push notifications. Apparently Convos can do video chat but I never tried it. Unfortunately I'm not aware of screen sharing features for any of these.
So on a very simple setup, you need an IRC server, then install and connect one of those clients to your server, and use them through a web browser, either on a computer or on a phone.
It's obviously not entirely Discord-like, but it is a simple way to chat and share images.
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.
As an archivist and data hoarder I hate discord with a burning, visceral passion.
Matrix hoster here.
I would recommend Matrix as it has pretty much everything, including cross platform clients, threads, voice/video calls, screensharing, spaces (aka servers), federation and E2EE. Matrix also has bridges for Discord and pretty much every other service so this could ease transition...
But self hosting requires reading the docs and having some in depth knowledge and understanding as it can be quite complex.
I would recommend just creating a Matrix account on one of the common global servers and testing it.
If you want to self-host there are some pre-defined setups available (example) but I would still recommend to bring at least 5-10 hours.
Regarding operations: It's really resilient and barely ever breaks and also doesn't need a lot of resources. A 1-2vCPU server with under 1GB RAM server is enough for less than 10 people.
You se knowledgeable on this, so I hope you'll allow me to ask this.
I don't know anything about Discord, but I selfhost the Mattermost chat system for my family. They, too, are narrowing the free tier.
Can Matrix replace Mattermost for a family? Several separate "rooms" for various topics, plus 1-to-1 chats.
E2EE group chats on matrix seems to be a huge problem still. I look forward to their MLS implementation. Hopefully that fixes a lot of these UX issues.
teamspeak6 is in beta right now but it is my replacement for discord. Check it out, supports most anything people have used disc for
element.io uses Matrix. It's not bad.
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
This is fantastic information, thank you
If OP wants voice and video chat like they say they'd have to host synapse and use element afaik.i don't think any of the other home servers support matrix calling. Cinny and fluffychat don't support voice or video calls. Fluffychat has it as an "option" but it's currently broken last time I tried it. Schildi chat might work for voice and video since it's an element fork. I've not tried it so I don't know for sure.
element call is a standalone service (call.element.io) that the client just integrates really well. since it's not actually part of the homeserver deployment, it should work fine even without synapse. that said, it means traffic passes through a third party server unless element call and the client are also self hosted. but yes, you're right that other clients currently do not support calling. luckily, cinny is relatively close to merging a PR that adds it
Can confirm, I host Matrix (homeserver synapse) and Element. Voice is a pain to get set up but I hear there are other matrix services which will do this for you easier. It's a process though. You can get text chat up in a day, voice is going to be a bit after that, a lot of tinkering.
Dito (Synapse server), Element for desktop app and fruitphones, Shildichat for android (its lighter and has an adorable turtle as a mascot).
And seconding the voice coms, the VOIP relay server is a huge pain to set up, same with the registration page. My nerd herd hosts a few services that federated to share services and the admin group just issues people accounts.
TLDR: no... Were not using discord anymore, we have discord at home.
The Mastodon founder, Eugen Rochko, has just announced that "We’ve moved our internal communications from Discord to Zulip at Mastodon".
https://mastodon.social/@Gargron/116041405748460511
Zulip is probably more focused toward work than TTRPGs, but it can't hurt to try it. (I haven't tried it personally, yet.) It is self-hostable.
Zulip is great… on a PC. On mobile is a totally different thing, and not in a good way. 😕
It's a shame, zulip doesn't have e2ee. not even DMs. but they seem to be working towards federation of some sort? there are no good/perfect solutions out there.
Any Matrix clients support screensharing?
I am not knowledgeable enough yet, but doesn't self-hosting Nextcloud have a voice feature? I'm looking into setting that all up myself
Back in my day, (shakes cane), Teamspeak and Ventrillo were the big voice chat platforms/tools. Both have text chat and channels/rooms; but their focus is voice chat for gaming.
What's that you say? IRC?
Ventrillo.
Dammit, son, makin' me feel old now
Roger Wilco

Hahahahaha
I'll be over here crying in the corner.
Next you're gonna mention ICQ
Matrix is an option but it’s slow and breaks all the time. I’m a big fan of XMPP myself but good luck convincing anyone else to make an account 😔
Dont knock matrix for being slow, it updates just as fast as anyone else's network speed is and it is focused on encryption and security. Given [gestures broadly to everything these days] people moving away from major platforms should really take into account their digital footprint and privacy.
So do you have to have an account on a specific server and then get the client or get the client first? I can't recall how to do it any longer.
Its pretty similar to Lemmy or anything else in the fediverse, someones full user name includes their home server.
Your admin just needs to have configured the service to except comminication from other servers and not just its internal users.
Check out https://stoat.chat/, it's the closest self hostable group communications platform to Discord.
Just a fair warning in reply to this that the self-hosted version of Stoat doesn't currently have voice chat. It's an open issue that's currently paused until they can finish their rework.
If you have the skill for it, it seems like you can patch work the existing voice chat back in, but it's not part of their initial setup and there's no instructions on how to do so properly
There another thread about discord requiring a face scan next month,so I think alternatives might start getting pushed.
Such as https://stoat.chat/
Edit: Not sure you can self-host it, but it does have a back end server listed in it's source code with a docker, however it might just be for code testing.
Right RTFM... https://github.com/stoatchat/self-hosted yes you can self-hosted it.
Would Matrix be a good option? I think they have voice chat. There's a bunch of clients that you can pick from (Element, FluffyChat, etc) that seem pretty good
Matrix?