Re:Show HN: Cinc – GitHub for recipes
by ghayes on Tuesday July 18, 2017 @04:59PM
(#14800027)
My first thought was to remove "Vegan Butter" from the chicken recipe (or move it into a "Dietary Substitutions"), but then I realized my forked recipe would probably just be lost in the void. Maybe the goal of forks should be more akin to pull requests?
[ Parent
| on HN ]
Re:Show HN: Cinc – GitHub for recipes
by colordrops on Wednesday July 19, 2017 @12:47AM
(#14802036)
Seems that "Dietary Substitutions" could be a first-class data type. It would be a named multi-map of one item to another one. So you could create you own "Dietary Substitution Map" named "Nut allergies" or "Halal" or "Vegan", with butter -> canola oil, milk -> soy milk, milk -> almond milk, etc.
Then you could pick the particular substitution map that you care about and avoid forking recipes unnecessarily and have most recipes support most diet types if the proper map exists.
Re:Show HN: Cinc – GitHub for recipes
by keithasaurus on Wednesday July 19, 2017 @01:04AM
(#14802095)
Interesting idea. I can think of a few ways it would get complicated pretty quickly, but it's probably 90% doable without too much effort.