Skip to content

prathik/tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracker

Summary

Tracker enables improving happiness and impact of work.

Background

Flow State

flow.jpg

Flow happens when skill meets challenge. In tracker we regularly monitor whether the work challenge or effort matches our skill level.

Pomodoro

Pomodoro is a time boxing method where you set a distraction free time to do focused work.

Goals

  1. Easy tracking of flow states through out the day
  2. Easy tracking of pomodoro sessions
  3. Increase happiness and impact of work

Future work

  1. Incorporate GTD
  2. Incorporate Eisenhower Matrix

How?

Daily

  1. Set a time slot for work ie 25 minutes
  2. Start counter
  3. Work
  4. When counter ends run `tracker increment <challenge-level>`
  5. Take a 5 minute (or whatever is comfortable) break
  6. goto step 1 if done < k or stop

Weekly Retro

Run `tracker show` weekly and then optimize for flow and pomodoro sessions.

Installation

Install Go

https://golang.org/doc/install

Run

go get -u github.com/prathik/tracker

Usage

Increment data for current session

./tracker increment flow

Output

+------------+-------+
|    DAY     | COUNT |
+------------+-------+
| 2021-12-22 |    12 |
+------------+-------+

Show previous session data

tracker show

Show work done since n days back

Takes the input number of days.

tracker show --since-days 14

Show work done with when the entry was created

tracker show --with-time
+---------------------------+--------+--------------------------------+-----+------------+-------------------------------+
|           TIME            | DELTA  |              WORK              | JOY | IMPORTANCE |             NOTES             |
+---------------------------+--------+--------------------------------+-----+------------+-------------------------------+
| 2021-06-09T05:00:38+05:30 | -5h32m | gtd clean up and library       | 8   | 5          |                               |
|                           |        | upgrades                       |     |            |                               |
| 2021-06-09T05:31:29+05:30 | -5h1m  | use viper version v1           | 9   | 5          | solved go mod issue           |
| 2021-06-09T06:05:05+05:30 | -4h27m | looking into how renovate bot  | 7   | 6          |                               |
|                           |        | is setup                       |     |            |                               |
| 2021-06-09T06:38:00+05:30 | -3h54m | setup renovate runner and      | 8   | 6          | good learning about renovate  |
|                           |        | supply runner                  |     |            |                               |
| 2021-06-09T08:37:15+05:30 | -1h55m | figure out org archive in bulk | 8   | 3          | good productivity improvement |
| 2021-06-09T09:28:08+05:30 | -1h4m  | create command for             | 8   | 4          | optimizes time                |
|                           |        | org-archieve bulk              |     |            |                               |
| 2021-06-09T10:16:09+05:30 | -16m   | add with-time command to       | 8   | 2          |                               |
|                           |        | tracker                        |     |            |                               |
+---------------------------+--------+--------------------------------+-----+------------+-------------------------------+

Show a graph of joy and importance of activities

tracker show graph

Output

Flow
 9.00 ┤       ╭╮
 8.00 ┤       ││ ╭───╮    ╭─╮  ╭─╮
 7.00 ┤      ╭╯╰╮│   │ ╭╮╭╯ │  │ ╰╮   ╭
 6.00 ┤  ╭──╮│  ╰╯   ╰─╯╰╯  │╭─╯  ╰╮╭╮│
 5.00 ┤╭╮│  ││              ││     ╰╯╰╯
 4.00 ┼╯╰╯  ╰╯              ╰╯