0.3.1 • Published 6 years ago

xmppbridge v0.3.1

Weekly downloads
-
License
MPL-2.0
Repository
gitlab
Last release
6 years ago

xmppbridge

Simple Node.JS script that sends the standard input to a destination over XMPP - optionally to a group chat.

Getting Started

Simply install this package like so:

sudo npm install -g xmppbridge

Then, call it like this:

some_command | XMPP_JID="bot@bobsrockets.com" XMPP_PASSWORD="cheese" xmppbridge --destination "bill@billsboosters.co.uk"

In short, ensure the XMPP_JID and 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.

Options

Environment VariableMeaning
XMPP_JIDThe JID to login with
XMPP_PASSWORDThe password to use when logging in
ArgumentsMeaning
-h, --helpShow this message
--destinationRequired. Specifies the destination JID to send stdin to
--groupchatOptional. Specifies that the destination JID is actually a group chat

Contributing

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) :-)

Support

If you run into issues, please get in contact and I'll try to help out :-)

The best way of doing so is probably by opening an issue, but an email is fine too (my email address is on my website).

License

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.

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago