Set of utilities to parse analyze Apple HealthKit exported dataset.
# Parsing a export
hk -file=./data/at/export.xml
# Update all dependencies
go get -u ./...
go mod tidy
go get github.com/google/uuid # Get and install a specific package
go mod download # Download all dependencies
# Build a docker image
docker build -t hk:v1 .
Required environment variable:
USENSE_OAUTH2_CLIENT_ID= "" # OAuth2 client ID from console.google.com
USENSE_OAUTH2_CLIENT_SECRET= "" # OAuth2 client Secret from console.google.com
USENSE_ENVIRONMENT= "DEVELOPMENT" # or "PROD"
Google Authentication
The repo uses Google OAuth2 to authenticate users. Some helpful links are: