https://github.com/raj457036/website-blocker
This is website blocker that can block the website for certain time range to boost your productivity while work and keep you away from distraction.
https://github.com/raj457036/website-blocker
blocker linux mac python3 windows
Last synced: 6 months ago
JSON representation
This is website blocker that can block the website for certain time range to boost your productivity while work and keep you away from distraction.
- Host: GitHub
- URL: https://github.com/raj457036/website-blocker
- Owner: raj457036
- Created: 2018-02-03T15:17:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-03T15:43:59.000Z (over 8 years ago)
- Last Synced: 2025-03-18T15:51:59.058Z (over 1 year ago)
- Topics: blocker, linux, mac, python3, windows
- Language: Python
- Size: 10.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Website-Blocker
This is website blocker that can block the website for certain time range to boost your productivity while work and keep you away from distraction.
### Prerequisite:
- Python 3.x
### How To Use:
-First copy all the files to a folder
-Open sitelist.txt
-Enter all the websites you want to block
### Example:
sitelist.txt
>www.facebook.com
>www.twitter.com
>www.google.com
### For Mac or Linux
-Open Terminal(Linux or Mac) on the blocker folder
-and Type
>$ sudo python3 blocker.py
### For Windows
- Right click on 'run.bat'
- Click Run as Administrator
-Then Enter the Time range for which block websites in the format of
'13 30 15 25' for blocking From 13:30 PM till 15:25 PM
### Troublshoot
#### To Reset Blocker and Unblock all websites
run the program and do not enter any time range
>Website Blocker 1.0
>INFO: Python 3 is required for blocker to run
>Enter time duration. Eg. '13 25 15 30' for from 1:25 PM to 3:30 PM
>
>
>
>
This will unblock any website which is being blocked by blocker