xmppbridge0.3.1 • Public • Published
Simple Node.JS script that sends the standard input to a destination over XMPP - optionally to a group chat.
Simply install this package like so:
sudo npm install -g xmppbridge
Then, call it like this:
some_command | XMPP_JID="firstname.lastname@example.org" XMPP_PASSWORD="cheese" xmppbridge --destination "email@example.com"
In short, ensure the
XMPP_PASSWORD environment variables are present to let
xmppbridge know how to login to the XMPP sever.
Then, specify the destination to send the messages to with the
--destination argument - optionally adding the
--groupchat argument if appropriate.
||The JID to login with|
||The password to use when logging in|
||Show this message|
||Required. Specifies the destination JID to send stdin to|
||Optional. Specifies that the destination JID is actually a group chat|
Contributions are welcome! Feel free to open a merge request (or send a patch via email if you prefer - my email address is on my website) :-)
If you run into issues, please get in contact and I'll try to help out :-)
This project is licensed under the Mozilla Public License 2.0 - the full text of which is located in the
LICENSE file in this repository.