A Telegram bot that converts simple task messages into Excel spreadsheets automatically.
This repository contains two major versions of the Telegram Task Bot:
-
mainbranch (this branch) → Legacy version- Simple English message format
- Flat task parsing
- Basic Excel generation
-
v2/architecture-redesignbranch → Enhanced & recommended version 🌙- Structured Arabic Ramadan tracking cards
- Domain-driven design (Coordinator, Participant, DailyReport)
- One row per participant per day
- One column per task
- Duplicate detection (day + participant)
- Improved validation and reporting
👉 For the latest implementation, please switch to the v2/architecture-redesign branch.
- Parse simple task messages
- Generate Excel spreadsheets
- Multiple people per report
- Automatic total calculation
- Token management via
.env
person name: Ali
frontend: 10
backend: 5
person name: Amine
frontend: 8
backend: 7
- One row per person
- Tasks as columns
- Automatic totals
- Basic Excel formatting
- .NET 8 SDK
- Telegram bot token from @BotFather
git clone https://github.com/RoaaAlsham/telegram-task-bot.git
cd telegram-task-bot
cp .env.example .env
dotnet restore
dotnet run
🧱 Project Structure
TelegramTaskBot/
├── Program.cs
├── TaskBot.cs
├── TaskData.cs
├── MessageParser.cs
├── ExcelGenerator.cs
└── README.md
🛠 Tech Stack
Telegram.Bot
EPPlus
DotNetEnv
.NET 8
📝 Note
This branch is kept for historical and learning purposes.