- Notifications
You must be signed in to change notification settings - Fork58
A simple website blocker project implemented in Python, It can be used to block certain websites during working time to reduce distraction thus improving productivity
Kalebu/Website-blocker-python
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Hi Guys 👋
This repository consists the code of a simple website blocker project implemented in Python. It can be used to block certain websites during work time to reduce distraction thus improving productivity.
The magic of this project lies on modifying the host file within yourcomputer that manages how you access the web.
Well to get started with this project just clone the repositoryand edit the host file location depending on the OS your using.
$-> git clone https://github.com/Kalebu/Website-blocker-python$->cd Website-blocker-python $ Website-blocker-python ->
Now open theapp.py and then go to line 4 with variablesite_to_blockand you can add the sites you would like to block during work time
the script will automaticaly detect your OS and will add the host records to the relevent location
You would need to set up the starting working + ending working hours where you would like to be restricted from accessing those websites.To do this go to line last line of our code and edit the hours where by.
Well done you now have a fully functioning website blocker that you have made yourself to improve your productivity, in Python
Incase you have any difficulties or issues while trying to run the scriptyou can raise it on the issues
If you have something to add, I welcome pull requests that improve the project, your helpful contribution will be merged as soon as possible.
If you find this repo useful , give it a star
All the credits tokalebu
About
A simple website blocker project implemented in Python, It can be used to block certain websites during working time to reduce distraction thus improving productivity
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.
