Personal calorie tracker PWA. Log a meal by typing what you ate, an LLM estimates the calories, and the entry is committed straight to a git repo you control — no backend server.
See PLAN.md for the full design.
npm install
npm run devOpen the app and fill in the Setup screen:
- LLM base URL, API key, and model (any OpenAI-compatible chat-completions endpoint)
- A separate GitHub repo (recommended private) to hold your calorie log data, plus a token with read/write access to it
npm run dev— local dev servernpm run build— typecheck + production build todist/npm run preview— serve the production build locallynpm run lint— oxlint
Pushing to main runs .github/workflows/deploy.yml, which builds the app and publishes
it to GitHub Pages (must be enabled in the repo's Pages settings, source: GitHub Actions).