Skip to content

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

Notifications You must be signed in to change notification settings

timpulver/todo.txt-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

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 config file (~/.todo/config):

# Threshold for Graph Addon
export TODOTXT_GRAPH_THRESHOLD=10

In the todo.txt wiki you can find further information on the config file: config troubleshooting

Compatibility

Tested with todo.txt 2.11.0 on macOS 10.14.2

Contributors

Code used from:

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published