yarb
Yet Another Reminder Bot
yarb lets you create same-day reminders at specific times. It uses the trixnity framework.
Features
- Create reminders for a specific time on the current day.
- Change the display name per room.
- Configure an offset for the reminder time.
- Simple rights management (same as my other bots).
Setup
- Get a matrix account for the bot (e.g., on your own homeserver or on
matrix.org) - Prepare configuration:
- Copy
config-sample.jsontoconfig.json - Enter
baseUrlto the matrix server andusername/passwordfor the bot user - Add yourself to the
admins(and delete my account from the list :)) - You can limit the users that can interact with the bot by defining the
userslist
- Copy
- Either run the bot via the JAR or use the provided Docker image.
- If you run it locally, set the environment variable
CONFIG_PATHto yourconfig.json(defaults to./config.json). - If you run it with Docker, use a command similar to:
docker run -itd -v $LOCAL_PATH_TO_CONFIG:/usr/src/bot/data/config.json:ro ghcr.io/dfuchss/yarb
- If you run it locally, set the environment variable
Usage
- An admin can invite the bot to an unencrypted room. If the room uses encryption or the inviter is not an admin, the bot silently ignores the invite.
- After the bot has joined, use
!yarb helpto get an overview of its features (it only responds to users allowed in the configuration). - To create a new reminder use
!yarb <HH:mm> <message>. Example:!yarb 12:00 Lunch time!. - Configure the bot’s display name in
config.json.
Development
I’m typically online in the trixnity channel. So feel free to tag me there if you have any questions.