尚未偵測到更新。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.