reminder-bot/README.md

882 B

am-reminder-bot

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.

Setup

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.