mdrecipe: schema.org recipe to markdown

GitLab Repo License: AGPL v3

I’m a maintainer for recipe scrapers, a python recipe scraping library, and am quick to add new parsers when I want to use a recipe from a new site. As a terminal favouring linux person, I like to store the recipes in markdown and cat them to the screen when needed. Additionally, markdown is easily convertable to other formats. Until I get something like grocy going, this might be the best way to manage recipes across low power devices. Previously, I would use plainoldrecipe.com and then pandoc to convert the recipe to markdown. It’s a solid method and I even have a bash alias to get everything. However, I have some personal disagreements with the design of that website and I see no reason to have to rely on pandoc for something as trivial as this.

With this project I get nearly the same experience while only using python based tools. Additionally, I can easily keep the dependencies up to date to use the neweset parsers.

I’m sure my dependencies could be reduced even further, but I don’t see a good way of doing multi-line templates with python’s stdlib.


Fast Facts

  • First time using jinja and pipenv in a project.