Turn your Mealie meal plan into a Grocy shopping list — presence-based, AI-matched, no duplicate products.
Phase-1 migration (mirrors alexa-grocy-sync). resolve_product tries kitchen-match /match before the qwen match-or-create path; confident hit cached, null/503 falls back unchanged. Gated by USE_MATCHER + MATCHER_URL. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
| sync.py | ||
mealie-grocy-sync
The glue between your recipe app and your pantry app: it turns your Mealie meal plan into a Grocy shopping list.
Plan what you'll cook in Mealie, and this figures out which ingredients you don't already have in stock and adds just those to Grocy — which can then flow on to Alexa, your phone, or wherever your list lives. No re-typing ingredients, and no duplicate products.
What it does
- Reads the next few days of your Mealie meal plan.
- Pulls each planned recipe's ingredients and matches them to Grocy products — reusing a shared cache + a small local LLM so a recipe's "garlic" maps to the same Grocy product as a shopping-list "garlic" (no duplicates).
- Adds anything you're not stocked for to the Grocy shopping list. Ubiquitous staples (water, salt, pepper) are skipped.
- It's presence-based ("do I have any of this?") — it doesn't attempt precise quantity math, because cooking units vs. pantry units is a genuinely hard problem.
📖 Setup & usage live in the Wiki.
Roadmap
- v2 — quantity-aware: rough cooking-unit ↔ stock-unit conversions, and deduct stock when you cook a planned meal.
- "Almost makeable" hints (you have all but 1–2 ingredients).
License
GPL-3.0 — see LICENSE.
Built with help from Claude (Anthropic, Opus 4.8). Part of a self-hosted Mealie + Grocy "kitchen brain."