Night tinkering..
Written by Simone
I am most productive at night, when there is finally silence - apart from background music. The last couple hours of this Wednesday brought some nice additions to the @wpn support MUC:
- chat is not XMPP only anymore, but it got bridged to Matrix, via "matterbridge".
- a bot is now sending "BOFH excuses" to the chat, once a day.
XMPP MUC can be reached from: https://invite.woodpeckersnest.space/#status@chat.woodpeckersnest.space?join
Matrix room can be reached from: https://matrix.to/#/#wpn:matrix.org
Bridged chat means that everything being written in any of those rooms, gets relayed to the other by bots: there are in fact 2 bots connected to the 2 rooms, one is an XMPP bot and the other is a Matrix one, operated by "matterbridge", as I said earlier.
About "BOFH excuses", they are some fortune cookies from the relative Linux package, which are all about "Bastard Operators From Hell" excuses.. They are some short funny sentences about IT which an imaginary Operator (sysop, sysadmin, you name it) could say as excuse to justify issues.
Example?
BOFH excuse #266:
All of the packets are empty.
I have the same script running on gemini, at gemini://woodpeckersnest.space/cgi-bin/bofh
Basically it's some python spaghetti which runs the fortune
command, does some formatting to the resulting text and sends it over gemini, or in the case of @wpn chat, over webhook to one other bot, which then posts its content to XMPP. It's more complicated to explain than do it 😀
P.S. @wpn support MUC is not publicly listed, so even if I'm posting links which may be used to join it, it should be treated as limited to @wpn users only.