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.
- API
- exporting data
- viewing data
- pretty-printed dates rather than unix time
- data diffing (variance between intervals)
- comparisons, ranges
- combine into single binary
Requirements:
Running:
go run .
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 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)