Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Command-line daily goal tracker, written in CoffeeScript

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 doit.coffee
Octocat-spinner-32 doit_test.coffee
README.md

DOIT

DOIT is a simple command line utility for tracking daily goals. Put a symlink called doit to doit.coffee and use it like this:

> doit

(use `doit add <task>` to add a task)

> doit add exercise

  _ exercise

> doit add "practice piano"

  _ exercise
  _ practice piano

> doit did exercise

  ✓ exercise
  _ practice piano

> doit yesterday

  Mon Mar 14 2011

  _ exercise
  _ practice piano

> doit did "practice piano" yesterday

  Mon Mar 14 2011

  _ exercise
  ✓ practice piano

> doit note "super productive day"

  ✓ exercise
  _ practice piano

  NOTE: super productive day

 > doit chart

              | exer | prac
   -----------+------+------
   Wed Mar 09 |      |
   Thu Mar 10 |      |
   Fri Mar 11 |      |
   Sat Mar 12 |      |
   Sun Mar 13 |      |
   Mon Mar 14 |      | ■■■■
   Tue Mar 16 | ■■■■ |       super productive day

> doit add read

  ✓ exercise
  _ practice piano
  _ read

  NOTE: super productive day

> doit did read "practice piano"

  ✓ exercise
  ✓ practice piano
  ✓ read

  NOTE: super productive day

> doit chart

             | exer | prac | read
  -----------+------+------+------
  Wed Mar 09 |      |      |
  Thu Mar 10 |      |      |
  Fri Mar 11 |      |      |
  Sat Mar 12 |      |      |
  Sun Mar 13 |      |      |
  Mon Mar 14 |      | ■■■■ |
  Tue Mar 16 | ■■■■ | ■■■■ | ■■■■  super productive day

> cat ~/.doit
{
  "tasks": [
    "exercise",
    "practice piano",
    "read"
  ],
  "completions": {
    "Tue Mar 15 2011": [
      "exercise"
    ],
    "Mon Mar 14 2011": [
      "exercise",
      "practice piano",
      "read"
    ]
  },
  "notes": {
    "Tue Mar 15 2011": "super productive day"
  }
}

Tech Details

DOIT is written entirely in CoffeeScript -- you'll need that installed in order to run the program. All your data is stored as JSON in a file called .doit in your home directory. Move it into Dropbox and create a symlink in your homedir and you can DOIT anywhere.

Something went wrong with that request. Please try again.