this post was submitted on 19 Jun 2023
52 points (100.0% liked)
Free and Open Source Software
17926 readers
7 users here now
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I use it for pretty much all of my stuff, both as a message bus as well as a command-and-control mechanism for my bots.
I would like to hear more about what you're doing / how you have it set up. I've used xmpp to relay messages from home automation stuff - which usually involves piping something to a script calling a library.
I wrote an XMPP-to-REST bridge, one-to-N. Everything gets its own rail and message queue on the bridge so as long as something can make HTTP requests, it can send messages and receive them. Huginn agents, any of my bots (written in Python), even shell scripts. Just about everything I have that crunches numbers has at least one of those bridges and a population of bots running on it.
There's nothing wrong with command line chains, I have a really cut down version of System Bot re-implemented as a shell script (developed under Busybox's default shell) for my OpenWRT stuff.