Skip to content

A handy program that blocks user-specified websites during a certain period of time in a day.

Notifications You must be signed in to change notification settings

daniel-huang-1230/Python-Website-Blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Python-Website-Blocker

A handy program that may boost a programmer's productivity by blocking user-specified websites during a certain period of time in a day.

Language

Python 3.6

Usage

You can either manually run the Python script in your command line(Windows) or terminal(Linus/Mac), or better yet, simply schedule a daemon and let the script run once the computer starts. My program is intended to be run (be active) all the time.

I will recommend using launchd if you're a Mac user, since this allows the process/daemon to run immediately right after you wake up your machine from the sleep mode. Here's a great tutorial for launchd and it walks you through how to configure the property list on Mac, which is a special XML file.

What you will see when the website you are trying visit is blocked

2017-12-01 12 05 43 am

License

Apache License 2.0

Author

@Daniel Huang

About

A handy program that blocks user-specified websites during a certain period of time in a day.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages