tracker

command module
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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
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

#+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

Documentation

Overview

Copyright © 2021 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
Package domain is a generated GoMock package.
Package domain is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL