A small CLI util to block and unblock websites, to help you get on with and focus on work.
- Node.js 20
- Clone the repo
- Install the dependencies
npm i
- Link the binary
npm link
- Check that this has been installed with
which selfcontrol
Usage: selfcontrol [options]
Options:
-V, --version output the version number
-l, --list list blocked sites
-a, --add <site> add site to blocked list
-d, --delete <site> delete site from blocked list
-s, --start start blocking sites
-x, --stop stop blocking sites
-c, --clear clear blocked sites
-h, --help display help for command