App-Time-Tracker is a lightweight Windows application that helps you monitor how much time you spend on different applications and windows. The tracker runs in the background and keeps a record of your active windows, providing insights into your computer usage habits.
- Real-time tracking of active windows and applications
- Automatic detection and pausing during private browsing sessions
- Convenient keyboard shortcuts for controlling the tracker
- Summary report of time spent on each application
- Privacy-focused design that respects your sensitive browsing sessions
- Windows OS
- Python 3.6 or higher
- Required Python packages:
- psutil
- pygetwindow
- pywin32
- keyboard
pip install psutil pygetwindow pywin32 keyboard
Download the App-Time-Tracker script from our repository or copy the provided code into a .py file.
Run the script using Python:
python app_time_tracker.py
- Ctrl + Shift + Q: Stop tracking and display summary
- P: Pause tracking
- R: Resume tracking
- Automatically detects and pauses tracking during private browsing sessions
- Recognizes InPrivate (Edge), Incognito (Chrome), Private Browsing (Firefox), and Private Window (Safari) modes
- Resumes tracking when you exit private browsing
- The application monitors the currently active window using Windows API calls
- It records the time spent on each application based on process name
- When you switch applications, it updates the tracking information
- Private browsing detection prevents tracking during sensitive sessions
The tracker provides real-time updates in the console:
- Displays the title of the current active window
- Shows the process name of the active application
- Maintains a running total of time spent on each application
- Provides a complete summary when tracking is stopped
Example output:
Now tracking: Document - Microsoft Word
Process: WINWORD.EXE
-----------------------------------------------------------
Application: WINWORD.EXE
Time spent: 0h 15m 22s
-----------------------------------------------------------
- GUI interface for easier interaction
- Data visualization of application usage patterns
- Daily/weekly/monthly reports
- Application categorization
- Time management goals and alerts
App-Time-Tracker is completely free and open source. Contributions are welcome!
This project is licensed under the GNU General Public License v3.0.
You may freely use, modify, and distribute this software, provided that any derivative works are also licensed under the GNU GPL v3. For full license details, see the LICENSE file or visit: https://www.gnu.org/licenses/gpl-3.0.en.html