Add cost / price data and calculations for ingredients #2996
andrewvaughan
started this conversation in
Feature Request
Replies: 2 comments 1 reply
-
Hi, thanks for the interest in mealie.
With all this I don't see us implementing this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have a custom script that does this and as mentioned above, a lot more plays a part in this than you'd at first realized. My own script took several weeks to get right. A first step could be for unit conversions, but even just that step is not trivial |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Please provide a concise description of the problem that would be addressed by this feature.
For ingredient data, it would be extremely useful to be able to record the cost/price per unit of an ingredient, and thus provide an estimated cost of a recipe (per-serving and per-cook) in each recipe.
There's even API integrations out there that might make this super easy for users (letting them use their own keys, of course). These could also be used to automatically look up nutrition information and improve that capabilitiy:
https://developer.edamam.com/food-database-api
Related - it seems to make sense to me that unit type would be a 1-to-1 (or, at minimum, 1-to-many) relationship with each ingredients, and not necessarily inputted at the recipe stage. If a recipe calls for a different unit (e.g., mass instead of volume, SI instead of Metric), these are all able to be converted using common data like densities and basic conversion math. I think an idea of "Convention over Configuration" would go a long way in allowing better integrations and capability rollout, such as price per unit, but I'm going down a rabbit hole.
Please provide a concise description of the feature that would resolve your issue.
Let me tell you that bananas are $0.69 cents each and that the cream I buy is $4.20 per liter.
For advanced maths, incorporate an API that looks up the average cost of milk per gallon in the area I live. Fancy!
Please consider and list out some caveats or tradeoffs made in your design decision
Allowing users to use any unit they wish at any time in the recipe entry screen gets messy.
Additional Information
Beta Was this translation helpful? Give feedback.
All reactions