#todo #cli

bin+lib todo-cras

Simple cli todo manager, useful as a shell greeting

9 releases

0.1.8 Aug 5, 2022
0.1.7 Jan 31, 2022
0.1.5 Oct 14, 2021

#1143 in Command line utilities

36 downloads per month


476 lines


Simple cli todo manager, inspired by cras and jonhoo's shell greeting.

It lets you sort tasks by category. Categories have color and probability: the category is shown in the chosen color, and in probability mode with the given probability.

Probability mode (-p) can be used as a shell greeting. For example, if a category's probability is 0.7 and color is cyan then it will be printed in cyan and shown 70% of the time. When invoked without any arguments all tasks are displayed.

Deadlines are to be input as YYYY-MM-DD hh:mm. Tasks whose deadline has passed will have [BACKLOG] appended to them.

alt text

If $TODO_FILE is set then that file is used, otherwise $HOME/todo.txt is used.


  • Release
cargo install todo-cras
  • Current
cargo install --git https://git.sr.ht/~p00f/todo-cras

or clone this repo and

cargo build --release


todo-cras <no-arguments>: Display all tasks
          -p            : Display tasks according to probability
          -e            : Edit your todo list
          -h            : Display help


~59K SLoC