waishnav / watcher Goto Github PK
View Code? Open in Web Editor NEWMinimal open source Screen-Time Tracker for Linux
Home Page: https://watcher-org.github.io/Watcher
License: MIT License
Minimal open source Screen-Time Tracker for Linux
Home Page: https://watcher-org.github.io/Watcher
License: MIT License
Right now watcher has X11 support. The active window name is accessed through the dependency "xdotool"
So try to find dependency for Wayland support as well.
Watcher-web is a project that serves as the watcher's landing page.
The goal of this landing page is to make people aware of their screen time and thus the watcher.
You might also find some hacktoberfest issues to contribute to there.
Wacther-web should be checked out.
Do check it out : Wacther-website.
Hi, great work with Watcher!
Line 2 in 42b578c
I noticed the repo getting cloned from the installation script. User would have already cloned the repo to run the installation script. Why clone the repo again from v2.0
branch?
Also, the user would have most probably cloned the repo from the git clone
command from the README file (atleast I did!). Instead of cloning the repo again from the installation script, how about updating the README with git clone https://github.com/Waishnav/Watcher -b v2.0
in the installation instructions itself?
Make changes in the src/bin/watcher
file so that watcher will implicitly use python3 as an interpreter.
Also, add python3 as a dependency in README.md
It'd be really helpful and easy to install if there's an AUR package
The loading window name of discord is consist \n Characters , due to that the format of log file is getting unorganized .
hello my friend and thanks for the great app
i am requesting to update README file and add more information about usage ... because i got confused at first .. should i run watcher --start
always when i start my pc or how does it work ? and thanks again
I want to add How to Contribute ,as it will be helpful for beginners and also adding contributers profiles into it and also want to add CODE_OF_CONDUCT.md
Use pyxdg to get paths
First, read COTRIBUTING.md to get an overall idea of v1.0 and v2.0 and their differences.
Issue Explained
At midnight of the next day (after 24:00), the previous day's Data (which is a dictionary containing the app name and its usage) get copied to the next day so we get the previous day's usage in the next day as well.
Where to work
You need to first clone the v2.0 branch after forking the repo.
And then make changes in src/Watcher/watch_log.py
according to issue.
watcher -ds only shows screen usage after restart not from the whole day. Is this a bug or feature?
Implement watcher for macOS.
Things to consider before implementation
-- You need to make the module for accessing Active app-name or you can use dependency.
-- So you'll have to make changes in src/Watcher/get_Windows.py
logs:
$ watcher -ws
Traceback (most recent call last):
File "/usr/share/Watcher/week_analysis.py", line 35, in <module>
for x, y in rc.final_report(window_opened, time_spent).items():
File "/usr/share/Watcher/report_creation.py", line 37, in final_report
time = to.time_addition(j[1], time)
File "/usr/share/Watcher/time_operations.py", line 36, in time_addition
mn = int(b[3:5]) + int(a[3:5])
ValueError: invalid literal for int() with base 10: ':1'
In second line of install
script
1. #!/bin/bash
2. git clone https://github.com/Waishnav/Watcher -b v2.0 && cd Watcher && ./install
due to last call to ./install
, it again creates new thread and clone git repo again and it goes on. Please fix it or merge the request #39
Use Watcher v2.0 for 1-2 days and make a log of any issues or concerns.
Then post some issues that u found during testing.
to install Watcher v2.0 use following command
git clone https://github.com/waishnav/watcher/ -b v2.0
and then cd into Watcher
./install
As Hactoberfest is about to start, to make this project open for contribution write CONTRIBUTING.md so that other fellow devs can understand the project structure and v1.0 branch and v2.0 branch, and the main branch and the workflow of making PR and merging PR into respective branches.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.