14 releases

Uses new Rust 2021

0.1.22 Dec 1, 2022
0.1.21 Nov 29, 2022
0.1.18 Jun 21, 2022
0.1.15 Jan 20, 2022
0.1.7 Jul 30, 2021

#236 in Command line utilities

GPL-3.0-only

92KB
2.5K SLoC

remindee-bot

Telegram bot for managing reminders.

Quickstart

  1. Install Rust.
  2. Setup your bot with @botfather.
  3. Build crate:
cargo install remindee-bot
  1. Start the bot:
export BOT_TOKEN=<your bot token>
export REMINDEE_DB=<path to sqlite database> # OPTIONAL
remindee-bot
  1. Send /start to it

Features

  • You can set reminders with/without some description on today or another date:
    • 17:30 go to restaurant => notify today at 5:30 PM
    • 01.01 0:00 Happy New Year => notify at 1st of January at 12 AM
  • Some fields (minutes, day, month, year) can be omitted depending on the current time:
    • 8 wake up (the bot will remind at nearest 8 AM)
    • 1 0:05 ++month (the bot will remind at 12 AM on the first day of the next month)
  • Periodic reminders can be set with crontab-like syntax:
    • 55 10 * * 1-5 go to school (at 10:30 AM every weekday)
    • 45 10-19 * * 1-6 break for 15 minutes (at 10:45, 11:45, ..., 19:45 from Monday to Saturday)
  • Supported commands:
    Command Action
    /help List supported commands
    /list List the set reminders
    /del Delete reminders
    /edit Change reminders
    /tz Select timezone
    /mytz Show current timezone

Dependencies

~59MB
~1M SLoC