.. | ||
graph | ||
graph.py | ||
README.md |
todo.txt-graph
A visualization-plugin for todo.txt – a command line todo application.
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: