habitus - Statistics and trends calculator for Harsh

Canonical project page

Habitus is a trends and statistics calculator for Harsh.

Harsh - a minimalist CLI habit tracker

The trend categories are inspired by Tickmate.

Tickmate - a habit tracker for Android

It uses the log file at `$HOME/.config/harsh/log` as the data source. The following statistics are calculated: total number of occurrences, current and longest streak and break, weekly, monthly, quarterly and yearly mean values, and 1- and 2-week, 1,3,6-month and 1-year trends, including percent change.

Installation and Usage

Have Python 3 installed. There are no other requirements (not even Harsh itself).

Download the executable

SHA1 sum: a432f64a07ff78082d32515f795cebb1db164152

Place the executable in your $PATH give it execution permissions. Type `habitus` to see your tracks' trends and statistics. Type `habitus` followed by the track name to show the trends and statistics of a single track. There is no persistent configuration of any kind.

Development is done via git. You can clone this repository by executing the following command:

git clone https://simonvolpert.com/habitus/

____________________

Last modified: 2024-01-19

Unless otherwise noted content on this site is licensed under CC-BY-SA.

Bitcoin Cash tips are welcome:

[(₿)] qzlpc2260u9vccs02njr7pupdshc5p9c4gh8e3mdn7

[(₿)] QR code