||1 year ago|
|debian||1 year ago|
|src||1 year ago|
|.gitignore||1 year ago|
|Cargo.toml||1 year ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|rustfmt.toml||1 year ago|
|session.sample.json||1 year 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.