Skip to content

Simple script intended to run periodically to block productivity drains.

Notifications You must be signed in to change notification settings

domdinnes/siteblock

Repository files navigation

siteblock

Simple script intended to be run periodically to block productivity drains.

Setup

Run the following two commands to

  1. Install all necessary packages:
npm install
  1. Ensure that etc/hosts and etc/hosts.md5 exist and have the correct permissions.
npm run setup

Running

npm start

TODO:

  1. Get this running as a cron job on mac/linux.
  2. Extract blocked sites to a config file.
  3. Create a script within the repo to auto set-up the cron job so this can be effortlessly ported to new machines.
  4. Change name to monkeyblock?

About

Simple script intended to run periodically to block productivity drains.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published