tweetbot

About

tweetbot is your very own twitter bot. It's meant for private use.

It is a very experimental script right now; and I don’t expect it to get better anytime soon. I just wrote this for fun, and to use myself. Your mileage may vary.

Consider this to be in the public domain.

Download

tweetbot is hosted on my github account. You can grab a copy from http://github.com/Anks/tweetbot/.

Usage

  1. First of all, you’ll need a server where you can run background processes.

  2. Create a config file and place it anywhere you want. A sample config file sample_config.yaml is present.

  3. To start/stop the bot, just run: ./tweetbot.rb start|stop

Requirements

  • Ruby
  • Gems
    • Jabber::Bot
    • twitter4r
    • Daemons
    • Any any prerequisites these gems have

Issues

  • Sometimes the bot ends up using 100% CPU. I think this happens after disconnections, but have to verify.

  • Currently there isn’t any error handling being done.

  • I don’t think I’m using idiomatic Ruby. Hey, am learning it by osmosis, so the proper way will take time to sink in.