Recued
Menu
← Back to recipes

What can I cook with this?

by recued-core v2 34 views

Use “What can I cook with this” in Recued. Name an ingredient and get dishes that use it, with the full ingredient list for one of them.

How it works 21 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (21 steps)
■ raw trim
Trim whitespace from setting ingredient
■ ingredient_required template
Generate text from a template
fail: step.raw is_empty
■ term replace
Replace text in raw
◆ listing recued-core.themealdb.meal.by_ingredient
By ingredient meal on themealdb
■ dishes default
Apply default
■ dish_count count
Count items in dishes
■ any_required template
Generate text from a template
fail: step.dish_count equal 0
■ dish_rows map
Extract from each item
■ first_id default
Apply default
◆ detail recued-core.themealdb.meal.read
Read meal on themealdb
skip: step.first_id is_empty
■ slots default
Apply default
■ used filter
Filter by condition
■ used_count count
Count items in used
■ last_slot max_by
Find the maximum by slot
■ deepest default
Apply default
■ card to_summary
Format results as a summary card
■ ingredient_table to_table
Format results as a data table
■ dish_table to_table
Format results as a data table
skip: step.dish_count less 2
■ instructions template
Generate text from a template
■ expand_note template
Generate text from a template
skip: step.dish_count less 2
■ slot_note template
Generate text from a template
▼
Output
summary card
table ingredient_table
text instructions
table dish_table
text expand_note
text slot_note
Settings 1 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

ingredient setting =

Uses (2 operations)

Pack operation By ingredient meal on themealdb recued-core.themealdb.meal.by_ingredient
Pack operation Read meal on themealdb recued-core.themealdb.meal.read

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Themealdb connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

themealdb themealdbrecipescookingfoodingredientsread-onlypack:themealdb

Details

21 steps 1 configurable settings recipe_id: find-recipe-themealdb