Crates.io | remindee-bot |
lib.rs | remindee-bot |
version | 0.2.9 |
source | src |
created_at | 2021-07-30 08:32:03.225379 |
updated_at | 2024-11-17 18:00:02.215665 |
description | Reminder bot for Telegram without bullshit |
homepage | https://github.com/magnickolas/remindee-bot |
repository | https://github.com/magnickolas/remindee-bot |
max_upload_size | |
id | 429199 |
size | 369,761 |
Telegram bot for managing reminders.
Install Rust.
Install the crate and start the bot:
cargo install remindee-bot
remindee-bot --token <BOT TOKEN> --database <FILE>
Instead of flags you can use environment variables to specify the token and the database location:
export BOT_TOKEN=<BOT TOKEN>
export REMINDEE_DB=<FILE> # default is to store in the user's data directory
remindee-bot
Download the archive for your system architecture from the latest release page.
Unpack the archive:
tar xf remindee-bot-<version>-<architecture>.tar.gz
;unzip remindee-bot-<version>-<architecture>.zip
;Navigate to the directory and start the bot:
cd remindee-bot-<version>-<architecture>
./remindee-bot --token <BOT TOKEN> --database <FILE>
Build the image from this repository:
docker build --tag remindee-bot 'https://github.com/magnickolas/remindee-bot.git#master'
Initialize and run a container from the built image:
docker run -d -v <LOCAL DATABASE DIRECTORY>:/data -e BOT_TOKEN=<BOT TOKEN> remindee-bot
See Docker's documentation for more.
Install Rust.
Clone the repository with Git:
git clone https://github.com/magnickolas/remindee-bot
Build the crate and start the bot:
cargo install --path remindee-bot
remindee-bot --token <BOT TOKEN> --database <FILE>
Send /start
command to the bot and follow its instructions 🤖.
The formats descriptions with examples can be viewed at readthedocs or docs/index.rst.
You may also find it useful to refer to the pest grammar playground to try out some reminders and see how they are parsed (select reminder
at the bottom of the list of choices next to the second code block and play with it).