Skip to content

Small script to configure your hosts file so you don't procrastinate during work.

Notifications You must be signed in to change notification settings

sushilkg/get-shit-done

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 

Repository files navigation

get-shit-done

get-shit-done is an easy to use command line program that blocks websites known to distract us from work.

After cloning this repository, put it in your $PATH and ensure it is executable. Execute it as root because it modifies your hosts file and restarts your network daemon.

To get-shit-done

$ sudo get-shit-done work

To procrastinate

$ sudo get-shit-done procrastinate

Add sites to block-list

You can add more sites to the blocked sites list by manually by adding it in ~/.config/get-shit-done.ini. Duplicates will be removed, and www is automatically prepended. For eg. sites = foo.com, bar.com, baz.com

  • $siteList - Add or remove elements of this array for sites to block or unblock.

Source

Forked from https://github.com/leftnode/get-shit-done

About

Small script to configure your hosts file so you don't procrastinate during work.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 87.9%
  • Shell 12.1%