forked from edgi-govdata-archiving/matterbridge-heroku
-
Notifications
You must be signed in to change notification settings - Fork 8
/
config-heroku-template.toml
executable file
·237 lines (213 loc) · 5.62 KB
/
config-heroku-template.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
[general]
RemoteNickFormat="{NICK} ({CHANNEL}@{BRIDGE})"
TranslationAttribution="g0v translation bridge (translated by Google)"
PreserveThreading=true
ShowUserTyping=true
SyncTopic=false
MediaDownloadSize=1000000
ShowJoinPart=true
# When someone is speaking from a platform without avatars, generate one from usernames
# Note: robohash.org/{NICK}.png allows underscores (which IRC nick's have),
# whereas github.com/identicons/{NICK}.png doesn't.
IconURL="https://robohash.org/{NICK}.png?size=48x48&set=set4"
## ACCOUNTS
#[slack-legacy.example]
##Token to connect with the Slack API
##You'll have to use a test/api-token using a dedicated user and not a bot token.
##See https://github.com/42wim/matterbridge/wiki/Slack-bot-setup for more information
#Token="${SLACK_EXAMPLE_TOKEN}" # real user
## BOT TOKENS
[slack-legacy.g0vtw]
# Token=$MATTERBRIDGE_SLACK_G0VTW_TOKEN # legacy token (user: bridgebot-patcon) # set in envvar
# Too noisy. Related: https://github.com/42wim/matterbridge/issues/524
ShowJoinPart=false
ShowUserTyping=false
[api.local]
[slack.cfjapan]
ShowJoinPart=true
# Token=$MATTERBRIDGE_SLACK_CFJAPAN_TOKEN # legacy token (user: patcon) # set in envvar
[slack.civictechto]
# Token=$MATTERBRIDGE_SLACK_CIVICTECHTO_TOKEN # bot token # set in envvar
## LEGACY TOKENS
[slack-legacy.betanyc]
# Token=$MATTERBRIDGE_SLACK_BETANYC_TOKEN # legacy token (user: bridgebot-patcon) # set in envvar
[slack-legacy.matterbridge]
# Token=$MATTERBRIDGE_SLACK_MATTERBRIDGE_TOKEN # legacy token (user: patcon)# set in envvar
[slack-legacy.metapolis]
# Token=$MATTERBRIDGE_SLACK_METAPOLIS_TOKEN # legacy token (user: patcon) # set in envvar
[irc.irc]
Server="chat.freenode.net:6697"
# General nick as it might be delivering Telegram messages in future.
Nick="g0v-bridge"
RemoteNickFormat="{NICK}@{PROTOCOL}: "
UseTLS=true
UseSASL=true
# NickServNick= # set in envvar
# NickServPassword= # set in envvar
[telegram.telegram]
# Token= # bot user: hacklabto_bridgebot # set in envvar
RemoteNickFormat="{NICK}@{PROTOCOL}: "
UseInsecureURL=true
## GATEWAYS & BRIDGES
[[gateway]]
name="matterbridge"
enable=true
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="chat-bridge"
[[gateway.inout]]
account="slack-legacy.matterbridge"
channel="general"
[[gateway]]
name="tech-workers-coop"
enable=true
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="twc-g0v"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="twc-g0v-en"
[gateway.inout.options]
locale="en"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="twc-g0v-tw"
[gateway.inout.options]
locale="zh-TW"
[[gateway]]
name="jothon"
enable=true
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="jothon"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="jothon-en"
[gateway.inout.options]
locale="en"
[[gateway]]
name="vtaiwan"
enable=true
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="vtaiwan-tw"
[gateway.inout.options]
locale="zh-TW"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="vtaiwan"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="vtaiwan-en"
[gateway.inout.options]
locale="en"
[[gateway.inout]]
account="slack.civictechto"
channel="vtaiwan"
[gateway.inout.options]
locale="en"
[[gateway.inout]]
account="slack.cfjapan"
channel="vtaiwan-ja"
[gateway.inout.options]
locale="ja"
[[gateway.inout]]
account="slack.cfjapan"
channel="vtaiwan"
[[gateway]]
name="chatbridge-test"
enable=true
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="i18n-test-tw"
[gateway.inout.options]
locale="zh-TW"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="i18n-test-en"
[gateway.inout.options]
locale="en"
[[gateway.inout]]
account="slack.cfjapan"
channel="chatbridge-test"
[[gateway.inout]]
account="slack.cfjapan"
channel="chatbridge-test-en"
[gateway.inout.options]
locale="en"
[[gateway.inout]]
account="slack.cfjapan"
channel="chatbridge-test-ja"
[gateway.inout.options]
locale="ja"
# [[gateway.inout]]
# account="api.local"
[[gateway]]
name="general"
enable=true
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="general"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="general-tw"
[gateway.inout.options]
locale="zh-TW"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="general-en"
[gateway.inout.options]
locale="en"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="general-ko"
[gateway.inout.options]
locale="ko"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="general-ja"
[gateway.inout.options]
locale="ja"
[[gateway.inout]]
account="irc.irc"
channel="#g0v.tw"
#[[gateway.inout]]
# account="telegram.telegram"
# channel="-1001210052391" # g0v group
[[gateway]]
name="vnetwork"
enable=true
[[gateway.inout]]
account="slack.civictechto"
channel="vnetwork"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="vnetwork"
[[gateway.inout]]
account="slack-legacy.betanyc"
channel="vnetwork"
[[gateway.inout]]
account="slack.cfjapan"
channel="vnetwork"
[[gateway]]
name="holopolis"
enable=true
[[gateway.inout]]
account="slack.civictechto"
channel="holopolis"
[[gateway.inout]]
account="slack-legacy.g0vtw"
channel="holopolis"
[[gateway]]
name="cfj-general"
enable=true
[[gateway.inout]]
account="slack.cfjapan"
channel="general"
[gateway.inout.options]
locale="ja"
[[gateway.inout]]
account="slack.cfjapan"
channel="general-en"
[gateway.inout.options]
locale="en"