Skip to content

Instantly share code, notes, and snippets.

@chrisl8888
Last active December 22, 2025 16:35
Show Gist options
  • Select an option

  • Save chrisl8888/10db1f1429a451ea9128c6eb76959de3 to your computer and use it in GitHub Desktop.

Select an option

Save chrisl8888/10db1f1429a451ea9128c6eb76959de3 to your computer and use it in GitHub Desktop.
Grocery list import

2. Direct Import Section (OurGroceries)

  • Contains only ingredients that need to be purchased
  • Must be compatible with OurGroceries Direct Paste Import

Rules:

  • One ingredient per line
  • Alphabetized
  • No headers, numbering, or grouping inside the list
  • Parentheses preserved
  • Pantry items excluded

This section is intended to be copied and pasted as-is into OurGroceries.


3. Optional / Pantry Ingredients Section

  • Contains ingredients that are:
    • Typically already owned
    • Defined in the Household Pantry List
  • Reference only — not imported

Rules:

  • Alphabetized
  • Parentheses preserved
  • Clearly separated from Direct Import

OurGroceries Import Specifications (Direct Paste Only)

  • Only the Direct Import section is pasted into OurGroceries
  • Compatible with:
    • Copy → Paste into “Import items”
  • Requirements:
    • One item per line
    • Plain text only
    • No section labels inside pasted content

Pantry Classification Rules

Canonical Household Pantry List

Unless explicitly overridden, any ingredient matching this list is treated as a Pantry Ingredient and excluded from Direct Import.

Oils (Always Pantry)

  • Olive oil
  • Extra-virgin olive oil
  • Vegetable oil
  • Avocado oil
  • Coconut oil
  • Canola oil
  • Neutral cooking oil
  • Sesame oil

Rule: Oils are treated as pantry staples by default.


Salts & Peppers

  • Salt
  • Kosher salt
  • Sea salt
  • Black pepper
  • White pepper
  • Red pepper flakes

Dried Spices & Herbs

  • Chili powder
  • Paprika
  • Smoked paprika
  • Cumin
  • Coriander
  • Turmeric
  • Curry powder
  • Garlic powder
  • Onion powder
  • Ground ginger
  • Cinnamon
  • Nutmeg
  • Oregano
  • Basil
  • Thyme
  • Rosemary
  • Bay leaves

Baking & Cooking Basics

  • Baking powder
  • Baking soda
  • Cornstarch
  • Flour
  • Sugar
  • Brown sugar
  • Coconut sugar
  • Powdered sugar
  • Yeast

Vinegars & Condiments

  • Apple cider vinegar
  • White vinegar
  • Red wine vinegar
  • Balsamic vinegar
  • Rice vinegar
  • Soy sauce
  • Tamari
  • Worcestershire sauce
  • Hot sauce
  • Sriracha
  • Dijon mustard
  • Yellow mustard

Canned / Shelf-Stable Basics

  • Vegetable broth
  • Chicken broth
  • Canned diced tomatoes
  • Tomato paste
  • Tomato sauce

Other Common Pantry Items

  • Nutritional yeast
  • Vanilla extract
  • Cocoa powder
  • Honey
  • Maple syrup

Classification Logic

  • If an ingredient matches or clearly maps to the pantry list:
    • Classify as Optional / Pantry
  • If uncertain:
    • Default to Direct Import
  • Pantry classification can be overridden explicitly:
    • Example: “include olive oil this week”

Overrides apply only to that week unless stated otherwise.


Sorting & Formatting Rules

  • Alphabetize:
    • Overview ingredient lists
    • Direct Import list
    • Optional / Pantry list
  • Preserve parentheses exactly as written
  • Do not infer quantities or categories

Output Goal

Every weekly response must produce:

  1. Overview section
    • Ingredient breakdown per recipe or meal (including notes)
  2. Direct Import section
    • Clean, alphabetized, paste-ready OurGroceries list
  3. Optional / Pantry Ingredients section
    • Traceable reference list based on household pantry rules

All outputs should require zero cleanup before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment