A modern web application for tracking time spent on different tasks and projects. Perfect for freelancers, students, and professionals who want to monitor their time usage.
- ⏱️ Real-time task timing
- 📊 Visual time distribution charts
- 🏷️ Category-based organization
- 📱 Responsive design
- 🔄 Pause/Resume functionality
- 🗑️ Task management (add/delete)
- 📈 Category-wise summary
Before running this application, ensure you have:
-
Python 3.8 or higher
python --version
-
pip (Python package installer)
pip --version
-
Clone this repository:
git clone [your-repo-url] cd task-timer -
Create and activate a virtual environment:
- Windows:
python -m venv venv venv\Scripts\activate
- macOS/Linux:
python -m venv venv source venv/bin/activate
- Windows:
-
Install dependencies:
pip install -r requirements.txt
-
Start the Flask server:
python app.py
-
Open your web browser and navigate to:
http://localhost:5000
-
Adding Tasks
- Enter task name
- Select category
- Click "Add Task"
-
Managing Tasks
- Start/Pause: Click the play/pause button
- Reset: Click the reset button
- Delete: Click the delete button
-
Viewing Statistics
- Time distribution chart shows category-wise time allocation
- Category summary shows total time per category
task_timer/
├── app.py # Flask application
├── requirements.txt # Python dependencies
├── static/
│ ├── styles.css # Custom styling
│ └── script.js # Frontend JavaScript
└── templates/
└── index.html # Main HTML template
- Backend: Flask, SQLAlchemy
- Frontend: HTML5, CSS3, JavaScript
- Database: SQLite
- Charts: Chart.js
- UI Framework: Bootstrap 5
- Icons: Bootstrap Icons
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.