Git Product home page Git Product logo

todo.txt-graph's Introduction

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:

todo.txt-graph's People

Contributors

andycyca avatar bassmann avatar gabrielsimoes avatar jucor avatar nareike avatar ninjapanzer avatar timpulver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

todo.txt-graph's Issues

~/.todo.actions.d/graph/graph: line 19: python2: command not found

Hi,

I installed this plugin today, and when I ran todo.sh graph
I received the following error:

~/.todo.actions.d/graph/graph: line 19: python2: command not found

My OS is OSX 10.11,
I am using zsh for my terminal shell,
and my python version is as follows

$ python
Python 2.7.10 (default, Aug 22 2015, 20:39:05)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.1)] on darwin

Is there some way that this plugin could be adapted for people who don't have, what I assume, multiple versions of python installed on their machines?

Thanks,
Simon

Note: changing python2 to python in ./graph works perfectly fine on my machine.

Use priorities to weight points?

A (important & urgent B (important but not urgent)
C (not important but urgent) D (not important & not urgent)

Completing a high priority task could be awarded with more points.

(A): 3
(B): 2
(C): 2
(D): 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.