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
- Hostfile Path: /etc/hosts
- run sudo crontab -e
- then add the line: @reboot python3 <.py filepath>