Are there other messaging apps which are equally bot friendly. Telegram bots are just so nice and scriptable, I don't use it for anything else, just a personal bot (so maybe all this bloat and sketchiness doesn't matter) but I'd be happier to use another scriptable platform
Even being able to have bot custom keyboards/buttons is pretty great
I use Telegram a lot, but Matrix is even more friendly to scripting. If you're just using the bots for yourself, you can setup a non-federated Dendrite instance and just write bots for it.
I like how flexible matrix bots are but there are some problems that I'm not able to easily solve, like finding out when a new person joins a matrix room because the m.join event is used for user info changes as well as joins.
Edit: I found this [1] table that hopefully simplifies things, I'll see if that works out.
Run your own XMPP server - prosody or ejabberd - and you have all the freedom in the world to use it for whatever purpose you want whether that be remote control, 'bots' or anything else. If you're a resident of the EU you'll also escape the 'chat control' [1] (mass surveillance) law which is a boon. Prosody runs happily on a SBC like a RasPi 2 or higher - even a RasPi 1 would work - and takes next to no maintenance to keep it up and running.
Do you have suggestions for XMPP client libraries (across any language)? I really wanted to do this myself but it seems that the first few results I found across several different languages haven't been actively maintained.
The Vector people who develop Matrix run a centralized server with APNS client certificates (from Apple) that allow them to push notifications to every single Matrix iOS user when they receive messages. This centralized server is a notification proxy for all iOS users that use that client.
With federated systems, notifications are a big problem on iOS because the apps don't actually get to run in the background in the traditional sense. They can periodically "refresh", or they can be opened by a user, or they can be woken up by a notification. Notifications can only come from Apple, and can only come via Apple from the app's developer.
Even selfhosted Mattermost pushes notifications to users via the Mattermost organization's centralized APNS notification proxy. It's an annoying form of phone-home, and I think it may even leak message content to the publisher (because the notifications can contain message data).
If you self-host an XMPP server, you can't get realtime notifications of messages on iOS unless you have the app actively open and foregrounded so the app itself can maintain a connection to the server. The moment (or, actually, 15-20 seconds later) you lock your device, poof goes the connection.
XMPP is not end to end encrypted, and is a dying (and weird) protocol. If you're going to selfhost anything, Matrix (via dendrite or synapse or whatever the current state of the art is) is probably the correct answer.
Karrot_Kream|1 year ago
thatloststudent|1 year ago
Edit: I found this [1] table that hopefully simplifies things, I'll see if that works out.
[1]: https://spec.matrix.org/v1.8/client-server-api/#mroommember
hagbard_c|1 year ago
[1] https://mullvad.net/en/chatcontrol
redserk|1 year ago
sneak|1 year ago
With federated systems, notifications are a big problem on iOS because the apps don't actually get to run in the background in the traditional sense. They can periodically "refresh", or they can be opened by a user, or they can be woken up by a notification. Notifications can only come from Apple, and can only come via Apple from the app's developer.
Even selfhosted Mattermost pushes notifications to users via the Mattermost organization's centralized APNS notification proxy. It's an annoying form of phone-home, and I think it may even leak message content to the publisher (because the notifications can contain message data).
If you self-host an XMPP server, you can't get realtime notifications of messages on iOS unless you have the app actively open and foregrounded so the app itself can maintain a connection to the server. The moment (or, actually, 15-20 seconds later) you lock your device, poof goes the connection.
XMPP is not end to end encrypted, and is a dying (and weird) protocol. If you're going to selfhost anything, Matrix (via dendrite or synapse or whatever the current state of the art is) is probably the correct answer.
ravetcofx|1 year ago
xeonax|1 year ago
omani|1 year ago
preezer|1 year ago
hillcrestenigma|1 year ago