Mollysocket
The Molly fork of Signal now has a variant that supports UnifiedPush, but it requires a helper called Mollysocket to be installed on a server somewhere. I can't get my head around the (we'll call them 'lean') docs, and I've never encountered such a helper for other UP apps. They just ask what to attach to, and they attach.
Has anyone fought through this?
UP requires server-side support. Signal has ignored the request to implement it numerous times. So users need to host a proxy that uses Signal's websocket notification protocol to connect with Signal and distributes received notifications over UP. This moves the battery-draining websocket from mobile devices to some net-powered server.
Never heard of Molly before. Will look into that when I find some time. Thanks for the hint ;)
you probably already found this, but for others who might be curious:
https://molly.im/
https://github.com/mollyim/mollyim-android
Oh, so that's why there's no hint of UP in the UP version of Molly
in the settings if you change notification method from websocket to unified push, the UP settings come up, including a server address (which is what they intend to be used) or some air gap mode that i can't find documented
Prerequisites
Installation
cargo install mollysocket
mollysocket
executable if desiredmollysocket
once so that it will emit the default configConfiguration
.config/mollysocket/default-config.toml
and copy it somewhere.config.toml
allowed_endpoints
line withallowed_endpoints = ['*']
. The default 0.0.0.0 config appears to be a bug; this setting controls access to endpoints within the app, not IPs from outside. Leaving the original value causes mollysocket to reject everything.db = './mollysocket.db'
line rather than just having it land wherever you're sitting.mollysocket.db
that was created on first run (even if it's already where you're intending to put it). This is just to make sure the web server creates it and has the correct permissions.Run script
Proxy server
/
to your mollysocket server and ROCKET_PORT.Things to know