update: cleanup

This commit is contained in:
Alexey Dubovskoy 2025-09-26 17:52:45 +01:00
parent 3ebf3252c0
commit e0eafa9fa7
13 changed files with 26 additions and 445 deletions

View File

@ -1,4 +0,0 @@
# Shopping List
# Format: path<TAB>name<TAB>scale
Breakfast/Mexican Style Burrito Mexican Style Burrito 3

View File

@ -4,6 +4,7 @@ servings: 4
prep time: 10 minutes
cook time: 15 minutes
my tag: hehe
description: This is my favioure recipe to use for testing. It also simple and delicious.
---
Crack the @eggs{3} into a blender, then add the @plain flour{125%g}, @milk{250%ml} and @sea salt{1%pinch}, and blitz until smooth. Add more @milk{1%cup}

View File

@ -21,6 +21,6 @@ Get two plates and pop a warm tortilla on each one. Divide the scrambled eggs be
Scatter each portion with grated cheese and as much chilli as youdare, then roll each tortilla up.
Spoon @./Components/Guacamole{2%servings} and @sour cream{4%tbsp} on top of each one, scatter with @coriander{}(leaves) and dust with a little @smoked paprika{1%pinch}.
Spoon @./Components/Guacamole{2%servings} and @sour cream{4%tbsp} on top of each one, scatter with @coriander leaves{} and dust with a little @smoked paprika{1%pinch}.
Serve each portion with wedge of lime for squeezing over, and tuck in.

View File

@ -1,13 +1,9 @@
---
servings: 2
---
Mix well @minced meat{550%g}, @carrots{6%medium} grated half on big and half on small, @rice{1/2%cup}, @salt{1/2%tbsp}.
Stuff @bell peppers{12%medium} with the mix.
Freeze.
To cook, mix @carrots{3%medium} grated on big, @sour cream{2%tsp} and @tin tomatoes{1%can}. Put stuffed peppers.
To cook, mix @carrots{3%medium} grated on big, @sour cream{2%tsp} and @tinned tomatos{1%can}. Put stuffed peppers.
Add @water to cover 2/3 of peppers. Bring to boil. Reduce power and keep boiling for ~{40%min}.

View File

@ -1,48 +0,0 @@
==Day 1==
Breakfast:
- @./Breakfast/Smoothie bowl{1} with @chia seeds{1%tbsp} and @fresh berries{1/2%cup}
- @green tea{1%cup}
Lunch:
- @./Lunches/Salmon steak on a bed of courgettes{1}
- @./Salads/Caprese{1%serving} with @extra virgin olive oil{1%tbsp}
- @water{1%glass}
Dinner:
- @./Dinners/Bream baked with julienne vegetables{1}
- @steamed broccoli{1%cup} with @lemon{1/2}
- @herbal tea{1%cup}
==Day 2==
Breakfast:
- @./Breakfast/Oats{1} with @fresh fruit{1/2%cup} and @almonds{1%tbsp}
- @water{1%glass}
Lunch:
- @./Soups/Light chicken soup with buckwheat noodles{1%bowl}
- @./Salads/Vinegrette{1%serving}
- @sparkling water{1%glass}
Dinner:
- @./Lunches/Buckwheat noodles with fried tofu{1}
- @mixed greens{1%cup} with @olive oil{1%tbsp} and @lemon juice{1%tbsp}
- @green tea{1%cup}
==Day 3==
Breakfast:
- @./Breakfast/Cheese omelette with vegetables{1}
- @fresh spinach{1/2%cup}
- @water{1%glass}
Lunch:
- @./Soups/Creamy mushroom soup{1%bowl}
- @./Salads/Prawn Evening Salad{1%serving}
- @herbal tea{1%cup}
Dinner:
- @./Lunches/Chicken breast with string beans and bacon{1}
- @steamed vegetables{1%cup}
- @water with lemon{1%glass}

View File

@ -1,3 +0,0 @@
Add all together heh and jjs @spinach, @grated mozzarella{250%g},
@courgettes{2%medium}, @cauliflower,
@broccoli{}, @aubergine{1%medium}, @chicken thighs{800%g}, @chicken fillets{800%g}, @avocado{4%medium}, @rashers, @cherry tomatoes{250%g}, @bell pepper{3%medium}, @feta, @mushrooms{300%g}, @curd cheese{}

View File

@ -1,96 +0,0 @@
-- should be any specific notation or ./ is enough for references?
-- if no quantity it will use default servings {}
-- can use mass in quantity and it will rescale? not possible because of water
-- some dishes can be reused, there's a difference between when we cook and when we eat
-- should it be just a cooking plan?
-- goals: list references to recipes to cook, shop, analyse
-- name: cook plan?
-- multiple dishes go together
-- inline ingredients
-- micro suppliments to main dish to balance out\
--
# Sunday
## Breakfast
- @./Breakfasts/Mexican Burrito{} -- uses default serving
- @./Breakfasts/Mexican Burrito{4} -- uses servings. if file has servings it will calc multiplier, if it hasn't it will just use that number assumeing multipleicator
- @./Breakfasts/Mexican Burrito{1%kg} -- will evaluate multiple based on yield or based on units and densities. if now dencities will error
==Monday==
Breakfast (in a restaruant):
- @./Breakfast/Turkish eggs{1}
- @./Breakfast/Full Irish{1}] with @bread(toasted)
Lunch:
- @./Lunches/Spaghetti carbonara{}
Dinner:
- @Beetroot{2} with @chicken thighs{2}(boiled) --isn't a recipe, just throuw things.
- @./Chicken Broth{1} with @garlic(crashed)
==Tuesday==
Breakfast:
- @./Breakfast/Porrige{2%portions} and @toast{2} with @avocado{1} and @boiled eggs{2}
Lunch:
- @./Dinners/Pelmeni{2}
Dinner:
==Wednesday==
Breakfast:
- @./Breakfast/Smoothie bowl{2}
Lunch:
- @./Dinners/Seafood paella{2}
Dinner:
==Thursday==
Breakfast:
- @./Breakfast/Easy Pancakes{16}
Lunch:
- @./Dinners/Sicilian-style Scottadito Lamb Chops{2}
Dinner:
==Friday==
Breakfast:
- @./Breakfast/Easy Pancakes{16}
Lunch:
- @./Dinners/Stuffed Peppers{2}
Dinner:
==Saturday==
Breakfast:
@./Breakfast/Easy Pancakes{16}
Lunch:
@./Dinners/Uzbek Lagman{2}
Dinner:
==Sunday==
Breakfast:
@./Breakfast/Irish Breakfast{16}
Lunch:
@./Dinners/Uzbek Manti{2}
Dinner:

View File

@ -1,11 +1,10 @@
---
fast: true
servings: 2
---
Dice @chicken thighs{150%g} and brown them in a wok.
Mix @avocados(sliced), @cherry tomatoes{8}(chopped), @English cucumber{1/4}(sliced) with @salad leaves{100%g}.
Mix @avocado(sliced), @cherry tomatoes{8}(chopped), @English cucumber{1/4}(sliced) with @salad leaves{100%g}.
Add prawns, @extra virgin olive oil{2%tbsp} and mix.

View File

@ -1,17 +1 @@
# Vinegrette
>> A delicious recipe
## Ingredients
- @ingredient{amount}
## Instructions
Step 1: Do something with @ingredient.
Enjoy your meal!
>> Serves: 2
>> Prep time: ~{15%minutes}
>> Cook time: ~{30%minutes}
TODO

View File

@ -1,218 +0,0 @@
building menus
- search top-rated ... recipe
- remember previous days back, record it as a plan
```
cook shopping-list --base-path /Users/alexeydubovskoy/recipes --ingredients-only "Plans/3 Day Plan I.menu" | cargo run -- scrape
```
Starting to scrape 35 products from SuperValu...
Scraping: Bolognese Pasta Sauce
🔗 Navigating to: https://shop.supervalu.ie/sm/delivery/rsid/404/results?q=Bolognese%20Pasta%20Sauce
⏳ Waiting for page to load...
🍪 Handling cookie consent...
🔍 Waiting for products to load...
📦 Found 3 products
✓ Saved shopping data to: "../config/db/bolognese_pasta_sauce/shopping.yml"
✓ Successfully scraped Bolognese Pasta Sauce
cargo run login
🔐 Logging in to SuperValu...
🍪 Handling cookie consent...
🔐 Logging in to SuperValu...
✅ Successfully logged in
✅ Login successful! Cookies saved to: "/Users/alexeydubovskoy/Library/Application Support/shop-automation/supervalu_cookies.json"
You can now use the 'shop' command without logging in each time.
recipes git:(main) ✗ /Users/alexeydubovskoy/cooklang/CookCLI/target/debug/cook -vvv report -t Reports/shopping-list.yaml.jinja -d config/db -p config/pantry.conf "Plans/3 Day Plan I.menu" | shop-automation/target/debug/shop-automation shop - --visible
WARN ⚠️ The report command is a prototype feature and will change in future versions.
TRACE checking auto aisle file: /Users/alexeydubovskoy/recipes/config/aisle.conf
Warning in aisle file: Duplicate ingredient: 'carrots'
Warning in 'Salads/Prawn Evening Salad': Invalid timer quantity: missing unit
Warning: key 'english_cucumber.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'parma_ham.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'bay_leaves.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'beef_mince_5%.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'cheddar_cheese.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'coriander.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'coriander_leaves.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'eggs.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'hake_fillet.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'kefir.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'kiwi.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'lime.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'milk.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'minced_beef.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'pork_mince_10%.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'potatoes.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'radish.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'salad_leaves.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'tomato_purée.shopping.supervalu.opt_2.url' not found in datastore, using empty value
Warning: key 'tortillas.shopping.supervalu.opt_2.url' not found in datastore, using empty value
🛒 Starting shopping automation with 35 items
🌐 Navigating to SuperValu...
🍪 Handling cookie consent...
🍪 Using saved cookies...
✅ Successfully restored session
📅 Please select your delivery slot in the browser.
Once you've selected a delivery slot, press Enter here to continue...
✅ Starting to add items to cart...
📦 [1/35] Processing: English cucumber
Amount needed: 0.5
✅ Added to cart
📦 [2/35] Processing: Parma ham
Amount needed: 2
✅ Added to cart
📦 [3/35] Processing: apples
✅ Added to cart
📦 [4/35] Processing: avocados
Amount needed: 2
✅ Added to cart
📦 [5/35] Processing: bay leaves
Amount needed: 2
✅ Added to cart
📦 [6/35] Processing: beef mince 5%
Amount needed: 400 g
✅ Added to cart
📦 [7/35] Processing: bolognese pasta sauce
Amount needed: 1/2 jar
✅ Added to cart
📦 [8/35] Processing: buffalo mozzarella
Amount needed: 4 balls
✅ Added to cart
📦 [9/35] Processing: carrots
Amount needed: 3
✅ Added to cart
📦 [10/35] Processing: celery
Amount needed: 2 sticks
✅ Added to cart
📦 [11/35] Processing: cheddar cheese
Amount needed: 75 g
✅ Added to cart
📦 [12/35] Processing: cherry tomatoes
Amount needed: 26
✅ Added to cart
📦 [13/35] Processing: coriander
Amount needed: 1 bunch
✅ Added to cart
📦 [14/35] Processing: coriander leaves
⚠️ Item might be out of stock
📦 [15/35] Processing: cotton pads
Amount needed: 2
✅ Added to cart
📦 [16/35] Processing: dates
✅ Added to cart
📦 [17/35] Processing: eggs
Amount needed: 9 large
✅ Added to cart
📦 [18/35] Processing: hake fillet
Amount needed: 2
✅ Added to cart
📦 [19/35] Processing: kefir
Amount needed: 2
✅ Added to cart
📦 [20/35] Processing: kiwi
✅ Added to cart
📦 [21/35] Processing: lime
✅ Added to cart
📦 [22/35] Processing: milk
Amount needed: 0.4 cup
✅ Added to cart
📦 [23/35] Processing: minced beef
Amount needed: 200 g
⚠️ Item might be out of stock
📦 [24/35] Processing: pork mince 10%
Amount needed: 400 g
✅ Added to cart
📦 [25/35] Processing: potatoes
Amount needed: 0.8 kg
✅ Added to cart
📦 [26/35] Processing: radish
Amount needed: 12
✅ Added to cart
📦 [27/35] Processing: roast beef
Amount needed: 900 g
✅ Added to cart
📦 [28/35] Processing: salad leaves
Amount needed: 160 g
✅ Added to cart
📦 [29/35] Processing: smoked salmon
Amount needed: 2
✅ Added to cart
📦 [30/35] Processing: sour cream
Amount needed: 12 tbsp
✅ Added to cart
📦 [31/35] Processing: sourdough bread
Amount needed: 2 slice
✅ Added to cart
📦 [32/35] Processing: tomato purée
Amount needed: 2 tbsp
✅ Added to cart
📦 [33/35] Processing: tomatoes
Amount needed: 2 large
✅ Added to cart
📦 [34/35] Processing: tortillas
Amount needed: 6 large
✅ Added to cart
📦 [35/35] Processing: yogurt biscuits
Amount needed: 3
✅ Added to cart
============================================================
📊 SHOPPING SUMMARY
============================================================
✅ Successfully added: 33 items
❌ Failed to add 2 items:
- coriander leaves
- minced beef
============================================================
🛒 Browser is ready for checkout.
Review your cart and complete your purchase.
Press Enter here when you're done to close the browser...
✅ Shopping session complete!

View File

@ -1,17 +1 @@
# Oblepikha Kompot
>> A delicious recipe
## Ingredients
- @ingredient{amount}
## Instructions
Step 1: Do something with @ingredient.
Enjoy your meal!
>> Serves: 2
>> Prep time: ~{15%minutes}
>> Cook time: ~{30%minutes}
TODO

View File

@ -1,19 +1,16 @@
supervalu:
opt_2:
name: SuperValu Red Onions
url: https://shop.supervalu.ie/sm/delivery/rsid/404/product/supervalu-red-onions-750-g-id-1258724002
price: €1.05
price_per_unit: €1.40/kg
quantity: 750 g
opt_3:
name: Loose Brown Onion
url: https://shop.supervalu.ie/sm/delivery/rsid/404/product/loose-brown-onion-1-kg-id-1036706000
price: €2.89/kg
price_per_unit: €2.89/kg
quantity: 1 kg
opt_1:
name: SuperValu Brown Onions
url: https://shop.supervalu.ie/sm/delivery/rsid/404/product/supervalu-brown-onions-750-g-id-1017016001
price: €1.05
price_per_unit: €1.40/kg
quantity: 750 g
name: SuperValu Mild Onions (3 Piece)
url: https://shop.supervalu.ie/sm/delivery/rsid/404/product/supervalu-mild-onions-3-piece-id-1068150000
price: €1.49
price_per_unit: €0.50 each
opt_2:
name: Supervalu Onions Net (750 g)
url: https://shop.supervalu.ie/sm/delivery/rsid/404/product/supervalu-onions-net-750-g-id-1258724000
price: €0.99
price_per_unit: €1.32/kg
opt_3:
name:SuperValu Red Onions (750 g)
url: https://shop.supervalu.ie/sm/delivery/rsid/404/product/supervalu-red-onions-750-g-id-1258724002
price: €0.99
price_per_unit: €1.32/kg

View File

@ -1,27 +1,19 @@
# high-freq first
# todo fix aliases
water = "unlim"
"sourdough bread" = "some"
"eggs" = "15"
"yogurt biscuits" = "4"
[fridge]
parmesan = "100%g"
butter = "50%g"
# veg
"English cucumber" = "1"
"carrots" = "500%g"
"radish" = "100%g"
[pantry]
# vegs
garlic = "3"
"garlic clove" = "3"
# "red onion" = "3"
# "onion" = "3"
"red onion" = "3"
"onion" = "3"
# grains
rice = "2%kg"
@ -30,11 +22,11 @@ oats = "1%kg"
buckwheat = "2%kg"
# tins
"tin tomatoes" = "2%cans"
"cannellini beans" = "2%cans"
# "tin tomatoes" = "2%cans"
# "cannellini beans" = "2%cans"
# sauces
"extra virgin olive oil" = "50%g"
# "extra virgin olive oil" = "50%g"
"olive oil" = "1%l"
"oil" = "1%l"
"balsamic glaze" = "50%g"
@ -50,12 +42,9 @@ salt = "1%kg"
"sea salt" = "1%kg"
"black pepper" = "200%g"
"pepper" = "200%g"
"cayenne pepper" = "50%g"
"nutmeg" = "50%g"
"smoked paprika" = "50%g"
"ground cumin" = "50%g"
"flux seeds" = "50%g"
"sesame seeds" = "50%g"
[teas]
tea = "50%bags"