Oh, and if you wish, it’s a bit old now but no doubt useful, I have written installation guides on both, based on Linux containers.
Comment on Any good selfhosted instant messaging?
N0cT4rtle@lemmy.zip 3 days agoThanks, will check it out. If it’s not too bothersome, could you specify why XMPP would be a better choice than other options? The protocol itself, I mean. There’s a lot of contradicting info on each of the protocols. Some say XMPP is ancient, choose matrix. Others say matrix is a complicated mess, choose more mature XMPP
lyralycan@sh.itjust.works 3 days ago
cenzorrll@piefed.ca 3 days ago
XMPP is ancient. So is email, the internet, and the wheel.
lyralycan@sh.itjust.works 3 days ago
As someone who’s tried both, it depends on what you want. Your choice of Matrix server depend on any political and ethical values – some say Synapse is too corporate, being maintained by Element who are for-profit and obtain funding from corps and governments, so some prefer others such as Conduit ( – until maintaining slowed to near abandonment and it was superseded by Conduwuit – until the owner got bullied so hard she quit the project and it was superseded by Continuwuity) or Dendrite. I recommend Continuwuity.
Then there’s clients – the only mature matrix client for mobiles is Element, and there are two apps, Classic and X, who offer different pros and cons, and imo are not good enough on their own, both are in a kind of beta stasis. But it’s the best they have. If you really don’t need calling, then Element X, FluffyChat or Schildichat is your app and Element Web for desktop access (available on Github). However, when exchanging encryption keys to trust another of your devices, or a contact’s device, only Element offers simple QR scanning.
In short, Matrix is very good as a privacy-focused server with partially working, modern looking clients.
Then there is XMPP. Again there are different backends to choose from and I am inclined to recommend Prosody. XMPP just works out of the box for me, calling included, and is relatively stable. However, there are large caveats – several pieces of user data are stored unencrypted on the server, which is fine for you as the owner, but it’s a lot harder for someone else using your service to trust that. And, while XMPP uses OMEMO encryption keys, handshaking with devices is far more manual than Matrix’s Olm/Megolm and involves a multi-step process, and migrating to a new device is a pain because messages are not backwards decrypted, so they must be transferred from the first device. Finally, clients are very rough. The best desktop clients still look like they were built in 2001, and while mobiles have Monocles, Cheogram and Conversations, they all look very similar, as the former are very slight modifications of Conversations.
In short, XMPP may lack some comforts of modern messengers, but it is simpler to set up than Matrix, and offers many of the same features. However, the manual key sharing process might scare off all but the most avid privacy enthusiasts, especially that if you migrate to a new device without sharing message history from a previous verified device, messages are lost.
Choose Matrix for polished software, inviting many contacts, and, with Element X featuring (eventually) Element Call, complete E2EE. Choose ol’ faithful XMPP for an easier initial setup, if video calls are important, or if you don’t like Element the company.
poVoq@slrpnk.net 2 days ago
That you think Gajim looks like it was build in 2001 tells me you haven’t used XMPP in quite a while 😅
lyralycan@sh.itjust.works 2 days ago
Ooh they upgraded? Yeah my information is based on early 2025 when I tried it aha
ChaosMonkey@lemmy.dbzer0.com 2 days ago
There is an XEP for Message Archive Management that should allow for message history sync on XMPP.
lyralycan@sh.itjust.works 2 days ago
My install must have been broken then 😭 and my experience is from around early 2025, and I didn’t keep it around, so my intel is also dated…
N0cT4rtle@lemmy.zip 3 days ago
Thank you a lot for such detailed explanation! I finally got a definitive answer to XMPP vs Matrix debate. You definitely convinced me to try XMPP, seems indeed more reliable. In another message, you also mentioned you wrote a guide on Prosody, I actually would love to check it out :)
lyralycan@sh.itjust.works 2 days ago
Here you are :) it’s a Github link
starkzarn@infosec.pub 2 days ago
I’ll add to the pile: roguesecurity.dev/blog/xmpp
Prosody gets my vote as well for extensibility over snikket and still being relatively easy. XMPP for the win!