A Xonotic<->Matrix relay
Go to file
Skylar "The Cobra" Widulski 2dff01cc00
Update copyright
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
2024-01-03 10:18:41 -05:00
LICENSE Add license 2023-11-25 12:03:00 -05:00
README.md Remove need for touch, move variables to a config 2023-11-25 18:23:05 -05:00
config.py.example Remove need for touch, move variables to a config 2023-11-25 18:23:05 -05:00
requirements.txt Add license 2023-11-25 12:03:00 -05:00
xonotic-bridge.py Update copyright 2024-01-03 10:18:41 -05:00

README.md

xonotic-bridge

A Matrix<->Xonotic relay using matrix-nio and xrcon

Setup

First, set up the virtualenv and install the dependencies:

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

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

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

Finally, run the script:

python3 xonotic-bridge.py

What is ./logpipe?

Because Xonotic servers output everything indiscriminately, I have decided to leave it up to the user to somehow get the messages they want to be sent to the ./logpipe FIFO.