Lab Project 1
- Python 100%
| .gitignore | ||
| main.py | ||
| README.md | ||
| render.py | ||
| schema.sql | ||
kent
kent is a presence (and soon device update) logger for matrix.
it uses the client-server api for logging. while a federation perspective is more fun, it's too noticeable.
just like rimi, if you come across this repo, i did not actually use it! no logging operation to be seen here :)
setup
this requires the requests python module, and probably works with >3.9.
create the file config.json with this content:
{
"hs_url": "http://localhost:8008",
"access_token": "token",
"timeout": 30000,
"filter": ["keywords", "to", "match"]
}
(timeout is in milliseconds)
run main.py. it should start syncing and logging immediately.
the data will be stored in database.db.
name
kent is named after Kent Korihisa from Anonymous;Code. don't look him up, you'll get spoiled.