An Application where one can block any website for any amount of time.
- Time
- Datetime
- Clone this repository
git clone https://github.com/ParagD25/Website_Blocker
- Go into the repository
cd Website_Blocker
- Remove current origin repository
git remote remove origin
- Create new virtual python environment
python3 -m venv venv
- Activate virtual python environment
source venv/bin/activate
- Run Python file
python blocker.py
⚠️ Run This file in cmd as an Administrator
The website you want to block will come under this list.For example here twitter is blocked as its address is inside the blocking list.
Timing can be set using this line of code where red circle 🔴 represents the Starting Time and purple circle 🟣 represents the Ending Time.
Timings are in 24-Hours Format.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.