---
title: "XMPP Ruby Chat Bot"
description: "After Python-IRC-bot my interest was in making a gmail bot, that lead me to make a simple bot very much like the previous."
url: "https://h3manth.com/scribe/xmpp-ruby-chat-bot/"
canonical_url: "https://h3manth.com/scribe/xmpp-ruby-chat-bot/"
markdown_url: "https://h3manth.com/scribe/blog/xmpp-ruby-chat-bot.md"
publishDate: "2010-11-06T00:00:00.000Z"
author: "Hemanth HM"
category: "python"
tags: ["ruby","python","ubuntu","git"]
word_count: 169
reading_time_minutes: 1
x_markdown_tokens: 368
content_signal: "ai-train=yes, search=yes, ai-input=yes"
---

# XMPP Ruby Chat Bot

> After Python-IRC-bot my interest was in making a gmail bot, that lead me to make a simple bot very much like the previous.

After [Python-IRC-bot](http://h3manth.com/content/python-irc-bot) my interest was in making a gmail bot, that lead me to make a simple bot very much like the previous irc bot, its called **rgbot**.

**To add the bot to your contact : add l33ty.l33t[at]gmail[dot]com**

**About rgbot** XMPP Gmail Bot in rb ; rb+gmail+bot => rgbot. rgbot is an XMPP bot build with ruby, that runs on gmail and can do things like :

  * l33t translation
  * Google I'm feeling lucky search
  * Karma system
  * XCKD random images
  * Flipping a coin, throwing the dice

_Preparing your system_ List of dependencies : 0.Ruby 1.rubygems 2.xmpp4r-simple

Get the dependencies if on a Debian based system by typing the below, or else get the source and compile :
    
    
    sudo gem install xmpp4r-simple
    

After the above, you may run the code by :
    
    
    git clone git://github.com/hemanth/rgbot.git
    cd rgbot
    # edit the bot name and password
    ruby rbgot.rb 
    

Do give your feedbacks and suggestions in the comment section below and fork the code and improve it from [rbgot.git](http://github.com/hemanth/rgbot)
