Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extract_recipe #1135

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add extract_recipe #1135

wants to merge 2 commits into from

Conversation

mrtnrdl
Copy link
Contributor

@mrtnrdl mrtnrdl commented Nov 13, 2024

What this Pull Request (PR) does

I've created a pattern that lets you easily extract a recipe from cooking-videos or articles.

Examples:

Spaghetti Carbonara

yt 'https://www.youtube.com/watch?v=D_2DBLAt57c' | fabric --pattern extract_recipe
## Description
Carbonara is a classic Italian pasta dish that features creamy cheese, crispy cured pork, and a hint of pepper. It's a moderately easy dish that takes around 20 minutes to prepare, ideal for a delightful meal with family or friends.

## Ingredients
- 200g pasta
- 100g Guanciale or Pancetta
- 50g Pecorino Romano cheese, grated
- 1 organic free-range egg
- Black pepper, freshly ground
- Salt, to taste
- 1 garlic clove (optional)

## Steps
- Hold the pasta with both hands, twist slightly, and release into boiling salted water. Cook for about 8 minutes.
- Trim the rind off the Guanciale and cut it into 1cm thick slices, then roughly chop into 0.5cm pieces.
- Place Guanciale in a cold pan and heat it over medium-high heat to render the fat.
- Lightly crush the garlic clove and add it to the pan to infuse the oil, then remove it once the Guanciale turns golden.
- Grind black pepper and sift to separate the finer, spicier interior from the milder outer shells.
- In a bowl, beat the egg and mix in about 20g of Pecorino Romano cheese until smooth.
- Once the Guanciale is crispy and the fat has rendered, remove the garlic clove and turn off the heat.
- Add the cooked pasta to the pan along with a splash of pasta water to cool the pan.
- Stir in the egg mixture, adding more pasta water as needed to create a creamy sauce.
- Finish with additional ground black pepper and a sprinkle of Pecorino Romano cheese before serving.

Cheesecake

yt 'https://www.youtube.com/watch?v=dyL8D4MOZd0' | fabric --pattern extract_recipe
## Short Description
This classic cheesecake recipe is simple and can be enjoyed any time of the year. With a buttery shortcrust and a creamy, rich filling, this cheesecake is fresh and light, perfect for any occasion. The preparation involves making a shortcrust pastry and a smooth quark filling, followed by baking to achieve a golden top.

## Ingredients

### For the Shortcrust Pastry
- 200 grams butter
- 70 grams sugar
- 300 grams flour
- 1 teaspoon baking powder
- 1 egg

### For the Quark Filling
- 200 grams whipping cream
- 125 grams soft butter
- 200 grams sugar
- 5 eggs
- 500 grams low-fat quark
- 200 grams sour cream
- 40 grams cornstarch
- 1 packet vanilla aroma

## Steps to Prepare the Meal

- Prepare the shortcrust pastry by mixing butter, sugar, flour, baking powder, and egg until smooth. Knead with hands and refrigerate for about 10 minutes.
- Roll out the dough and place it in a greased and floured baking form, creating a base and sides.
- Prick the base with a fork and refrigerate while preparing the filling.
- Whip the whipping cream and refrigerate.
- Cream butter and sugar, then add eggs one at a time.
- Incorporate quark, sour cream, cornstarch, and vanilla aroma into the mixture.
- Fold the whipped cream into the mixture until smooth.
- Pour the filling into the prepared pastry base.
- Bake at 180 degrees Celsius for about an hour. After 30 minutes, score the edges of the cake to prevent cracking.
- Allow the cheesecake to cool in the oven with the door slightly open.
- Once cooled, serve and enjoy.

@ignacio-arce
Copy link
Contributor

Make sense this instead of create_diy? Can we generalize? or is better to do separate patterns

@eugeis
Copy link
Collaborator

eugeis commented Nov 18, 2024

Please resolve conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants