Skip to content

lacunaverse/hawk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hawk

get a bird's eye view of you

a tool for quantified-self

Hawk is a tool to log data about yourself and make informed decisions off of it.

Roadmap

  • API
  • exporting data
  • viewing data
    • pretty-printed dates rather than unix time
    • data diffing (variance between intervals)
    • comparisons, ranges
  • combine into single binary

Setup

Development

Requirements:

Running:

go run .

Terminology

Logs

Logs are an instance of a metric. They describe a single datapoint in a category (metric). For instance:

  • how far did I run on 2020.10.09?
  • how long did I sleep on 2020.10.09?

Together, logs form collections of data which can be used to create inferences and goals.

Metrics

Metrics are a statistic, to describe a category to log. For instance:

  • weight
  • distance ran
  • minutes slept

They have three criteria:

  • a name, to describe the metric
  • a type, to represent acceptable values for the metric
    • can be a true/false value, number, or text
  • a frequency, to determine how often a metric should be logged (daily, monthly, etc.)
  • optionally, a validator (regex)

API

Credits