Skip to content
umyarrPublic

About

AI Telegram bot that turns team conversations into structured, actionable tasks with GigaChat.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

🌐 Русский | 中文

@winx_bot — Telegram Task Bot

A bot for team work chats. Mention @winx_bot in a message — it parses the text via GigaChat and returns a structured task: assignee, priority, deadline, links.

Write to the bot in a private chat — it decomposes your task and tells you whether it needs to be split or is already atomic.

Features

In group chats (mention @winx_bot):

  • Splits one message into multiple tasks if needed
  • Auto-assigns executor by federal district
  • Extracts links from messages (entities + regex)
  • Detects priority (high / medium / low) from keywords
  • Extracts deadlines from text
  • Posts results to the «Tasks» topic (topic_id=2)

In private chat (DM the bot):

  • Accepts any task description
  • Determines if it's a "container" (multiple actions) or already atomic
  • If needs splitting: returns numbered subtasks in "verb + result" format
  • If already atomic: confirms it's good to go as-is
  • Responds in a friendly tone ("Друг, предлагаю разбить...")

Stack

  • Python 3.13
  • aiogram 3.28
  • GigaChat 0.2 (GIGACHAT_API_PERS)
  • python-dotenv

Setup

git clone https://github.com/umyarr/winx_bot
cd winx_bot
pip install -r requirements.txt
cp .env.example .env
# fill in your tokens
python bot.py

Environment variables

TG_TOKEN=bot_token_from_BotFather
GIGACHAT_KEY=key_from_GigaChat

Deploy (VPS / systemd)

systemctl status tg-weeek-bot
systemctl restart tg-weeek-bot
journalctl -u tg-weeek-bot -f

Current status

WEEEK is retired. The bot now follows: Telegram confirmation → Markdown task in the server inbox → local sync into Obsidian.

Current status

The bot works only in private Telegram dialogue: group and supergroup messages are ignored. It analyzes text via Groq, shows a preview, and writes confirmed tasks to the Obsidian Inbox.

Статус: бот работает только в личном диалоге Telegram; групповые сообщения игнорируются. Разбор выполняется через Groq, после подтверждения задача попадает в Obsidian Inbox.

状态:机器人仅在 Telegram 私聊中工作,群组消息会被忽略。通过 Groq 分析,确认后写入 Obsidian Inbox。

Current status (2026-09-06)

AI parsing is disabled. The bot works only in private Telegram dialogue, shows the raw message as a draft, and saves it to Obsidian Inbox after confirmation.

AI-разбор отключён. Бот работает только в личном диалоге Telegram, показывает исходный текст как черновик и сохраняет его в Obsidian Inbox после подтверждения.

AI 解析已停用。机器人仅在 Telegram 私聊中工作,显示原始文本草稿,确认后保存到 Obsidian Inbox。

About

AI Telegram bot that turns team conversations into structured, actionable tasks with GigaChat.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages