analysis.html: The HTML structure for the dashboard.analysis.js: JavaScript for processing data and generating visualizations.app.py: Python script to start/stop tracking and serve the dashboard.getusage_win.py: Python script to track active window usage on Windows.requirements.txt: Lists the Python dependencies required for the project.
-
Clone the repository:
git clone https://github.com/yourusername/track-it.git cd track-it -
Install Python dependencies:
pip install -r requirements.txt
-
Start the application:
python app.py
-
Tracking:
- Click "Start Tracking" to begin monitoring your activity.
- Click "Stop Tracking" to stop monitoring.
-
Dashboard:
- Click "Show Dashboard" to start the local server and open the dashboard in your web browser.
- The dashboard will be accessible at http://localhost:8000/analysis.html.
The dashboard provides various visualizations:
- Activity Timeline: Displays a timeline of your application usage.
- Application Usage: Donut chart showing the distribution of time spent on different applications.
- Usage Patterns: Line chart showing hourly usage patterns.
- Multi-dimensional Analysis: Bubble chart comparing CPU and memory usage.
- Weekly Trends: Bar chart showing daily usage trends.
The dashboard also provides smart insights and recommendations based on your usage patterns:
- Productivity Score: Based on application usage patterns.
- Focus Score: Percentage of long, focused sessions.
- Work-Life Balance: Analysis of work and personal time.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, please contact your-email@example.com.