Bridge between Slack and IRC channels allowing message filtering and logging while keeping communication public
IrackBot acts as a bridge across Slack and IRC channels, allowing message filtering while keeping all communication public in the spirit of FOSS communication.
A lot of Open Source communities rely on IRC for their communication. IRC’s great
but let’s face it, it doesn’t really compare that well to modern team messaging clients like Slack.
You could be working on a project / involved with this
community and you end up facing all these problems. So being the wannabe developer that you are, you end up building
something that solves all of these problems.
This bot relays messages from Slack to IRC and vice-versa.
Well, that’s not new.
You can mention users on the other platform (from Slack to IRC and vice versa) by just pinging them with their original username.
Ehh nothing new
You can get a list of all the users on the other platform with just a single command.
Ok not bad..
You can configure your bot, with a single ping command, to filter all incoming IRC communication and include only those messages
where any one of your members on the Slack channel have been mentioned. Meanwhile, all your communication from Slack is still
relayed to IRC and everyone can see what you’re discussing and reach out to you anytime.
That’s just what I need!
/src/main/resources
and rename the config-test.properties
file to config.properties
. Enter all the configuration details following the template given. Make sure all your details are correct else you’ll have an exception thrown later on.
mvn clean install
cd target
java -jar irackbot-1.0.jar
heroku login
mvn clean install && heroku local #Optional, to test locally
heroku create
git add -A
git commit -m"Added Token for Config"
git push heroku master
heroku ps:scale worker=1
docker build -t irackbot #sudo
docker run irackbot #sudo
@irackbot slack_users
@irackbot irc_users
@irackbot ping
@irackbot change_mode
@slack/ircusername[Space *important*], message
This bot was built using the pircbot library by Jibble and the simple-slack-api by Ullink. Kudos to them for building these useful tools so effectively with an easy to use API.
Pull requests and Issues are welcome. Please do supplement them with enough information so as to get a clear idea about the same. Also, please do Star this repository if you liked irackbot !