Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexcambose/website-blocker
Simple website blocker gui app built with Python and wxWidgets
https://github.com/alexcambose/website-blocker
administrator beta executable gtk3 gui hostsfile interface linux permissions productivity pyinstaller python python-3 server sudo timemanagement website windows wxpython wxwidgets
Last synced: 2 days ago
JSON representation
Simple website blocker gui app built with Python and wxWidgets
- Host: GitHub
- URL: https://github.com/alexcambose/website-blocker
- Owner: alexcambose
- License: mit
- Created: 2018-02-23T19:11:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-03-02T12:54:40.000Z (over 6 years ago)
- Last Synced: 2024-05-21T04:21:15.074Z (6 months ago)
- Topics: administrator, beta, executable, gtk3, gui, hostsfile, interface, linux, permissions, productivity, pyinstaller, python, python-3, server, sudo, timemanagement, website, windows, wxpython, wxwidgets
- Language: Python
- Homepage:
- Size: 9.8 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# website-blocker
[![Build Status](https://travis-ci.org/alexcambose/website-blocker.svg?branch=master)](https://travis-ci.org/alexcambose/website-blocker)> Simple website blocker gui app built with Python and wxWidgets.
## Installation and usage
*Python **3.5+** required*
Linux
```
pip3 install -r requirements.txt
```
For installing [wxPython](https://github.com/wxWidgets/Phoenix) there is **some additional setup needed**: [Official website](https://wxpython.org/pages/downloads/), Some other (better) [instructions](https://uwpce-pythoncert.github.io/Py300/notes/Installing_wxPython.html#linux)
### Running
You will need to run the script as *superuser* so that the script will be able to edit `/etc/hosts` file.
##### Method 1
```
cd website-blocker && ./run.sh
```
##### Method 2
```
cd website-bocker && sudo python3 index.py
```Windows
```
pip install -r requirements.txt
```
### Running
You will need to run the script as `administrator`.Right click `website-blocker/winbuild/Website blocker.exe` and then select `run as administrator`.
**Only tested on Linux and Windows machines**
## About
Released under the [MIT](./LICENSE) License.