What is the best open end up end encrypted messenger that has a good cli client for most platforms to send messages from scripts?

I currently use signal-cli, but looking for a change.

- signal-cli requires java, quite specific versions and it's hard to install / upgrade on nas devices. I would much prefer a self contained binary (like restic does)

- signal starts requiring captchas, especially over vpn. Not good for scripts

- telegram? Lol. No.

- matrix could be nice, if there is good self contained cli client. I don't need to receive currently, only send. Any tips?

- simplex - after fighting with haskell and not being able to compile it according to instructions neither on macos, nor on Linux. Binaries don't work (mac is x86 only, not arm64, Linux - I don't use Ubuntu)

- session maybe? Is there any good cli?

- I need push notifications to work reliably

Reply to this note

Please Login to reply.

Discussion

Does it need to be a "messenger". I plan to use MQTT client for notifications from my home automation.

Good ol xmpp with otr?

https://profanity-im.github.io/

Signal is working on a Rust library but I don't really know what state it's in. Last time I checked it was WIP alpha but that was a long time ago.

Signal does captchas now. So not very usable for automated scripts.

How? I've never got one. Isn't it because you're sending too many messages? And maybe bypass them with AI or an army of Indian solvers?

I use VPN a lot and I post in groups with a lot of people.

But the problem is that it is unpredictable and I cannot rely on a system that can request a CAPTCHA at any time and not deliver my automated message.

Works well, does not need to bother with deps:

https://packaging.gitlab.io/signal-cli/installation/docker/

I would also suggest XMPP.

Make sure you have omemo enabled.

https://en.wikipedia.org/wiki/OMEMO

Conversations is a great #android client.

https://en.wikipedia.org/wiki/Conversations_(software)

Thank you all. I decided to use matrix to receive messages to my Element client (using matrix-commander).

End-to-end encrypted, open, does not require my server.

Requires Python, but I managed (commented out the magic module requirement, because libmagic is not on my platform).

Updated signal-monitoring with documentation here:

https://github.com/jooray/signal-monitoring