尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A mobile-first recipe management application with OCR-powered recipe import from screenshots. Built with React Native + Expo, Supabase, and Next.js deployment.
Nibble follows the Barrow monorepo pattern:
Nibble/
├── apps/
│ ├── mobile/ # React Native + Expo app
│ └── web/ # Next.js deployment page
├── packages/
│ └── core/ # Shared hooks, utilities, Supabase client
└── supabase/
├── migrations/ # Database schema
└── functions/ # Edge Functions for OCR, image upload, search
ocr-process: Legacy mobile OCR endpoint (not configured for cloud OCR)recipe-save-from-ocr: Transform OCR output into structured recipesrecipe-image-upload: Generate presigned URLs for S3 uploadsrecipe-search: Full-text search with PostgreSQL trigram indexuseRecipeActions, useRecipeSync, useRecipeSearchClone and install dependencies:
cd Nibble
npm install
Configure Supabase:
.env files:
# apps/mobile/.env
EXPO_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
EXPO_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
# apps/web/.env.local
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
Set up database:
npx supabase link --project-ref your-project-ref
npx supabase db push
Deploy Edge Functions:
npx supabase functions deploy ocr-process
npx supabase functions deploy recipe-save-from-ocr
npx supabase functions deploy recipe-image-upload
npx supabase functions deploy recipe-search
npx supabase functions deploy send-household-invite
Configure household invitation emails:
RESEND_API_KEY, HOUSEHOLD_INVITE_FROM_EMAIL (for example, Nibble <[email protected]>), and APP_URL (the public web app URL) as Supabase function secrets.
npx supabase secrets set RESEND_API_KEY="your-resend-api-key" HOUSEHOLD_INVITE_FROM_EMAIL="Nibble <[email protected]>" APP_URL="https://your-app.example.com"
npx supabase db push so the pending-invite retry behavior is available.Mobile app:
npm run start --workspace=apps/mobile
# or
npm run web --workspace=apps/mobile # web preview
Web app:
npm run dev --workspace=apps/web
Build web deployment:
npm run build:web # Builds mobile app and exports to web
All tables use Row Level Security (RLS) — users can only access their own data.
POST /ocr-process
501 when cloud OCR is unavailablePOST /recipe-save-from-ocr
POST /recipe-image-upload
fileName, contentTypePOST /recipe-search
query, tags, limit, offsetuseRecipeActions(recipes, setRecipes)
createRecipe(recipe): Create recipe with optimistic updateupdateRecipe(recipeId, updates): Update recipedeleteRecipe(recipeId): Delete recipegetRecipeById(recipeId): Fetch recipeuseRecipeSync(setRecipes, session)
syncFromCloud(): Fetch recipes from SupabasedebouncedSync(): Debounced sync (1500ms)useRecipeSearch(recipes)
searchLocal(query): Local filteringsearchCloud(query, tags, limit): Server-side full-text searchfilterByTags(selectedTags): Filter by recipe tagsFollows Barrow's pattern:
apps/webCreate mobile screens (Phase 2):
Add OCR capture flow (Phase 3):
Build web app (Phase 4):
Testing & optimization (Phase 5):
See /CLAUDE.md for development guidelines and project context.
MIT