AI pantry, receipts & meal planner via Gemini, Supabase & Vercel on iPhone.
AI runs online
not yet reviewed by publik. It is live now; the founder has not reviewed this version yet.
PantryAI
open source · on publik
Prices are for one typical use: one request of about 1,500 words sent and 375 words back. A higher quality score is better.
PantryAI has no option to run its AI on your computer.
| Model | Quality | Per 1,000 uses |
|---|---|---|
| On your computer (Ollama, 4-bit download size) | ||
| Granite 4.2 3B2.2 GB | 9 | $0 |
| Phi-4 Mini2.5 GB | 6 | $0 |
| Llama 3.1 8B4.9 GB | 7 | $0 |
| gpt-oss 20B14 GB | 9 | $0 |
| Gemma 4 31B20 GB | 19* | $0 |
| Qwen3.5 35B-A3B24 GB | 19* | $0 |
| publik API | ||
| publik-fastGLM-5.3 Flash | 42 | $1.00 |
| publik-balancedMiMo-V2.6-Pro · PantryAI | 46 | $10.00 |
| publik-smartGPT-6 Sol | 48 | $18.00 |
Quality: Artificial Analysis Intelligence Index v4.3.2, read 2026-09-22 (publik API models 2026-09-25); * = estimated by Artificial Analysis. Sizes: the Ollama library, read 2026-09-22.
Every step written out. No terminal experience needed. Pick your setup.
Personal food assistant (PWA) to install on your iPhone home screen: budget → pantry → AI weekly menu → shopping list → cook → consume. Built for strictly personal use (a single person/household, no login, no social features, no payments).
localStorage); syncs with
Supabase in the background whenever there's internet.gemini-flash-latest, free
tier) for menu generation, receipt OCR, and natural language understandingThis app is meant for each person to deploy with their own Supabase and Gemini keys. No key or credential is included in this repository.
supabase/schema.sqlsupabase/schema_part3.sqlsupabase/schema_part4.sqlProject URL → this will be your NEXT_PUBLIC_SUPABASE_URLanon public key → this will be your NEXT_PUBLIC_SUPABASE_ANON_KEYThe database is designed for a single user: the RLS policies allow all operations without authentication. Don't expose this app publicly without adding your own auth layer if you're concerned about others accessing your data.
gemini-flash-latest is enough
for personal use.GEMINI_API_KEY.cp .env.local.example .env.local
Edit .env.local and fill in the three variables with what you got in
steps 2 and 3:
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-public-key
GEMINI_API_KEY=your-gemini-key
.env.local is in .gitignore: it's never pushed to the repository.
npm run dev
Open http://localhost:3000.
Option A — from the web:
.env.local.Option B — from the terminal:
npm install -g vercel
vercel # first deploy, follow the prompts
vercel --prod # subsequent deploys
If you use the CLI, add the environment variables in
Vercel Dashboard → your project → Settings → Environment Variables and
redeploy with vercel --prod for them to take effect.
app/ Next.js routes (pages + /api endpoints)
components/ UI components (pantry, week, shopping, cook...)
lib/ Store (Zustand), AI logic, deterministic calculations
ai/ AI provider abstraction, prompts, and schemas
supabase/ Client and sync logic
supabase/ SQL migrations (run in order)
public/ Manifest, service worker, icons
All your data (budget, pantry, plans, prices) lives first on your own device and syncs only with your own Supabase project. No data is shared with third parties except for the calls needed to the Gemini API to generate content (menus, receipt reading, text interpretation).
MIT — use it, modify it, and share it freely. See LICENSE.