A month using XMPP (using Snikket) for every call and chat (2023)

106 ColinWright 59 7/29/2025, 6:24:23 PM neilzone.co.uk ↗

Comments (59)

danieldk · 12h ago
We were living in the future. Around ~2010 we could use Jabber/XMPP to chat with people on various community services, Google Talk, LiveJournal talk, etc. Besides great Linux clients, macOS had iChat which supported XMPP, etc.
bombela · 12h ago
Yep it was great. I had one client per device. Could talk to everybody. I had a consistent UX. Sure sharing pictures and videos wasn't easy then. But also the pay to use features and dark patterns weren't an issue either.
c22 · 12h ago
This was the high point of megaupload and bittorrent, sharing photos, videos, and other large files was very easy!
bombela · 12h ago
By easy I was thinking of when I merely need a long press on a button to record, compress and upload along side my message those days :)
donatj · 4h ago
I miss the days when our best minds developed protocols instead of products. The last 15 years has been just the commodification and destruction of everything the previous generation has built.

I'm frankly surprised email has stood up as well as it has, even if it is nearly impossible to run your own email server these days.

In the mid-to-late teens IRC was making something of a comeback and then Slack EEE'd it.

icedchai · 12h ago
I briefly worked on an XMPP client around that time. It cemented my opinion that the protocol was an absolute abomination.
jauntywundrkind · 11h ago
That's quite unspecific and unhelpful.

Personally I find XMPP much makes sense. Sure it's this weird streaming XML thing, but there's a request/response pattern (IQ) inside that seems fine. I love how nicely it composes: accounts have a tree of nodes they can define for whatever content they want, which is a sensible & flexible base. Then there's pubsub, and ACL capability specs on top of that. Everything stacks relatively sensibly. The past decade has seen some good XMPP Enhancement Protocols (XEP) to create best practices & recommended feature sets.

It was such a small jump to create a full "everything app" atop XMPP baseline capabilities:

> Libervia [ed: nee Salut-a-Too] is a all-in-one tool to manage all your communications needs: instant messaging, (micro)blogging, file sharing, photo albums, events, forums, tasks, etc.

https://libervia.org/

It's unfortunate that the top rated comment is uncontestable blanket desparagement. Can we raise this from a low criticism to something respect-worthy?

lmm · 6h ago
XMPP missed the boat largely because it couldn't handle multiple clients correctly for years - the default is to deliver messages to one of your clients, you need an extension to do the sensible thing, and that extension spent years in bikeshed limbo right as smartphones were taking off and people started wanting to use the same messenger on their phone and computer at the same time. (I've heard that performance/battery issues from XML validation didn't help either)

Personal speculation but I blame the "everything is an extension" model - it was meant to reduce fragmentation and allow clients with different featuresets to interoperate, but in practice adding a new XEP seems to have all the downsides of making a change to a non-extension-based standard (you still have to get all the clients to agree) and none of the upsides.

jauntywundrkind · 1h ago
This kind of checks out for me. But also, there have been decent protocols around this for a long time, that many clients & servers have implemented. From Multi-device in the excellent Modern XMPP:*

> XEP-0280: Message Carbons - for "live" synchronization of conversations between online devices. XEP-0313: Message Archive Management - for "catch-up" of messages that were exchanged while a device was offline

https://docs.modernxmpp.org/client/protocol/

The XEP-0313 spec dates back to 2012 which is less old than I expected, and that's only the 0.1. So, very fair point.

More generally, the above complaint was about the development experience of XMPP. I feel somewhat like complaining about XMPP being failed is well tread from a why consumers didnt adopt it view, that negative sentiment abounds & everyone is more than happy to cast blame as to why. I've seen a lot less complaints about the development experience, and felt like maybe there was some novel fruitful grounds that a more developer-centric view might have been able to open up.

Flowdalic · 55m ago
> Personal speculation but I blame the "everything is an extension" model - it was meant to reduce fragmentation and allow clients with different featuresets to interoperate

I could be wrong, but that reads like you suggest that there is an alternative to the "extension model".

However, any solution where standardization and implementations are independent entities, and thereby experience a sufficient degree of freedom, will have a trajectory to a situation where you have a robust core specification and optional extensions.

Think about protocols like SMTP and DNS—each has a foundational core that’s been expanded upon by numerous optional features.

tcfhgj · 8m ago
Optional features is something different than uncoordinated extensions which might conflict with each other.
icedchai · 10h ago
I wasn't trying to be specific, just an opinion on what I experienced 10+ years ago. Others are welcome to work with the protocol and develop their own opinions.
hackyhacky · 9h ago
If your opinion is based on concrete experience, you could help people understand your position by sharing the specific aspects of XMPP that you dislike. An opinion without evidence or reasoning is not a valuable contribution to the conversation.
icedchai · 7h ago
It's been well over 10 years since I worked with, almost 15. I remember issues with keeping multiple devices in sync, syncing them back up when a user comes back online, especially with multiuser chats. I understand that is probably better now, with carbons and archiving XEPs.

In general, it felt like, XMPP has too many "optional" features. The core protocol is tiny, but everything you need and want to make it useful is optional.

tcfhgj · 8h ago
My opinion: XMPP is too little like Matrix (e.g. decentralized rooms, people as verification targets, messages (incl. e2ee ones) easily synced to all sessions) while Matrix is in a sub optimal state due to the Element/Element X client split
Bjartr · 10h ago
In today's world of containerization and AI powered UI automation, perhaps a single user-facing client could be viable again, powered by hidden per-service clients under the hood. Where each services' UI state is continually monitored and interacted with by an AI directed by user interactions in the visible interface. That would be against the services' ToS probably, but it could work I think.

Who needs APIs when a computer can exploit the analog hole and use the same affordances as a human?

zamadatix · 10h ago
I don't think having a single user-facing client has ever really been held back by the technology. It's always the services being intentionally proprietary, intentionally breaking 3rd party clients, and ToSs making it risky to do.
edoceo · 10h ago
A "User-Agent" if you will.
oofbey · 8h ago
Here's a specific complaint about XMPP, and possible explanation why nobody uses it any more. (I worked on a large-scale XMPP implementation back in the day.)

Presence. That's the colored dots indicating "is somebody online or not". The traffic needed to maintain presence scales by N^2, and in any large-scale implementation, the traffic to maintain presence data completely dominates anything useful.

Not to mention that for the past 15 years or so (ever since everybody has a connected cell-phone all the time) the whole idea of presence (am I online or not?) is either meaningless or just badly modeled.

So the result is a protocol which spends tons of bandwidth and battery maintaining metadata that is functionally useless. That's why the real world has run away from it as fast as possible.

eurleif · 7h ago
>The traffic needed to maintain presence scales by N^2

Only true if we assume the average number of contacts scales linearly with the total number of users, right? But then, we could also assume that the average number of messages that a given user sends scales linearly with the total number of users, in which case the amount of traffic needed to transmit messages also scales by N^2.

A couple of easy fixes: cap the number of contacts at some large constant (as many services do), or just disable presence information altogether in your implementation. I'm skeptical that this played a major role in XMPP's lack of popularity, especially because e.g. WhatsApp and Facebook Messenger have presence information, and are still popular.

dietrichepp · 11h ago
Company I worked at back then used XMPP. There was something that you could paste into the chat that would make all of the Mac clients crash, and to fix it, someone with a different client would have to join the chat and type a lot of comments to flood the history.

I am not surprised to hear the protocol is an abomination.

kentrado · 10h ago
Seems like a problem with the client rather than the protocol.
opan · 7h ago
Yeah, there was a similar bug in HexChat and other (pango?) stuff some years back. I remember even though I was using irssi, it could crash my Termite window.
oofbey · 8h ago
XMPP fans are continuously baffled by why XMPP isn't used for _everything_. STILL! When will the world wake up and realize its simplicity and beauty?
zsiddique · 9h ago
You could even use an XMPP client with HipChat for your business chat. Though, I'd argue XMPP was one of the factors that contributed to HipChat's demise (it wasn't the sole reason, but trying to scale presence via XMPP proved to be a nightmare).
oofbey · 8h ago
Presence is the key problem. It scales badly - in terms of compute, bandwidth, and battery. And it's not actually useful. Lose lose. Solution: don't use XMPP.
opan · 7h ago
Matrix had similar problems and most servers just disable presence. Can XMPP not do this?
SoftTalker · 4h ago
Who GAF about presence. If the person answers, they're there.
FuriouslyAdrift · 12h ago
Trillian and Gaim... (2000 and 1999)
johnisgood · 9h ago
Now Gajim still exists and is maintained. :P
BGZq7 · 8h ago
Gajim is unrelated to Gaim. Gaim was renamed to Pidgin though, which still exists.
johnisgood · 7h ago
Oh, yeah I knew Gaim became Pidgin, but I thought Gajim is a fork of Gaim as well, Gaim revived. Oops.
a96 · 44m ago
Being in any way associated with AIM/AOL was a bad thing, which they probably realized way too late.
mycall · 5h ago
Matrix Bridges do something similar.
pigeons · 5h ago
Those services, and more like facebook messenger used the XMPP protocol on both ends. Matrix bridges clumsily translate some of the feature of one protocol and display the chat on the other end.
daneel_w · 10h ago
Daily user of XMPP as well since over a decade. I still call it Jabber out of habit. Prosody on server, Profanity on desktop (terminal), Monal on mobile.
johnisgood · 9h ago
Prosody vs. ejabberd?
daneel_w · 8h ago
I have no experience with ejabberd. As for Prosody, it does everything I/we want it to do, is very easy to configure and runs incredibly light - the host is a single-core virtual machine running OpenBSD on 256 MiB of RAM, and we've yet to face resource shortages.
johnisgood · 7h ago
Sounds neat. I may self-host it then on my OpenBSD server with 512 MB RAM. I assume it supports OMEMO and all the modern extensions of XMPP, right?
johnisgood · 2h ago
Oh, I got another question and I cannot edit my comment. How many concurrently online people are there on the server that you can tell?
wahern · 13h ago
> Moving to XMPP - using prosody - worked really well for messaging, but the lack of real-time notifications on Sandra’s iPhone was sub-optimal

Were they using Monal on the iPhone? I use XMPP (Prosody) with some friends. Conversations.im works really well on Android, including push notifications. But the one iPhone user, using Monal, has said notifications don't work, and I don't know how to debug. The Monal website and commit log suggests they should be working. (macOS desktop Monal works fine for me, but it's using a normal live TCP stream to receive notifications, not cell network push notifications.)

AceJohnny2 · 12h ago
AIUI (but actual iOS developers can correct me), for Push Notifications to work on iPhones requires the system to route through the Apple-hosted Apple Push Notification (APN)

https://developer.apple.com/notifications/

This is fairly at odds with the goal of XMPP, where the device listens to the server. But of course that model doesn't really work when the device is sleeping most of the time (and I don't know how IP or TCP connections are handled in an LTE or 5G world, but I'm sure there's a consideration there).

All this to say: iOS is hostile to XMPP.

jauntywundrkind · 11h ago
Apple's implementation of Web Push Protocol is also viciously inconsistent. Battery efficient yes but notifications just go missing or show up days after they were sent. Apple really has a way with keeping their own special native apps and their own services locked in.
sssilver · 12h ago
Another way to say it would be: XMPP is hostile to power efficiency.
zaik · 11h ago
Conversations is one of the most battery efficient IM clients out there despite maintaining it's own TCP connection. This is possible because Conversations can tell the server to shut up unless it's important, which reduces radio usage a lot. This extension (CSI) is quite mature and found on most servers by now.
vetrom · 11h ago
It's not that XMPP is hostile to power efficiency, its that Apple (and Google) gateway power-efficient edge triggering behind vendor-restricted cryptographic feature locks.

They have arguably correct reasons for doing this, but it's a false comparison to say that the software is inefficient when its just as efficient that anything else at that privilege level on the phone can do.

gsich · 9h ago
Wrong. Apple (or Google) also use the same TCP based approach to maintain connectivity to allow notifications. No way is an extra connection responsible for bad power efficiency, with that small payloads. This is propaganda.
msgodel · 10h ago
Nope. You can do push with XMPP just like everything else. The problem is that Apple demands open source client maintainers also personally maintain infrastructure with high availability to handle the push notifications rather than allowing them to delegate that to service operators where it belongs.

Apple is aggressively hostile to open source is the problem. IMO their behavior is why we don't have any nice open source chat apps like we did before the iPhone became popular.

tharant · 9h ago
I can find no such requirement in the App Store Guidelines. Or is there anecdotal evidence somewhere?
msgodel · 9h ago
They require push notifications to be signed with your certificate. You must maintain the infrastructure to do this yourself because you can't share the certificate with third parties (obviously) and downtime will mean no push notification delivery.

I have no idea if that's in the guidelines but that's how it works.

WhyNotHugo · 12h ago
Somewhat fuzzy on the details right now, but:

You need to enable a plugin in prosody for notifications to get routed via Apple’s servers. The plugin is disabled by default, but included in the default installation.

grodriguez100 · 1h ago
Can’t help reading that as “Skynet” every time.
ColinWright · 13h ago
Seen here:

https://mathstodon.xyz/@neil@mastodon.neilzone.co.uk/1149374...

Usage continues two years later ...

riedel · 13h ago
What are the actual security concerns when using OMEMO mentioned in the post? Most criticism I find is on implementations.
digianarchist · 11h ago
https://omemo.top/

Wish there were more library implementations that clients could leverage.

haunter · 7h ago
Am I understanding right that they (two people) only talk with each other? Or at least they only talk with each other through XMPP?
rdm_blackhole · 1h ago
I am making notes of this for if/when Chat Control gets the green light from the EU parliament.
rlpb · 11h ago
I've been a big XMPP fan, having deployed it at customer sites more than a decade ago, running my own self-hosted service for friends and family, and so forth.

I'm disappointed that the experience is still not at feature parity with proprietary solutions. For example, Conversations.im is a great Android client for XMPP, but it still does not support live location.

There's so much potential to be better than the proprietary solutions, too, for example with OsmAnd integration (https://codeberg.org/iNPUTmice/Conversations/issues/11).

zie · 10h ago
Interesting. I would have never thought of using XMPP to share location info like that.

I use Overland[0] and a custom server implementation that lets people I care about see where my phone is(and presumably me).

0: https://overland.p3k.app