Minimal Open Source Screen-Time Tracker (CLI-app): Watcher

May 1, 2024 | Programming

In today’s digital age, tracking your screen time can be essential for managing your productivity and well-being. Introducing Watcher – a minimal open-source CLI application designed to give you insightful perspectives on your screen time usage.

Table of Contents

About

Watcher is a command-line interface (CLI) application that helps you track and analyze your screen time. It provides a straightforward way to visualize your daily and weekly screen time habits, allowing users to gain valuable insights into their digital life.

Here’s a peek at what the Watcher application offers:

Day Summary Week Summary

Fun fact: You might be surprised to see 14 hours of screen time in a single day. That’s because the AFK (Away from Keyboard) feature isn’t implemented yet, meaning that if you leave your laptop unattended, that time is still counted as screen time.

Installation

To get started with Watcher, you’ll need to follow a few installation steps:

  1. Ensure you have Python3 installed on your system.
  2. Install the dependencies:
    sudo [package-manager] install xprintidle xdotool
  3. Next, copy and paste the following command into your terminal:
    bash (curl -s https://raw.githubusercontent.com/WaishnavWatcher/main/install)
  4. Finally, run the install script:
    chmod +x .install && .install

Want to Contribute?

If you’re interested in contributing to Watcher, check out the CONTRIBUTING.md file for guidance. You can contribute to any of the following projects during the HACTOBERFEST:

To-do

The current to-do list includes:

  • [x] Implement AFK feature
  • [ ] Develop a GUI if the project receives 300 stars, likely using Tauri App

Troubleshooting

If you encounter issues during installation or while using Watcher, here are some troubleshooting ideas:

  • Ensure all dependencies are correctly installed. If not, try reinstalling them using the provided commands.
  • Check if Python3 is installed and correctly configured on your system. You can verify this by running python3 --version in your terminal.
  • Search for any error messages in the terminal when you run Watcher, and refer to the documentation for possible solutions.
  • For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Conclusion

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Now that you’re equipped with all the information, dive into using Watcher and take control of your screen time!

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox