Skip to content

Latest commit

 

History

History
45 lines (41 loc) · 1.15 KB

README.md

File metadata and controls

45 lines (41 loc) · 1.15 KB

matrix-matrix-bridge

A bridge for the Matrix Protocol that connects Matrix rooms to each other.

Made with

Setup

  • Install python 3.8 or higher
  • Install git
  • Install python-poetry
python -m pip install poetry
  • Clone repository
git clone https://github.com/KrazyKirby99999/matrix-matrix-bridge
  • Install dependencies
cd matrix-matrix-bridge
python -m poetry install

Usage

  • Create configuration file
# config.toml
homeserver = "https://example.com"
username = "username" 
password = "password"
[[bridge]]
    name = "bridge"
    [[bridge.input]]
        room_id = "!aRAWUKZyBETGiwvoRh:matrix.org"
    [[bridge.output]]
        room_id = "!AUweUQXCxcVfFOaOIU:matrix.org"

A more detailed example can be found at https://github.com/KrazyKirby99999/matrix-matrix-bridge/blob/master/config.toml.example

  • Run program
python -m poetry run python main.py

Notes

  • GPL-3.0 License
  • Each bridge supports multiple input rooms and multiple output rooms with more options for configuration.