This is a command-line tool that blocks websites. It does it by modifying the Windows hosts file1. Conversely, the user can also unblock websites that had been blocked.
- A timer feature that blocks a certain website for specified hours
- A user interface.
- Download the files in this repository in a single folder. Note that the Python libraries used are os and shutil.
- Run main.py in the terminal.
WebsiteBlocker was succesfully used and tested on Windows 10.
Footnotes
-
Go to https://thegeekpage.com/block-websites-on-windows-10/ for more details ↩