Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.