Running an IRC Bot in Ruby on OpenShift V3

18-Sep-2016 3052

At Red Hat, all of our instant internal messaging is done through IRC. Because of this, many of our channels have a couple bots in them that do things like process links, report new pull requests, and keep track of users’ karma. What’s cool is that a lot of these bots are actually developed and running on OpenShift, so let’s look at how you could get your own IRC bot running in OpenShift Online V3.

For this project, we’ll be using the Cinch IRC Bot Framework, which is written in Ruby. I chose it because it’s a popular framework with lots of open-sourced plugins already created and because I’ve never used Ruby before. So now that we have our platform and framework, let’s get started! For the purpose of this post, I’ll assume you’ve never used OpenShift or Cinch, but have a basic understanding of Git and Ruby (or, in my case, Google).

Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle