Transform your thoughts into structured daily plans with AI-powered task organization
TaskFlow AI is a smart productivity tool that converts natural language descriptions into organized, prioritized daily plans with time estimates and suggested schedules.
- π€ AI-Powered Planning: Uses OpenAI GPT to intelligently categorize and organize tasks
 - π Natural Language Input: Simply describe your day in plain English
 - π― Smart Categorization: Automatically sorts tasks by priority and type
 - β° Time Estimates: Realistic time estimates for each task
 - π Suggested Schedule: AI-generated optimal daily schedule
 - π¨ Modern UI: Beautiful, responsive design with Tailwind CSS
 - π€ Voice Input: Speech-to-text functionality for hands-free planning
 - π Dark Mode: Toggle between light and dark themes
 - πΎ Save & Export: Save plans and export as text files
 - β¨οΈ Keyboard Shortcuts: Ctrl+Enter to generate plans quickly
 
- Python 3.8+
 - OpenAI API key (optional, falls back to mock data)
 
- 
Clone the repository
git clone <repository-url> cd taskflow-ai
 - 
Install dependencies
pip install -r requirements.txt
 - 
Set up environment variables
cp .env.example .env # Edit .env and add your OpenAI API key - 
Run the application
python app.py
 - 
Open your browser Navigate to
http://localhost:5000 
- 
Describe your day in the text area:
"I need to finish the UI for the dashboard, follow up with the client, prepare slides for tomorrow, and maybe finally go grocery shopping." - 
Click "Generate Plan" or press
Ctrl+Enter - 
Review your structured plan:
- Tasks organized by priority and category
 - Time estimates for each task
 - Suggested daily schedule
 - Total estimated time
 
 
- Voice Input: Click the microphone button to speak your tasks
 - Save Plans: Click "Save Plan" to store your plan (simulated)
 - Export Plans: Download your plan as a text file
 - Dark Mode: Toggle the theme with the moon/sun button
 - Keyboard Shortcuts: Use 
Ctrl+Enterto generate plans 
taskflow-ai/
βββ app.py                 # Flask application
βββ api/
β   βββ scheduler.py       # AI planning logic
β   βββ prompt_templates.py # AI prompts
βββ templates/
β   βββ index.html        # Main UI template
βββ static/
β   βββ js/
β       βββ app.js        # Frontend JavaScript
βββ requirements.txt       # Python dependencies
βββ README.md            # This file
- Set your 
OPENAI_API_KEYin the.envfile - Uses GPT-3.5-turbo for intelligent task analysis
 - Provides the best categorization and time estimates
 
- Works without API key using keyword-based categorization
 - Provides basic task organization and mock data
 - Perfect for testing and development
 
- Responsive Design: Works on desktop, tablet, and mobile
 - Modern Interface: Clean, intuitive design with Tailwind CSS
 - Smooth Animations: Hover effects and transitions
 - Real-time Feedback: Loading states and notifications
 - Accessibility: Keyboard navigation and screen reader support
 
Create a .env file with:
OPENAI_API_KEY=your_openai_api_key_here
SECRET_KEY=your_secret_key_here
FLASK_ENV=development- Categories: Modify 
api/scheduler.pyto add custom categories - Styling: Edit 
templates/index.htmlfor UI changes - Prompts: Customize AI prompts in 
api/prompt_templates.py 
python app.py- Connect your GitHub repository
 - Set environment variables
 - Deploy automatically
 
heroku create taskflow-ai
git push heroku mainFROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 5000
CMD ["python", "app.py"]- Start the application
 - Enter various task descriptions
 - Test voice input functionality
 - Verify export and save features
 
Work Day:
"I need to finish the quarterly report, call the marketing team, 
review the budget proposal, and schedule next week's meetings."
Personal Day:
"I want to go grocery shopping, clean the house, 
call my mom, and maybe finally start that book I bought."
Mixed Day:
"Finish the client presentation, pick up dry cleaning, 
follow up on emails, and maybe hit the gym after work."
- Calendar Integration: Sync with Google Calendar, Outlook
 - Mobile App: React Native version
 - Browser Extension: Chrome/Firefox extension
 - Team Planning: Collaborative planning features
 - Analytics: Track productivity and time usage
 - Notifications: Reminder system with push notifications
 - Templates: Pre-built plan templates
 - AI Learning: Improve suggestions based on user patterns
 
- Fork the repository
 - Create a feature branch
 - Make your changes
 - Add tests if applicable
 - Submit a pull request
 
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for providing the GPT API
 - Tailwind CSS for the beautiful styling
 - Font Awesome for the icons
 - Flask for the web framework
 
Built with β€οΈ and AI - Transform your productivity with TaskFlow AI!