Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use data to match functionality of StayFocusd and Freedom #126
It's a neat idea, but StayFocusd does it so well that it should hardly be a priority. I'm just creating this issue so that we have one. I've been thinking about it for a long time.
One issue I have with StayFocusd is that it's all or nothing. Sometimes I need to check e.g. Facebook during the day, or want to take a short break. StayFocusd is great and all, but perhaps there is a middle way?
Instead of blocking all blacklisted sites once a timer runs out, we give ourselves a timelimit before opening such a site. What we really want with things like StayFocusd is to get in control of time, not to limit what we can do with it. By nudging the user to estimate how much time they plan to spend on a site before they do, we help them adopt better behavior.
ActivityWatch data isn't needed for something like this, but it can be of great help. An example would be that whenever you open a blacklisted site you'd first get shown how much time you've already spent there during the past day. With that figure, the user would become aware of the time already spent there the past day/week/month/year. With that in mind we can learn when we need to restrain ourselves. and be a better judge of how much additional time, if any, we should let ourselves spend there for our intended visit.