This idea comes from my friend while I asked him for a idea to initially bring my Python skill to life.
So this project helps to block specific sites in a given time for focusing on your current task with network availability.
####To Do List
- ~~block some affixed sites in a fix duration (hard logic code, manipulate with hosts file) ~~
UI (first in posix system only)import site list from a file- Capture packets instead of hosts file
- Monitor browsers. Add time punishment while trying to access the blocking sites in the time
Self persistence. Persistent while closing the terminal
####Known bug
- fail to exit curses mode correctly
- fail to check the URL availability
- Need to flush local DNS cache if your site opened recently
###How to ####Run In Linux/OS X
sudo python ./source/scienWebbing.py
In Windows (The author hasn't know yet either)
####Begin