ninjapanzer / todo.txt-graph

A todo.txt plugin which visualizes the amount of done tasks per day

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

todo.txt-graph

A visualization-plugin for todo.txt – a command line todo application.

Graph Image

todo.txt-graph displays bar charts showing the number of completed tasks per day.

As in Jerry Seinfeld’s don’t break the chain technique, active days will be colored green and therefore motivate you do be more productive.

Installation

cd into your plugins folder (see Installing Addons), e.g.:

cd ~/.todo.actions.d

Then clone this repository into the folder graph:

git clone https://github.com/timpulver/todo.txt-graph.git graph

The directory structure should look like this now:

~/.todo.actions.d/
    graph/
        graph
        graph.py  

Usage

Visualize last 7 days:

todo.sh graph

Visualize last 123 days:

todo.sh graph 123

Threshold

By default, days with less than 5 completed tasks will be considered inactive (and therefore colored grey). You can change the threshold by adding an entry to your todo.cfg file:

# Threshold for Graph Addon
export TODOTXT_GRAPH_THRESHOLD=10

Compatibility

Tested with todo.txt 2.10 on Mac OS X 10.11.1

Credits

Tim Pulver, 2015

Code used from:

About

A todo.txt plugin which visualizes the amount of done tasks per day


Languages

Language:Python 90.2%Language:Shell 9.8%