An IRC bot that sends messages in an IRC channel to a HipChat Room. Useful for keeping IRC history, seeing messages in one place as well as collaboration in a support IRC channel.
- Clone repository.
- Install requirements:
bundle install
. - Set environment variables:
BOT_NICK
(optional): Defaults toirc-hipchat-bot
COMPANY_LOGO
(optional): To display next to irc channel ownersHIPCHAT_AUTH_TOKEN
(required): Hipchat authentication tokenHIPCHAT_ROOM
(optional): Hipchat room to echo messages, defaults to IRCIRC_CHANNEL
(required): IRC channel you want to monitorIRC_HOST
(optional): Defaults toirc.freenode.net
IRC_PORT
(optional): Defaults to6667
IRC_OWNERS
(optional): Comma separated list of IRC channel owners to highlight differentlyWORK_DAYS
(optional): Comma separated list of workdays. 0 is Sunday. Defaults to Mon-Fri. Used to prevent sending a notification if a user with an unanswered question rejoins the channel during a non-working day.WORK_HOURS
(optional): Work hours. Defaults to 9-18. Used to prevent sending a notification if a user with an unanswered question rejoins the channel during a non-working hour.
- Run
irc-hipchat.rb
.
Note: Use Dockerfile
if you'd like to run it in a docker container.
- Highlights channel owners (different color and optional company logo)
- Alerts when a user re-joins the channel if they asked a question during after hours, but no one was around to answer. (Beta)
MIT License