The Screen Time Monitoring System is a cross-platform application designed to track and manage the time users spend on their devices. It supports Windows and macOS, providing tailored functionalities for each operating system. Users can monitor active application usage, set time limits, and receive alerts when limits are exceeded.
- Active Application Tracking: Monitors the time spent on actively opened user applications.
- Time Limit Functionality: Users can set and adjust time limits for each application.
- Notifications on Time Exceed: Alerts users when an application's usage exceeds the set limit.
- Top 5 Most Used Applications: Displays the five most used applications based on time spent.
- Friendly Application Names: Converts process names like
notepad.exe
to user-friendly names such as "Notepad." - Dynamic Time Limit Modification: Allows users to increment or decrement time limits dynamically.
- Live Usage Statistics: Displays real-time statistics of all monitored applications in the terminal.
- Valid for All Applications: Automatically tracks all user applications without needing pre-configuration.
- User-Friendly Names: Application names are displayed without additional configurations.
- Dialog Box and Termination: When a time limit is exceeded, a notification and dialog box are shown. Pressing "OK" terminates the application.
- Operating System: Windows 7 or later.
- Compiler: A C compiler (e.g., GCC).
- Library:
psapi
for interacting with system processes.
- Operating System: macOS Mojave or later.
- Compiler: A C++ compiler supporting Objective-C++ (e.g.,
clang
).
- Clone the repository or download the project files.
- Open a terminal/command prompt and navigate to the project directory.
- Compile the code:
gcc -o screen-time-monitoring-system AppUsageTracker.c -lpsapi
- Run the program:
./screen-time-monitoring-system
Alternatively, use the build.bat
file to create the application and then open the .exe file to use it.
- Clone the repository or download the project files.
- Open a terminal and navigate to the project directory.
- Compile the code with
clang
:clang++ -o screen-time-monitoring-system macos.mm -framework AppKit -framework Foundation
- Run the program:
./screen-time-monitoring-system
- Launch the program to begin tracking active applications.
- Enter time limits for specific applications.
- Monitor the top 5 most used applications in real time.
- Modify time limits as needed to manage usage.
- Launch the program to start tracking all user applications.
- Enter time limits for applications at the start of the program.
- View live usage statistics updated every second in the terminal.
- When a time limit is exceeded, a notification and dialog box appear. Press "OK" to terminate the application.
- Notepad
- Google Chrome
- File Explorer
- Mozilla Firefox
- Microsoft Outlook
- Spotify
- VLC Media Player
- Microsoft Teams
- Discord
- Steam
All actively opened user applications are supported without the need for pre-configuration.
We welcome contributions to improve and expand the project. Fork the repository, make your changes, and submit a pull request!
This project is licensed under the MIT License. See the LICENSE file for details.