feat: import Simple Chickpea Masala recipe Fixes #1337

This commit is contained in:
nιcнolaѕ wιlde
2026-01-03 12:54:05 -08:00
parent 1257fcf2d9
commit 59fa96c1d1
7 changed files with 102 additions and 5 deletions

View File

@ -62,8 +62,9 @@ This project is a personal recipe collection managed as a documentation site usi
1. **Create the `.cook` file:** Follow the specification in the [Cooklang Specification](#cooklang-specification) section. 1. **Create the `.cook` file:** Follow the specification in the [Cooklang Specification](#cooklang-specification) section.
* **Recipe Name:** Use only the name of the recipe and use your best guess (e.g. `My Best Friends's Mom's Paprikash` -> `Paprikash`). If an existing recipe already exists with the same name, add the name of the recipe author to the new recipe name (e.g. `Paprikash` -> `Jojo's Paprikash`). * **Recipe Name:** Use only the name of the recipe and use your best guess (e.g. `My Best Friends's Mom's Paprikash` -> `Paprikash`). If an existing recipe already exists with the same name, add the name of the recipe author to the new recipe name (e.g. `Paprikash` -> `Jojo's Paprikash`).
* **Unit Abbreviations:** When adding units to the cook recipe file, use the first upper case for tablespoon (e.g. `Tbsp`) and lowercase for teaspoon (e.g. `tsp`). * **Unit Abbreviations:** When adding units to the cook recipe file, use the first upper case for tablespoon (e.g. `Tbsp`) and lowercase for teaspoon (e.g. `tsp`).
* **Time Ranges:** When there is a time range in the `.cook` file, put the longest time inside of a `~{}` block and keep the shortest time outside of the block. Replace the dash with a `to` and add necessary spaces (e.g. `7-8 minutes` -> `7 to ~{8%minutes}`).
* **Ignored Items:** Before tagging an item as an ingredient (with `@`), check `cook/config/ignored_ingredients.yaml`. If the item is listed there, do **not** tag it as an ingredient. * **Ignored Items:** Before tagging an item as an ingredient (with `@`), check `cook/config/ignored_ingredients.yaml`. If the item is listed there, do **not** tag it as an ingredient.
2. **Add the Image:** Download an image from the source, name it the same as the cook file (e.g., `Recipe Name.jpg`), and place it in the same directory as the `.cook` file. 2. **Add the Image:** Download an image from the source, name it the same as the cook file (e.g., `Recipe Name.jpg`), and place it in the same directory as the `.cook` file. If an image cannot be found, use the `nano banana mcp` to create a recipe image.
3. **Run the Move Task:** Execute `FILES=<path/to/cookfile> task move`. This converts the `.cook` file to Markdown, runs spellcheck and link check, and generates the `zensical.toml` mapping entry (copying it to clipboard if possible). 3. **Run the Move Task:** Execute `FILES=<path/to/cookfile> task move`. This converts the `.cook` file to Markdown, runs spellcheck and link check, and generates the `zensical.toml` mapping entry (copying it to clipboard if possible).
4. **Update `zensical.toml`:** Paste the mapping entry generated by the previous step into the correct section of `zensical.toml`. 4. **Update `zensical.toml`:** Paste the mapping entry generated by the previous step into the correct section of `zensical.toml`.
5. **Add Ingredient Emojis:** Update the generated Markdown file by adding emoji shortcodes to each item in the ingredients section (referencing `includes/emoji.yaml`). If an ingredient is missing from `includes/emoji.yaml`, use your best judgement to pick one and update `includes/emoji.yaml` with the new mapping. Ensure that the selected emoji is compatible with mkdocs-material. 5. **Add Ingredient Emojis:** Update the generated Markdown file by adding emoji shortcodes to each item in the ingredients section (referencing `includes/emoji.yaml`). If an ingredient is missing from `includes/emoji.yaml`, use your best judgement to pick one and update `includes/emoji.yaml` with the new mapping. Ensure that the selected emoji is compatible with mkdocs-material.
@ -75,6 +76,16 @@ This project is a personal recipe collection managed as a documentation site usi
* **Update Reference:** If a new conversion is found externally, add it to `docs/reference/measuring.md` for future use. * **Update Reference:** If a new conversion is found externally, add it to `docs/reference/measuring.md` for future use.
* **Exceptions:** Ignore gram conversions for small measurements (e.g., teaspoons, tablespoons) of spices, herbs, and seasonings. * **Exceptions:** Ignore gram conversions for small measurements (e.g., teaspoons, tablespoons) of spices, herbs, and seasonings.
# Issue Triage and Labeling
When reviewing open issues for potential recipes:
1. **Check for Duplicates:** Search the codebase to see if the recipe already exists.
* If it exists, apply the `duplicate` label and add a comment linking to the existing `.cook` file.
2. **New Recipes:** If the recipe is new and valid, apply the `new recipe` label.
3. **Image/PDF Sources:** If the recipe is provided via an image or PDF, ensure it is tracked or processed using the "Recipe from Image" template standards.
4. **Enhancements:** For general improvements or lists (e.g., charts), use the `enhancement` label.
# Cooklang Specification # Cooklang Specification
Recipes in this project are written using the [Cooklang](https://cooklang.org/docs/spec/) specification. Here is a quick reference for creating `.cook` files: Recipes in this project are written using the [Cooklang](https://cooklang.org/docs/spec/) specification. Here is a quick reference for creating `.cook` files:

View File

@ -0,0 +1,11 @@
>> source: Practically Vegan by Nisha Melvani
>> serves: 3
>> total time: 30 minutes
Heat @neutral cooking oil{3%Tbsp} in a #medium skillet{} over medium heat. Add @cumin seeds{1/4%tsp} and @brown mustard seeds{1/4%tsp} and cook for ~{1%minute}, or until the mustard seeds either begin to pop or turn a grayish color. Stir constantly.
Add @yellow onion{1%medium} (finely diced) and cook for ~{5%minutes}, until softened. Add @ground coriander{2%tsp}, @ground cumin{1%tsp}, @ground turmeric{1/4%tsp}, @cayenne pepper{1/8%tsp}, and @finely ground black pepper{1/8%tsp} and cook for ~{30%seconds} more, or until fragrant, stirring constantly. Add @diced tomatoes{1%can (14.5-ounce)} and cook for ~{1%minute}.
Stir in @cooked chickpeas{4%cups} and @water{1/2%cup}. Cover and simmer for ~{10%minutes}. Use a #potato masher{} or the side of a #spatula{} to partially mash about a third of the chickpeas to add some texture to the sauce. Add @unsweetened coconut cream{1%can (14-ounce)} (if using), 2 tablespoons at a time, until the desired texture. Mix well to combine.
Stir in @salt{1%tsp}, @freshly squeezed lemon juice{1%tsp}, and @fresh cilantro{2%Tbsp} (chopped). If desired, serve with @cashew yogurt{} or @Yogurt Drizzle Sauce{} (optional).

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

@ -140,6 +140,7 @@ Boxty
BRAUN BRAUN
Brava Brava
bread-machine bread-machine
breadsticks
Breadsticks Breadsticks
bridgeford bridgeford
Bridgeford Bridgeford
@ -165,6 +166,7 @@ bundt
Bundt Bundt
Buon Buon
Butterfinger Butterfinger
caesar
Caffè Caffè
cakey cakey
Calabaza Calabaza
@ -542,6 +544,7 @@ Marzano
masa masa
Masa Masa
masala masala
Masala
mascarpone mascarpone
Mascarpone Mascarpone
McMillen McMillen
@ -551,6 +554,7 @@ Medjool
Melomakarona Melomakarona
meltable meltable
melty melty
Melvani
meringue meringue
meringues meringues
mexican mexican
@ -581,6 +585,7 @@ Nasi
Negra Negra
Nicoyan Nicoyan
nigella nigella
Nisha
nixtamal nixtamal
Nixtamal Nixtamal
Noël Noël
@ -862,6 +867,8 @@ TSpoons
tsps tsps
Tubinado Tubinado
Tumblerful Tumblerful
Turshen
Turshen's
Twix Twix
tylose tylose
Tyme Tyme
@ -905,7 +912,3 @@ Zeb's
zhoug zhoug
Zhoug Zhoug
Ziti Ziti
Turshen
caesar
Turshen's
breadsticks

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

@ -0,0 +1,71 @@
---
comments: true
tags:
- vegetarian
- main
- indian
---
# Simple Chickpea Masala
![Simple Chickpea Masala][1]{ loading=lazy }
| :fork_and_knife_with_plate: Serves | :timer_clock: Total Time |
|:----------------------------------:|:-----------------------: |
| 3 | 30 minutes |
## :salt: Ingredients
- :olive: 3 Tbsp neutral cooking oil
- :seedling: 0.25 tsp cumin seeds
- :seedling: 0.25 tsp brown mustard seeds
- :onion: 1 medium yellow onion (142 g)
- :curry: 2 tsp ground coriander
- :chestnut: 1 tsp ground cumin
- :curry: 0.25 tsp ground turmeric
- :hot_pepper: 0.13 tsp cayenne pepper
- :salt: 0.13 tsp finely ground black pepper
- :tomato: 1 can (14.5-ounce / 411 g) diced tomatoes
- :beans: 4 cups (680 g) cooked chickpeas
- :droplet: 0.5 cup (114 g) water
- :coconut: 1 can (14-ounce / 397 g) unsweetened coconut cream
- :salt: 1 tsp salt
- :tangerine: 1 tsp freshly squeezed lemon juice
- :herb: 2 Tbsp fresh cilantro
- :baby_bottle: some cashew yogurt
- :baby_bottle: some Yogurt Drizzle Sauce
## :cooking: Cookware
- 1 medium skillet
- 1 potato masher
- 1 spatula
## :pencil: Instructions
### Step 1
Heat neutral cooking oil in a medium skillet over medium heat. Add cumin seeds and brown mustard seeds and cook for 1
minute, or until the mustard seeds either begin to pop or turn a grayish color. Stir constantly.
### Step 2
Add yellow onion (finely diced) and cook for 5 minutes, until softened. Add ground coriander, ground cumin, ground
turmeric, cayenne pepper, and finely ground black pepper and cook for 30 seconds more, or until fragrant, stirring
constantly. Add diced tomatoes and cook for 1 minute.
### Step 3
Stir in cooked chickpeas and water. Cover and simmer for 10 minutes. Use a potato masher or the side of a spatula to
partially mash about a third of the chickpeas to add some texture to the sauce. Add unsweetened coconut cream (if
using), 2 tablespoons at a time, until the desired texture. Mix well to combine.
### Step 4
Stir in salt, freshly squeezed lemon juice, and fresh cilantro (chopped). If desired, serve with cashew yogurt or Yogurt
Drizzle Sauce (optional).
## :link: Source
- Practically Vegan by Nisha Melvani
[1]: <../assets/images/simple-chickpea-masala.jpg>

View File

@ -1191,6 +1191,7 @@ Vegetarian = [
{ "Mushroom Rice Burgers" = "vegetarian/mushroom-rice-burgers.md" }, { "Mushroom Rice Burgers" = "vegetarian/mushroom-rice-burgers.md" },
{ "Quinoa & Veggie Power Bowls" = "vegetarian/quinoa-and-veggie-power-bowls.md" }, { "Quinoa & Veggie Power Bowls" = "vegetarian/quinoa-and-veggie-power-bowls.md" },
{ "Ratatouille Provençale" = "vegetarian/ratatouille-provençale.md" }, { "Ratatouille Provençale" = "vegetarian/ratatouille-provençale.md" },
{ "Simple Chickpea Masala" = "vegetarian/simple-chickpea-masala.md" },
{ "Slow Cooker Indian-Spiced Chickpeas & Red Potatoes" = "vegetarian/slow-cooker-indian-spiced-chickpeas-and-red-potatoes.md" }, { "Slow Cooker Indian-Spiced Chickpeas & Red Potatoes" = "vegetarian/slow-cooker-indian-spiced-chickpeas-and-red-potatoes.md" },
{ "Slow Cooker Red Beans & Rice" = "vegetarian/slow-cooker-red-beans-and-rice.md" }, { "Slow Cooker Red Beans & Rice" = "vegetarian/slow-cooker-red-beans-and-rice.md" },
{ "Slow Cooker Vegetarian Black-Eyed Peas" = "vegetarian/slow-cooker-vegetarian-black-eyed-peas.md" }, { "Slow Cooker Vegetarian Black-Eyed Peas" = "vegetarian/slow-cooker-vegetarian-black-eyed-peas.md" },