This project extracts to-do tasks from exported WhatsApp chats using the DeepSeek API.
It supports recognizing varied languages and spelling errors to generate a structured JSON list of tasks with timestamps.
- Parses WhatsApp chat exports (
.txtfiles). - Extracts to-do items in English and Hindi.
- Handles common spelling mistakes and variations.
- Outputs to-do list in JSON format with timestamps.
- Python (for backend processing)
- DeepSeek API (for natural language understanding)
- Flask (for serving API/backend)
-
Navigate to backend:
cd backend -
Create and activate a virtual environment (optional but recommended):
python3 -m venv venv source venv/bin/activate # Linux/Mac venv\Scripts\activate # Windows
-
Install dependencies:
pip install -r requirements.txt
-
Run the Flask app:
python app.py
- Export WhatsApp chats as
.txtfiles. - Upload the file via the frontend or call the backend API to extract todos.
- Receive JSON with todo items and timestamps.
- Virtual environment folder (
venv) is excluded from Git. - DeepSeek API key is needed for extraction — configure it in your environment variables or config files.