Matrix<->Teeworlds relay
Go to file
Skylar "The Cobra" Widulski 976ceeaf71
Update copyright
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2024-01-03 10:18:36 -05:00
LICENSE Init 2023-11-25 17:32:04 -05:00
README.md Create config, remove need for touch, dont crash when logging in 2023-11-25 18:12:44 -05:00
config.py.example Create config, remove need for touch, dont crash when logging in 2023-11-25 18:12:44 -05:00
requirements.txt Init 2023-11-25 17:32:04 -05:00
teeworlds-bridge.py Update copyright 2024-01-03 10:18:36 -05:00

README.md

teeworlds-bridge

A Matrix<->Teeworlds relay using matrix-nio

Setup

First, set up the virtualenv and install the dependencies:

python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt

Be sure your Teeworlds configuration includes these statements:

ec_bindaddr 127.0.0.1
ec_port 8303
ec_password XXXXXXXX

It is very important that you are not binding on a public-facing IP.

Then, edit the config to fit your use-case.

cp config.py.example config.py
$EDITOR config.py

Finally, run the script:

python3 teeworlds-bridge.py