This project was inspired by node-slack-irc.
The bridge will listen to messages on the specified Slack channel and all the IRC channels in the configuration file and relay them from one to the other.
Run npm install
.
In config.json
, edit the following values:
token
: the Slack token, from the Bot configuration pagechannel
: the Slack channel id
In config.json
, edit the following values:
server
: the IRC server to connect touserName
: the name that will appear in IRCrealName
: the real name for the bridgechannels
: and array of channels the bridge will connect todebug
: setting this to true will log messages to the console. Useful for debugging.autoConnect
: whether the bridge should connect automaticallyautoRejoin
: whether the bridge should join the channels automaticallysecure
:true
orfalse
, depending on the connection typeport
: the port number
node main.js
!status
will print out the current status of the bridge
!names
will list the online users in the connected IRC channel