AppTracker is a Python application designed to track and visualize application usage over time. It records the active applications and their usage duration, allowing users to analyze their activity patterns through interactive visualizations.
- Activity Tracking: Automatically records the active window and its usage time.
- Data Storage: Stores usage data in a structured JSON format for easy access and manipulation.
- Visualizations: Generates interactive pie charts using Plotly to visualize application usage.
- Time Range Selection: Allows users to view usage data for specific time ranges, including daily, weekly, monthly, or custom date selections.
- Clone the repository:
git clone https://github.com/manojpawarsj12/apptracker cd apptracker
- Create and activate a virtual environment:
- On macOS/Linux:
python -m venv venv source venv/bin/activate
- On Windows:
python -m venv venv venv\Scripts\activate
- On macOS/Linux:
- Install the required dependencies:
pip install -r requirements.txt
Use the following commands to operate AppTracker:
-
Start Tracking: Begin tracking your application usage.
python -m apptracker.main -start
-
Show Visualizations: View your application usage in a pie chart.
python -m apptracker.main -show
-
Clear Recorded Data: Clear your recorded usage data.
python -m apptracker.main -clean
You can adjust configuration settings in apptracker/config/settings.py
. This includes default time ranges for visualizations and other application-specific settings.
This project is licensed under the MIT License. See the LICENSE file for details.