A file sending bot for Matrix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mathias 093f53b2fd
quick'n'dirty docs because we need it
1 year ago
pictures 1st commit 1 year ago
.gitignore bot is achieved 1 year ago
README.md quick'n'dirty docs because we need it 1 year ago
app.py handle 413 errors when uploading files 1 year ago
env.example.py exmaple config file 1 year ago
requirements.txt update requirements file 1 year ago


Image uploading bot

This Matrix bot uploads an image on demand. It is meant to be used with cron or some stuff like that that can run the bot on interval.


pip install -r requirements.txt

Then copy your pictures to the pictures folder.


Copy env.example.py to env.py and fill in the values. All of them are mandatory.

Also make sure the Matrix room exists prior to bot execution or it will fail...


python app.py

That's it. Really.