← Back to list

Personal Automation · 10/11/2026

Reminder Bot — Telegram Calendar Assistant

A Turkish-language Telegram assistant that turns text and voice requests into CalDAV events, recurring schedules, and reminders.

Reminder Bot — Telegram Calendar Assistant

Turning a message into a calendar event

Reminder Bot is my personal Telegram assistant for managing CalDAV calendar events through Turkish text and voice messages. I use it for tasks such as recurring payment reminders and one-off appointments without filling out a calendar form. The screenshot shows real text and voice interactions: a monthly reminder, a timed event, and an advance notification.

Message processing pipeline

  1. The Python application receives Telegram updates through polling and checks the configured chat and sender IDs.
  2. A text message goes directly to interpretation. A voice message is first transcribed into Turkish by Gemini.
  3. OpenRouter produces a structured JSON action; the bot validates the action type, dates, recurrence rules, and reminder offsets before writing anything.
  4. The event is saved to a CalDAV calendar. Telegram's JobQueue schedules notifications from the saved event.

The application uses Europe/Istanbul for interpreting dates. Blocking AI and calendar requests run in worker threads so that the asynchronous Telegram event loop can keep handling updates.

Recurring events, advance notices, and edits

The bot supports one-off, multi-day, and all-day events, as well as daily, weekly, and monthly recurrence. A recurring series can have an end date or an occurrence count. Each event can have up to five reminder offsets, from its start time to seven days in advance.

Finding, listing, editing, and deleting events use the same calendar source. Deleting a selected event or series requires explicit confirmation. When an event is removed, its pending notifications are cancelled; the event is checked again before a notification is delivered.

Recovery after a deployment

CalDAV is the source of truth rather than an in-memory job list. On startup, the bot restores future reminders and summarizes missed reminders from the last 24 hours. It synchronizes with the calendar every 60 seconds, so deployments do not require manually recreating every scheduled notification.

Deployment and access boundaries

The project runs on my VPS through Dokploy, with a CalDAV service such as Radicale providing calendar storage. Telegram, Gemini, OpenRouter, and calendar credentials belong in server environment variables. The public repository documents variable names and placeholders rather than requiring users to put credentials into source code.

This is an owner-only assistant: both the chat and sender must match the configured IDs. It is not a public multi-user scheduling service. Regression tests run in GitHub Actions; an optional deployment step requires those tests to pass. Provider availability and calendar connectivity remain operational dependencies.

Source code

View Reminder Bot on GitHub.

pythontelegram-botcaldavautomationai