- keypress count
- mouse click count
- mouse distance traveled (inspo: @mewtru)
- scroll step count
if you want to run fully local with no setup, just build and run as noted below.
if however, you want to store these stupid metrics in a db somewhere, do the following:
# create a config.yaml
# ~/.config/kawaiilogger/config.yaml
database:
type: postgres/sqlite # choose one
url: # enter your db url if you have any
filepath: # path to your .sqlite file if any
now just build and run !!
env GO111MODULE=on go build
./kawaiilogger &
# check the code for other OS logDir
bat ~/.config/kawaiilogger/kawaiilogger.log