|Amanda Graven 1debd08c02||2 years ago|
|debian||2 years ago|
|src||2 years ago|
|.gitignore||2 years ago|
|Cargo.toml||2 years ago|
|LICENSE||2 years ago|
|README.md||2 years ago|
|rustfmt.toml||2 years ago|
|session.sample.json||2 years ago|
am-reminder-bot is a matrix bot that autojoins any matrix room its invited to, and lets you schedule reminders. It's made with matrix-rust-sdk.
Build the bot with
cargo build --release. Configure a session file, see
session.sample.json file for an example. You can generate one by starting the bot with
login as the first argument. If you want the bot to work properly in encrypted rooms, also give it a storage directory it can write to. You can configure paths with these environment variables:
SESSION_FILE: The path of the session file. The session file shouldn't be readable by other users, since it contains the matrix acc
STORAGE_DIR: The directory the bot will use for storing matrix data. Needs to be writable.
A systemd service file is provided with sane defaults. A debian package can be generated with the cargo-deb utility.