# README
- 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
- Easy tracking of flow states through out the day
- Easy tracking of pomodoro sessions
- Increase happiness and impact of work
** Future work
- Incorporate GTD
- Incorporate Eisenhower Matrix
** How? *** Daily
- Set a time slot for work ie 25 minutes
- Start counter
- Work
- When counter ends run
tracker increment <challenge-level>
- Take a 5 minute (or whatever is comfortable) break
- 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
#+begin_src sh :results verbatim :exports both go get -u github.com/prathik/tracker #+end_src
** Usage *** Increment data for current session #+begin_src sh :results verbatim :exports both ./tracker increment flow #+end_src
**** Output #+begin_src +------------+-------+ | DAY | COUNT | +------------+-------+ | 2021-12-22 | 12 | +------------+-------+ #+end_src
*** Show previous session data #+begin_src sh :results verbatim :exports both tracker show #+end_src
*** Show work done since n days back Takes the input number of days.
#+begin_src sh :results verbatim :exports both tracker show --since-days 14 #+end_src
*** Show work done with when the entry was created #+begin_src sh :results verbatim :exports both tracker show --with-time #+end_src
#+begin_src +---------------------------+--------+--------------------------------+-----+------------+-------------------------------+ | 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 | | | | +---------------------------+--------+--------------------------------+-----+------------+-------------------------------+ #+end_src
*** Show a graph of joy and importance of activities #+begin_src sh :results verbatim :exports both tracker show graph #+end_src
**** Output
#+begin_src Flow 9.00 ┤ ╭╮ 8.00 ┤ ││ ╭───╮ ╭─╮ ╭─╮ 7.00 ┤ ╭╯╰╮│ │ ╭╮╭╯ │ │ ╰╮ ╭ 6.00 ┤ ╭──╮│ ╰╯ ╰─╯╰╯ │╭─╯ ╰╮╭╮│ 5.00 ┤╭╮│ ││ ││ ╰╯╰╯ 4.00 ┼╯╰╯ ╰╯ ╰╯ #+end_src