caltrack/CLAUDE.md
Bastian Gruber abf2a3f05a
Some checks failed
Build and Push / build (push) Has been cancelled
fix: change model, add CLAUDE file
2026-02-24 08:22:18 -04:00

859 B

Caltrack

WHAT

  • This is a calorie counter web application, written in Go
  • It has a Terminal-like UI

WHY

  • The idea of the app is to have a very simple, straight forward UI
  • It should reduce looking up nutrition facts
  • It should pre-calculate the activity level kcal and how much to consume to loose x amount of weight per week

HOW

  • It is a web app/API written in Go
  • It starts a http file server to serve the web/index.html file
  • It is deployed on my own OVH VPS, behind a Caddy server which redirects calls to /caltrack/*
  • It is served as a web frontend
  • It has a API handlers to create and delete entries
  • The API also provides handlers to get data for any given day
  • It can store settings, like your weight, height, gender
  • It uses Claude AI API calls to read human text and converts it into an API call to get nutrition facts out