- Sarah came up with this idea during a hackathon idea generation session
- Substitution guides are a thing, and so is tfw you want to cook a recipe but you need it to fulfill your dietary restrictions. We wanted to make it easier for cooks to make what they want.
What it does
- This python applet takes in a recipe in .txt format, which must be in the same directory as the applet itself.
- After selecting one of the built-in dietary restriction tweaks or creating your own, the program revises the recipe under whatever tweak you chose.
How we built it
- Stef built the parser from scratch using python
- Sarah built the UI from scratch using python and Zelle's graphics.py library
Challenges we ran into
- How do you format the final recipe into a navigable multi-page format?
- How do you combine parsing with the UI?
- How do you make the replacements you need when .join(), .replace() and other methods act weirdly?
- What additional features would help this applet the most?
Accomplishments that I'm proud of
- We made something that helps people live better
- This is to date the most technically complicated/responsive UI Sarah's made
What I learned
- Whether you have IBS or a gluten allergy, there are substitutions that need to be made for people who live with conditions where they just can't eat whatever
- Sometimes python string methods don't take kindly to long strings, even though you thought they would.
What's next for recipe-tweaker
- Serving size adaptation and easier ratio management are two things we want to add to this but couldn't in time.
- Want this to actually be a real thing that could help people? Let us know, and if there's enough support we will deliver.
Log in or sign up for Devpost to join the conversation.