Skip to content
Snippets Groups Projects
asterix's avatar
Asterix authored
2920cc7c
History

UDSSR - Unsere deliziösen SuppenSamstag Rezepte

Was kommt in eine gute Suppe für den Suppensamstag?

kauft halt karotten, kartoffeln, tofu und nen bissl krams

nen bissl krams

"nen bissl krams" kann sehr unterschiedlich sein. UDSSR hilft dir beim Ausrechnen, was nen bissl krams genau ist.

usage

udssr [options]

options: noch keine

Kochalgorithmus

  1. Für eine Suppe entscheiden
  2. Zutaten einkaufen gehen
  3. Zutaten abwaschen und in kleine Stücke schnippeln
  4. Alles in den großen Topf werfen
  5. Bier trinken
  6. Wasser in den Topf kippen
  7. Topf auf die Platte stellen und heiß machen
  8. Tschunk trinken
  9. Platte ausstellen und Suppe essen

stewfiles

Receipts are written as .md files in /stews and describe an amount of 20 liters Each attribute value is read from the lines after ## attribute The default attribute reading is description. Therefore a description of the stew can be written at the beginning of the file without writing ## description before. Attributes can be set multiple times (but that's not fancy).

The attributes are:

  • name: string, the name of the soup
    • is by default the filename (without file extension)
    • is set to h1 text (chars of a line after "# ")
  • description: optional string, a description of the soup
  • ingredients: list of strings, nen bissl krams that is thrown into the pot
  • additions: optional list of strings, stuff that can be eaten with the stew
  • picture: optional image, a picture of the stew
    • /stews/name.png is used by default if exists
    • is a string containing a path relative to the project root
    • markdown Inline-style should be used
    • if no image is found, stew/eowyns.png is used instead
  • notes: optional string, describes specialities
  • tastyness: optional number, a value describing how tasty the stew is (default is 42)

lists of things are written as lists in markdown ("* listitem").
strings are just text.

Cookbook

A cookbook containing all receipts in stews/ (except eowyns) can be build.

buildcookbook.sh

This outputs to cookbook.pdf in project root.

todo

  • improve python code
    • read options
    • objectify stews in python code
    • scaling amount of stew
    • show picture of stew
    • build a neural net to generate a stewpicture with ingredients as input
    • blacklist based on stewtags/ingredients
    • generate shopping list and calculate estimated costs
  • complete translations de/en
    • documentation
    • stew receipts
  • improve stewfile schema
    • more configurable stew attributes
    • metadata of stews
  • stewtags
    • seasonal stews
    • vegan/non-vegan etc stews
    • search stews by ingredients/tags
  • export receipts to a cookbook.pdf (with pandoc)