5.6 KiB
Recipe Box
This program takes a recipe URL, scrapes the recipe website, converts it to Markdown format and store it in your local Zettelkasten. I use the free Obsidian Zettelkasten software and re-purpose it as a electronic recipe box.
The user can edit the recipe, fix errors, make notes, rate it, add #tags and backlinks to organise his/her collection.
A recipe box can be a treasure chest, but you have to put in some effort.
The idea is not to have the biggest collection of recipes, but to have the most valuable one. The one with the recipes you've personally tested and most of your family love.
Since the recipes are stored in simple plain text files it is easy to share with your friends and family, or pass down to the next generation years from now.
In our age when cloud services can shut down, get bought, or change privacy policy any day, the last thing you want is proprietary formats and data lock-in.
With Obsidian, your data sits in a local folder. Never leave your life's work held hostage in the cloud again.
Plain text Markdown also gives you the unparalleled interoperability to use any kind of sync, encryption, or data processing that works with plain text files.
You could still backup your recipe collection to a private GitHub repository. You could also convert the Markdown files into a PDF and print a physical book as a personalised gift. You'll need those #tags and backlinks to organise it thou.
Installation
-
pip install recipe-box
-
Install Obsidian to view the pretty recipes ;)
How To Use
First run recipe_box
without parameters to create the config file, $HOME/.config/recipe_box/recipe_box.json
{
"recipe_box": "~/recipe_box/"
}
Here you can customize the name and location of your recipe box.
Then you are ready to download recipes. Search one of the supported sites for a recipe you like, copy the URL.
$ recipe_box https://www.bbc.co.uk/food/recipes/better_for_you_chocolate_83771
Open Obsidian, open vault and point it to your recipe_box.
Supported Recipe Sites
These sites are scraped by the excellent recipe-scrapers library. To add a new recipe site.
- 101cookbooks.com
- allrecipes.com
- archanaskitchen.com
- bbc.co.uk
- bbc.com
- bbcgoodfood.com
- bettycrocker.com
- bonappetit.com
- budgetbytes.com
- closetcooking.com
- cookieandkate.com
- cooking.nytimes.com
- cookpad.com
- cookstr.com
- copykat.com
- countryliving.com
- cybercook.com.br
- delish.com
- en.wikibooks.org
- epicurious.com
- finedininglovers.com
- fitmencook.com
- food.com
- foodnetwork.com
- foodrepublic.com
- geniuskitchen.com
- gonnawantseconds.com
- gousto.co.uk
- greatbritishchefs.com
- healthyeating.nhlbi.nih.gov
- heinzbrasil.com.br
- hellofresh.co.uk
- hellofresh.com
- inspiralized.com
- jamieoliver.com
- justbento.com
- marmiton.org
- matprat.no
- mindmegette.hu
- misya.info
- momswithcrockpots.com
- motherthyme.com
- mybakingaddiction.com
- myrecipes.com
- ohsheglows.com
- panelinha.com.br
- paninihappy.com
- przepisy.pl
- realsimple.com
- receitas.ig.com.br
- ricette.giallozafferano.it
- seriouseats.com
- simplyquinoa.com
- simplyrecipes.com
- southernliving.com
- steamykitchen.com
- tastesoflizzyt.com
- tastykitchen.com
- thehappyfoodie.co.uk
- thekitchn.com
- thepioneerwoman.com
- thespruceeats.com
- thevintagemixer.com
- tine.no
- tudogostoso.com.br
- twopeasandtheirpod.com
- vegolosi.it
- whatsgabycooking.com
- yummly.com