Foghorn is a UnifiedPush distributor for Sailfish OS. It supports the Mozilla push service or ntfy.sh (either the public instance or a self-hosted one). With this app installed, other applications can register for push notifications. It does nothing by itself. Unleash the toot toot.
Push Services
UnifiedPush supports arbitrary push notification services as the transport for receiving push notifications on-device. Foghorn can currently receive push notifications via:
Android App Support (Experimental)
If enabled, Foghorn will expose itself to the running Android container, and Android apps supporting UnifiedPush (Fennec, Ironfox, Element X, among others) can register with Foghorn to provide push notifications. This is accomplished by a service running on the Sailfish OS side that listens for the setting being enabled. When enabled, an APK is installed in Android App Support. This APK communicates with foghornd (Foghorn's actual notification service) via a local network socket. Communication between foghornd and the APK is secured with a shared secret.
Note that the service that manages the setting sync with Android AppSupport runs as root. This is used to install or remove the APK required for Android to see Foghorn. foghornd itself is a user service, and notifications are dispatched to the Android APK via this user service.
Please update to 0.6.1 ASAP if you are on 0.6.0. 0.6.0 causes a boot lock-up due to a circular systemd service dependency. To immediately fix this on 0.6.0, please run:
devel-su rm /etc/systemd/system/multi-user.target.wants/foghorn-appsupport-sync@*.path
And turn off the Android Apps setting. This problem is fixed in 0.6.1.
Integrating Your App
The app exposes a custom UnifiedPush permission and a guide to integration is available.
For Rust apps, you can use Leghorn.
Information
| Attachment | Size | Date |
|---|---|---|
| 2.88 MB | 21/08/2026 - 14:22 | |
| 2.88 MB | 21/08/2026 - 18:29 | |
| 2.89 MB | 06/10/2026 - 10:23 | |
| 2.59 MB | 06/10/2026 - 11:09 | |
| 3.02 MB | 07/10/2026 - 17:00 | |
| 2.71 MB | 07/10/2026 - 17:03 | |
| 3.22 MB | 10/10/2026 - 17:45 | |
| 2.91 MB | 10/10/2026 - 17:47 | |
| 4.03 MB | 12/10/2026 - 22:02 | |
| 3.69 MB | 12/10/2026 - 22:02 |
Version 0.7.0:
Version 0.6.1:
Version 0.6.0:
Version 0.4.x:
Comments
dumol
Sun, 2026/10/18 - 21:56
Permalink
RooTelegram 3.7, launched today, now has an option to use UnifiedPush through Foghorn. Works fine on my device...
projectmoon
Sun, 2026/10/18 - 21:57
Permalink
The toot expands!
Manisak
Fri, 2026/10/09 - 15:45
Permalink
In combination whit Ntfy and Xmatic Top.... Thanks
dumol
Tue, 2026/08/25 - 18:11
Permalink
Would like to try and eventually promote this, but where's the 32bit package?
Also, please add link to repo.
Thanks!
projectmoon
Tue, 2026/10/06 - 22:41
Permalink
There is now a 32 bit build available. I have zero idea if it wil work or function. But you are welcome to test it and see. And if it doesn't function, info/stack trace/logs could be useful.
dumol
Wed, 2026/10/07 - 22:13
Permalink
Runs fine on my XA2, tested successfully with your test connector. Memory usage for the daemon is very decent. This looks too good to be true... Thank you!
I'll start pestering other devs to use it. This has been missing from Sailfish for far too long.
projectmoon
Wed, 2026/10/07 - 22:15
Permalink
There will also be a better way to use it soon (for Rust applications). When you have Foghorn, you can also have ... Leghorn.
I say, I say, that, boy, that there is a push notification...
projectmoon
Sat, 2026/08/29 - 12:51
Permalink
There is an indirect link to the repo: integration guide. As for 32 bit build, it requires patching a Rust crate. This is why it's not available yet.