afb964b65a
Add command line flag 'no_noise' (which is true by default) to ignore join/leave events. User can enable those events by pass 'no_noise' as false. |
||
---|---|---|
.. | ||
matrix_bridge.py | ||
matrix_bridge_config.py | ||
README.md | ||
requirements.txt |
Matrix <--> Zulip bridge
This acts as a bridge between Matrix and Zulip. It also enables a Zulip topic to be federated.
Usage
For IRC bridges
Matrix has been bridged to the listed
IRC networks,
where the 'Room alias format' refers to the room_id
for the corresponding IRC channel.
For example, for the freenode channel #zulip-test
, the room_id
would be
#freenode_#zulip-test:matrix.org
.
Hence, this can also be used as a IRC <--> Zulip bridge.
Steps to configure the Matrix bridge
1. Zulip endpoint
- Create a generic Zulip bot
- (don't forget this step!) Make sure the bot is subscribed to the relevant stream
- Enter the bot's email and
api_key
intomatrix_bridge_config.py
- Enter the destination subject, realm and site in
matrix_bridge_config.py
2. Matrix endpoint
- Create a user on matrix.org
- Enter the user's username and password into
matrix_bridge_config.py
- Enter the host and
room_id
intomatrix_bridge_config.py
After the steps above have been completed, run python matrix_bridge.py
to
start the mirroring.
Note
There are certain IRC channels where the messages from Zulip cannot be forwarded to IRC due to a ban on the Matrix bot.