Skip to main content

Recipe Box

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

  1. pip install recipe-box

  2. 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.

Acknowledgements

Recipe Box was inspired by Jay Goel's plainoldrecipe.

Recipe Box wouldn't be possible without hhursev's recipe-scrapers.

Contributors

License

Recipe Box is licensed under the MIT license.

Metadata

Release files for recipe-box 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for recipe-box 0.1.3
File Size Uploaded Provenance Actions
recipe_box-0.1.3.tar.gz 10.9 kB Without provenance Details for recipe_box-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for recipe-box 0.1.3
File Interpreter ABI Platform Actions
recipe_box-0.1.3-py3-none-any.whl Python 3 none any Details for recipe_box-0.1.3-py3-none-any.whl

Total release size: 19.9 kB

Release files / recipe_box-0.1.3.tar.gz

Download URL recipe_box-0.1.3.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f02a8186fe8739626d42462bff47d67bc0acd660c7e31f782edba49b8ba4a54d
BLAKE2b-256 checksum
How to use checksums
2a46cb1d74d199015fa47a0f9e09fcd4b54b87a2a6ab2cfadb93fb31aa26c4ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

Release files / recipe_box-0.1.3-py3-none-any.whl

Download URL recipe_box-0.1.3-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1148f35a32d1146fc942f02d36ace8bf9a13f3d4f46584e94a1e1482d9b60298
BLAKE2b-256 checksum
How to use checksums
3c3193e4cc87ea61cb7efb089cd96c916cee3ed47f6705ddb26d6ee83473d7a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.1

Security for recipe-box 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page