尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
Pick recipes, say how many meals to prep, and get a combined grocery list, scaled recipes and per-container portions. React + TypeScript + Vite + React Router, plain CSS, Supabase (Postgres, Auth, Storage, RLS), hosted on Vercel.查看完整 README ↗
Pick recipes, say how many meals to prep, and get a combined grocery list, scaled recipes and per-container portions. React + TypeScript + Vite + React Router, plain CSS, Supabase (Postgres, Auth, Storage, RLS), hosted on Vercel.
service_role key here.cp .env.example .env.local and fill in VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY.supabase/migrations/0001_schema.sqlsupabase/migrations/0002_rls.sqlsupabase/migrations/0003_storage.sqlsupabase/migrations/0004_grants.sql (table privileges; without it every query fails with "permission denied")supabase/migrations/0005_diet_and_preferences.sql (diet flags on ingredients, per-plan preferences)supabase/migrations/0006_hidden_recipes.sql ("Never show again" lists, private per person)supabase/migrations/0007_more_recipes.sql (records the second recipe batch in history; does nothing until the base seed exists, so on a fresh project it is a no-op)supabase/migrations/0008_fish_tag.sql (a separate "fish" tag so the Pescatarian diet can allow fish but not meat)supabase/seed.sql (run once: 62 ingredients, 24 recommended recipes, with diet flags)supabase/seed-more.sql (17 more ingredients, 23 more recipes: plant-based, gluten-free and dairy-free options; safe to re-run)npm install && npm run dev.update profiles set is_admin = true
where id = (select id from auth.users where email = '[email protected]');
There is deliberately no UI for this, and a trigger blocks clients from changing is_admin.Import the repo, add VITE_SUPABASE_URL and VITE_SUPABASE_ANON_KEY under Project Settings → Environment Variables. vercel.json rewrites all paths to index.html so React Router routes survive a refresh.
npm run dev · npm run build · npm run typecheck · npm testnode scripts/gen-seed.mjs regenerates supabase/seed.sql from the ingredient and recipe data in the script.g, ml, each). Nutrition is stored per 1 base unit. An optional per-ingredient density (g/ml) allows conversion between weight and cups/spoons. Conversion and display rounding live in src/lib/units.ts.src/lib/nutrition.ts), never stored on recipes.src/lib/grocery.ts combines same-named ingredients, scales per-serving amounts to the meal count, and subtracts inventory.src/lib/autofit.ts is a bounded least-squares fit (50%–200% per ingredient) to per-meal calories, protein, carbs and fat.0002_rls.sql and 0003_storage.sql, not by client checks.