User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

matrix [2020/06/09 13:48] (current)
admin created
Line 1: Line 1:
 +====== Matrix ======
 +  * See [[Matrix tools]] for a brief guide for devs I wrote
 +===== IRC Bridge How To =====
 +Basic steps:
 +<code bash>
 +git clone https://​​matrix-org/​matrix-appservice-irc.git
 +cd matrix-appservice-irc
 +npm install
 +npm test
 +Example config.yaml:​
 +<code yaml config.yaml>​
 +  url: "​http://​localhost:​8008"​
 +  domain: "​"​
 +  ​
 +  servers:
 +      name: "​Glasgow Social"​
 +      port: 6697
 +      ssl: true
 +      ​
 +       ​mappings:​
 +         "#​glasgow":​
 +           ​roomIds:​ ["​!roomid:​"​]
 +Create registration file for homeserver:
 +<code bash>
 +node app.js -r -f irc_registration.yaml -u "​http://​​9999"​ -c config.yaml -l my_bot
 +Add a reference to the registration file in the ''​homeserver.yaml''​ config file:
 +<code yaml>
 +- /​home/​ubuntu/​matrix/​matrix-appservice-irc/​irc_registration.yaml
 +Restart the homeserver:
 +<code bash>
 +sudo service matrix-synapse restart
 +Start the IRC bridge:
 +<code bash>
 +node app.js -c config.yaml -f irc_registration.yaml -p 9999
matrix.txt ยท Last modified: 2020/06/09 13:48 by admin