Skip to content

Python based website blocker to block websites during specific time periods of day

Notifications You must be signed in to change notification settings

anshulprakash/WebsiteBlocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

WebsiteBlocker

It is a URL blocker, which, within specified hours of the day, blocks access to specified websites and infact redirects you to a motivational website, useful for the ones who get distracted at work. Utilized host files to achieve the purpose. Works seamlessly on all operating systems including windows, Linux and Mac.

Platform specific details: In windows:

  • Use Task Scheduler to convert the program into a process and run at startup, running with highest privledges
In Unix based systems:
  • Hostfile Path: /etc/hosts
  • run sudo crontab -e
  • then add the line: @reboot python3 <.py filepath>

About

Python based website blocker to block websites during specific time periods of day

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages