Jabber bot can be very useful. All those bots are based on python-jabberbot, a Jabber bot framework for Python.
This bot is capable to display details about the system it is running on. If you don’t want or can stay connected through SSH all the time this is an easy way to get information about the remote system.
For more details, please check the pysysbot website.
Be aware: This tool was in alpha state and is no longer working. DRS3 is now SRF 3.
Like a lot of radio stations in the world DRS3 is publishing the details about the played song on their website. DRSbot is able to send the artist name and the song title that is played at the moment on command to your XMPP account.
DRSbot is licensed under GPLv3+, for more details check COPYING.
- Displays the artist name and the song name
- No need to go to the website anymore
The source is available at:
For the Python bot tutorial a bunch of bots were made always on the same base structure but for different purposes.
pyBot was the first very simple jabber bot which was made for the Swissjabber Tutorial serie.Python1234567891011121314151617181920212223242526272829303132333435#!/usr/bin/python## Copyright (c) 2009-2013 Fabian Affolter <fabian at affolter-engineering.ch># All rights reserved.## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 3 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program. If not, see <http://www.gnu.org/licenses/>.## Requires: python-jabberbot#from jabberbot import JabberBot, botcmdclass pyBot(JabberBot):"""This is a simple Jabber bot. It can give you an answer.Contact: Fabian Affolter <fabian at affolter-engineering.ch>"""@botcmddef hello( self, mess, args):"""Say hello"""return 'Hello Fabian, I am your python jabber bot.'bot = pyBot('firstname.lastname@example.org','xxxx')bot.serve_forever()