Turn your Mealie meal plan into a Grocy shopping list — presence-based, AI-matched, no duplicate products.
Find a file
xenarathon 5096bd2a5c feat: resolve products via kitchen-match embedding matcher (fallback to qwen)
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>
2026-07-08 12:32:58 -04:00
.gitignore Add .gitignore 2026-06-21 18:29:21 -04:00
LICENSE Initial commit: mealie-grocy-sync (kitchen brain) 2026-06-21 18:28:41 -04:00
README.md Initial commit: mealie-grocy-sync (kitchen brain) 2026-06-21 18:28:41 -04:00
requirements.txt Initial commit: mealie-grocy-sync (kitchen brain) 2026-06-21 18:28:41 -04:00
sync.py feat: resolve products via kitchen-match embedding matcher (fallback to qwen) 2026-07-08 12:32:58 -04:00

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 12 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."