Apptracker
A digital wellbeing kinda program which tracks your website and application usage time
Install / Use
/learn @manojpawarsj12/ApptrackerREADME
AppTracker
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.
Features
- 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.
Installation
Cloning the Repository
- Clone the repository:
git clone https://github.com/manojpawarsj12/apptracker cd apptracker
Creating a Virtual Environment
- 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:
Installing Dependencies
- Install the required dependencies:
pip install -r requirements.txt
Usage
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
Configuration
You can adjust configuration settings in apptracker/config/settings.py. This includes default time ranges for visualizations and other application-specific settings.
License
This project is licensed under the MIT License. See the LICENSE file for details.
