尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证iPhone-first wellness tracker: AI food logging from photos, lifting and cardio plans, weight goals. Next.js 16, Supabase, Gemini; built with Claude Code.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A wellness tracker for weight, food, lifting and cardio. An iPhone-first web app (installable PWA) I use every day: log meals by photo or description with AI-estimated calories and macros, follow a weekly lifting and cardio plan, and track weight against a target with a projected goal date.
Live: wellness-tracker-virid.vercel.app: tap Try the demo to look around with sample data, no sign-up needed · Status: in daily use
I built DEVELOP with Claude Code as an AI pair programmer, starting as a beginner in web development. I owned the product and the decisions:
The working rules for the AI are versioned in the repo (CLAUDE.md), alongside the code they shaped.
| Layer | Choice | Why |
|---|---|---|
| UI and server | Next.js 16 (App Router), React 19 Server Components and Server Actions, TypeScript | One codebase; data access and secrets stay on the server |
| Styling | Tailwind CSS v4 with named color tokens | Consistent theme; mobile-first with 44px+ tap targets and safe-area insets |
| Database and auth | Supabase: Postgres, row-level security, Google sign-in | Real relational data; the database itself enforces who can see what |
| AI | Google Gemini (server-side only), JSON schema output, raced model chain | Photo and text nutrition estimates on the free tier |
| Hosting and CI | Vercel (Node 24), GitHub Actions, Dependabot | Every pull request is checked; every merge to main deploys |
Data model: 13 tables (profiles, food entries, saved foods, water, weigh-ins, workout days / exercises / sessions / sets, cardio, tanning, AI request log, demo state), each created by a versioned SQL migration in supabase/migrations/.
| Feature | How |
|---|---|
| Food from a photo | The photo is shrunk to 768px on the phone as soon as it's picked, sent to Gemini with a JSON schema, validated and range-checked, and fills an editable form; nothing saves on its own |
| Food from text | Same pipeline from a plain description ("2 eggs and buttered toast") |
| Speed | Fastest free models first with minimal thinking; if one hasn't answered in 1.5 s a backup starts alongside it and the first answer wins. Measured: 12.5 s → 1.3–2.5 s |
| Reliability | Overloaded or retired models fall through to the next, a bad key stops at once, per-model timeouts and a total time budget |
| Weight coaching | A one-line note, regenerated only when the numbers it was written for change |
| Cost control | A 40-a-day limit per person, logged in Postgres before the AI is called |
main (pull requests only, required checks, linear history, no force-push), secret scanning with push protection, CodeQL code scanning, Dependabot alerts and security updates, and GitHub Actions pinned to commit SHAs. See SECURITY.md to report a problem.lib/ with tests; pages and components stay thin. Streaks, goal status, the weight plan and AI reply validation are all plain functions.Requires Node.js 24 (see .nvmrc, the version production runs) and a free Supabase project.
npm install.env.example to .env.local and fill in NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY and GEMINI_API_KEY (a free key from Google AI Studio).supabase/migrations/ in order in the Supabase SQL Editor, and enable Google sign-in.npm run dev and open http://localhost:3000npm test runs the unit tests; npm run build makes a production build.
supabase/migrations/20261025000000_recruiter_demo.sql in the SQL Editor (after the earlier migrations).[email protected] with a strong password and Auto Confirm User on.[email protected] and DEMO_PASSWORD=… in .env.local and in Vercel (mark the password Sensitive), then redeploy. The Try the demo button appears once both are set.Shipped: PWA shell and deploy, Google sign-in, food log with macro goals, AI text and photo estimates, streaks, workouts, cardio, water, the Weight tab with an AI coaching note, and the DEVELOP rename with a launch splash.
Next: polish and real-iPhone testing of photo logging, scroll wheels and checkboxes.