Introduction

Comfy Recipes is a program that allows you to create a rich collection of recipes and create a presentable website from them.

Get started

If you don't have comfyrecipes installed yet, please see Installation

  1. write a recipe in a yaml format to myrecipes/recipes/xxxx.yaml, for example

🗎 myrecipes/recipes/pancakes.yaml:

title: Swedish Pancakes
ingredients:
  - 3 piece egg
  - 1.25 cup milk
  - 0.75 cup all purpose flour
  - 1 tablespoon white sugar
  - 1 tablespoon butter
steps:
  - Beat eggs in a bowl until the mixture is smooth.
  - Add milk
  - Mix flour, sugar and salt in a separate bowl
  - Mix together with the egg mixture, mix until it's smooth
  - heat a griddle
  - Drop just enough of the mixture to the griddle to spread to all corners
  - After about a minute, turn the pancake over
  1. run comfyrecipes build myrecipes/ (this will build the website to myrecipes/out/html)
  2. run comfyrecipes serve myrecipes and navigate to http://localhost:8000 (this will run a web server and allow you to see your rendered recipe)