Communication - slack-to-irc bridge bot
This commit is contained in:
parent
69ba4b63e2
commit
12360d302c
|
@ -0,0 +1,3 @@
|
|||
[submodule "communication/slack/bot"]
|
||||
path = communication/slack/bot
|
||||
url = https://github.com/ekmartin/slack-irc
|
|
@ -0,0 +1,14 @@
|
|||
# Slack sync to IRC
|
||||
Bot that will do sync between slack and certain slack channnels
|
||||
|
||||
# Prerequisites
|
||||
nodejs (tested with 0.12)
|
||||
|
||||
npm install -g slack-irc
|
||||
|
||||
# Files
|
||||
openfest-slack-to-irc-sync.json - config with sensitive information removed
|
||||
We are using ssl to connect
|
||||
|
||||
slack-irc@.service systemd templated unit so you can run multiple instances
|
||||
Running multiple slack-irc instances has not been tested
|
|
@ -0,0 +1 @@
|
|||
Subproject commit f005c1f4536fe47799bc2741ff09730e7fdea891
|
|
@ -0,0 +1,18 @@
|
|||
[{
|
||||
"nickname": "SlackSync",
|
||||
"server": "marla.ludost.net",
|
||||
"token": "CHANGE ME",
|
||||
"channelMapping": {
|
||||
"private": "private"
|
||||
"#bulgaria-hall": "#openfest-bulgaria-hall",
|
||||
"#chamber-hall": "#openfest-chamber-hall",
|
||||
"#third-hall": "#openfest-third-hall"
|
||||
},
|
||||
"ircOptions": {
|
||||
"userName": "slacksync",
|
||||
"realName": "Slack to IRC bidirectional Sync Bot",
|
||||
"debug": true,
|
||||
"secure": "true",
|
||||
"port": 6697
|
||||
}
|
||||
}]
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Slack to IRC sync bot (%i)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=nobody
|
||||
Group=nogroup
|
||||
PrivateTmp=yes
|
||||
ExecStart=/usr/bin/slack-irc -c /etc/slack-irc/%i.json
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue