Go to file
Travis Burtrum 85c832d9be Do nothing for empty messages 2016-01-26 23:04:37 -05:00
CONFIG.example add echobot 2014-01-18 11:04:03 +01:00
README.md Update README.md 2015-07-20 13:48:08 +02:00
echobot.py add echobot 2014-01-18 11:04:03 +01:00
echobot.service add echobot 2014-01-18 11:04:03 +01:00
sendxmpp.py Do nothing for empty messages 2016-01-26 23:04:37 -05:00

README.md

A collection of XMPP utils

echobot.py is a bot that just echoes back whatever message you send to it. Useful for testing purposes.

sendxmpp.py is the XMPP equivalent of sendmail. It is an alternative to the old sendxmpp written in Perl.

Dependencies:

  • python 3
  • dnspython
  • sleekxmpp

To install them on Ubuntu:

sudo apt-get install python3 python3-pip
sudo pip install dnspython sleekxmpp

Installation: just put the scripts wherever you want.

Configuration: cp CONFIG.example ~/.xmpputils and edit ~/.xmpputils with your XMPP credentials

Usage examples:

  • echo "This is a test" | sendxmpp.py user@host
  • sendxmpp.py user@host <README.md