Show HN: CLI Mood Tracker

4 points by vmurthy ↗ HN
Hello HN , A bit of Friday morning "productivity". I decided I needed to track how I am feeling at different times of the day and wrote a 4 line bash function. The idea is to meet the following requirements : 1. Easy to use and readily accessible 2. Store in a CSV and push to git so that I can create nice looking graphs later on 3. Make good use of time on a day I woke up at 5:30AM :)

Function is stored in ~/.bashrc and I use the terminal . Scale is from 0 to 10 with 0 being the worst

`mt 10 "Show HN first submission"`

``` function mt() {

score=$1

message=$2

echo "$score,$message,`date`" >>mood.csv

git commit -am "Mood@`date`" && git push origin main

} ```

0 comments

[ 2.8 ms ] story [ 11.2 ms ] thread

No comments yet.