I’m very eager for the Librem 5 to drop. But I know that the thing it’ll be lacking is notifications. Like a publish-subscribe system for having application developers send to that doesn’t rely on services like Google or Amazon. The phone’s designed for people looking to escape the grasps of surveillance capitalism and I’m all for it. Replicating something like Firebase won’t be easy. But I think that’s the point.
Doing it on a smaller scale might make more sense. Since this device is running straight up Linux (or whatever system you’d want to install if you can target it), I can just write something for it. The goal is to have a daemon that works over D-Bus and let applications use that to synchronize communications. There’s a few moving parts here.
- The middle service (this’ll ingest the app developer’s message and send it to the daemon with retry support)
- The system client listening service (that’d be the daemon running under D-Bus)
- The system client application (this’ll allow people to see the notifications and stuff that come in)
- The app developer SDK (which is just something the system comes with, D-Bus but wrappers are nice)
- The remote service SDK (this’ll allow the app developer’s program to talk to the daemon by way of the middle service)
It’d make sense for the backing on the middle service and the daemon to use some sort of pubsub system to use something like XMPP to handle that. I saw that WhatsApp had made something called FunXMPP. I’ll have to look into this more but if if I can get this going for a few personal projects then it should be exciting!