Skip to main content

Limit the time you procrastinate by blocking websites via the hosts file

Project description


Limit the time you procrastinate by blocking websites via the hosts file.


Edit block list

Open the list of host names to block when not procrastinating for editing:

procrust edit

Add one host name per line.

Start and stop procrastinating

When you start and stop procrastinating the hosts file will be changed, so you need to run the command with root privileges. If you ran the edit command without sudo you need to preserve the environment with the -E option.

sudo -E procrust start

sudo -E procrust stop


Install the procrust command globally so it is accessible by the root user.

git clone
cd procrust
sudo python3 install


procrust was written by Ramiro Gómez.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for procrust, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size procrust-0.1.0-py3-none-any.whl (3.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size procrust-0.1.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page