RecipeReduce
This repo will help you figure out the amount of ingredients to buy for a certain number of meals with selected recipes.
Goal
Cooking is hard. Buying cooking ingredients is even harder, especially for programmers who always want to avoid repetitive work. This repo aims to help you achieve the following goals:
✔ Balance: Planning your meals with balanced meats and veggies, and buy the right amount. Never run out of veggies.
✔ Convenience: Get a shopping list of ingredients with purchase links instead of searching on Amazon each time.
✔ Eco-friendly: No more leftovers and rotten vegetables, and say goodbye to your guilt in discarding them. (Note: this is not true.)
Getting Started
Installation
pip install -e .
Usage
To start, create a menu in desired language (available options: en / zh):
python -m recipe_reduce.menu --fname input.json --lang en
Open input.json
, fill in the number of meals you would like to have for each recipe. Then, run the following command to get the shopping list of ingredients:
python -m recipe_reduce.main --fname input.json --lang en
🌟 Examples
We provide examples in English and 简体中文!
English
简体中文
🍽 More Recipes!
Add a New Recipe
To add a new recipe, take a look at recipe_reduce/recipe_list.py, create and add your own recipe to ALL_RECIPES
.
Add New Ingredients
You might also want to add new ingredents, take a look at recipe_reduce/item_list.py and add your own ingredients. Use bitly to shorten the purchase urls.