https://github.com/ziozzang/slack-irc-bridge
use Slack as IRC client, or sync slack and IRC channel..!
https://github.com/ziozzang/slack-irc-bridge
bot golang irc-bridge slack
Last synced: about 1 year ago
JSON representation
use Slack as IRC client, or sync slack and IRC channel..!
- Host: GitHub
- URL: https://github.com/ziozzang/slack-irc-bridge
- Owner: ziozzang
- Created: 2015-09-05T17:40:51.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-03-14T17:35:43.000Z (over 7 years ago)
- Last Synced: 2025-04-04T11:46:58.058Z (about 1 year ago)
- Topics: bot, golang, irc-bridge, slack
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Slack-to-IRC Bridge
===================
This code is for slack to IRC bridge, also vice versa. You can build personal IRC client with slack. Original code is forked from https://github.com/voldyman/slack-irc-bridge.
Not Implemented
===============
not implemented IRC's user listing browsing. also, no DCC or chat function. only for generic channel chat.
Build
=====
just clone source, ```go get``` and ```go build```.
after build, you must edit bot.config file to complete setup.
Configuration
=============
default file name is bot.config. if you want to use another name, just add file name as command parameter like ```./slack-irc-bridge foo.cfg```
bot.config file is json format. you can check it sample.
* You can get your slack token from https://api.slack.com/web
```
{
"bridges":[
{"slack":"#general", "irc":"#foo"},
{"slack":"#slack-channel2", "irc": "#bar"}
],
"irc": {
"server": "irc.freenode.org:6667",
"nick" : "bot-nickname",
"relay_nick": true
},
"slack": {
"url": "https://foo.slack.com",
"token": "token_here"
}
}
```
* irc/relay-nick is bool option. if you set true, bot will show your slack nick to IRC. if you use slack as single IRC client, turn off option.
* irc/server is IRC server option. this bot doesn't translate code page, so if you are in specific locale environment, use UTF-8 server.
Usage
=====
```
./slack-irc-bridge [configuration_file]
```
If you want to use slack as your personal IRC client, -> make channel in slack, mapping to irc channel. (set off relay option)
if you want to migrate from IRC to slack, -> make this code run as just bridge. also, you can build automatic invite script.