Skip to content

A simple python tool to get rid of the distracting websites during your working hours!

Notifications You must be signed in to change notification settings

ZamranxD/website_blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

website_blocker

A simple python tool to get rid of the distracting websites during your work hours. Just execute this process in the background and forget about distractions!

Here's how to run this as a background process :

For Linux/Mac

  1. You can do this using cron. Run "sudo apt-get install cron" if you dont have it installed already.
  2. Open your terminal and type sudo crontab -e. You might be prompted to select an editor if you're using cron for the first time. So just select any that you're comfortable with.
  3. Once you've opened cron with sudo privillages, add the following line at the end of the file.
  4. @reboot python3 /home/user/Desktop/websiteBlocker/website_blocker.py Please note that the absolute path of your website_blocker.py file might be different so please change it accordingly.
  5. Once you're done, just save it and exit. And that's it. Done!

For Windows

  1. Please refer to this video for the tutorial.

About

A simple python tool to get rid of the distracting websites during your working hours!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages