Skip to content

A simple python script to block all distracting website and also Telegram

License

Notifications You must be signed in to change notification settings

nsmirosh/concentrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Concentrate.py

A simple Python script to block all distracting websites and also Telegram. Currently only supports MacOS

To add your own websites to block:

  • Simply modify the websites array within the concentrate.py script by adding the websites you want to block.

To run

  • Install python3.
  • Run using sudo by doing sudo python3 concentrate.py in the directory where the file is located.

To run from anywhere

  • Move the script to /usr/local/bin
  • Make it executable by running chmod +x /usr/local/bin/concentrate.py
  • Run using sudo concentrate.py from anywhere :)

Plans for the future:

  • Add a pomodoro timer, and do not allow to disable the script until the pomodoro finishes

In plans:

  • Make it an application that can be pinned in the list in MacOs
  • Super-focused mode - Blocks ALL websites - except those that are in the list.

UI:

  • show a timer of how much time is left for focusing

Making it hard to disable the blocking:

  • Hold the disable button for 60 seconds to disable
  • 5 minutes after disabling is pressed - the blocking is still in effect, and there is a button to "Disable the disabling" and return to blocking the websites.

About

A simple python script to block all distracting website and also Telegram

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages