simple and dirty matrix.org bot based on matrix-python-sdk
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
.gitignore
README.md
test-scripts.sh
test-sockets.sh
tiny-matrix-bot.cfg.sample
tiny-matrix-bot.py
tiny-matrix-bot.service

README.md

tiny-matrix-bot

simple and dirty matrix.org bot based on matrix-python-sdk

no support, no warranty

works for me, but pull requests are welcome!

sudo apt install python3 python3-requests
git clone https://github.com/4nd3r/tiny-matrix-bot
git clone https://github.com/matrix-org/matrix-python-sdk
cd tiny-matrix-bot
mkdir data
ln -s ../matrix-python-sdk/matrix_client
cp tiny-matrix-bot.cfg.sample tiny-matrix-bot.cfg
vim tiny-matrix-bot.cfg
cp tiny-matrix-bot.service /etc/systemd/system
systemctl enable tiny-matrix-bot
systemctl start tiny-matrix-bot
systemctl reload tiny-matrix-bot
systemctl stop tiny-matrix-bot

scripts must have execute bit - chmod +x

mkdir sockets for sockets

TODO

  • make code better (right)
  • document all config variables
  • define scripts dependencies
  • move config (re)load into separate func