Recipe Rescue: Connecting Food Banks with Communities
Inspiration
Food insecurity affects millions of Americans, with many people living in "food deserts" without easy access to nutritious food. Meanwhile, food banks often have abundant resources that go unused because people don't know what recipes they can make with available ingredients that don't intuitively go together.
Our team was inspired to bridge this gap after members had experience volunteering at local food banks and witnessing two common issues:
- Clients uncertain about what to cook with available ingredients
- Food bank donors lacking visibility into what's needed most in their communities
Recipe Rescue was born from a simple question: What if technology could connect what's available at food banks with the meals people want to make?
What It Does
Recipe Rescue is a web platform that connects food-insecure communities with local food banks through recipe matchmaking. Our solution has four key components:
- Home Page: Users enter their location to begin their journey.
- Find Food Banks: Users discover nearby food banks and view their current inventory.
- Recipe Match: Users enter a recipe they want to make and see which ingredients are available at food banks, with suggested substitutions for unavailable items.
- Food Bank Dashboard: Food banks manage their inventory, track client needs, and see which recipes are most requested.
- AI-Powered Recipe Substitution: Using Meta's Llama 3.3 LLM and Python, we've created an advanced recipe transformation engine that can suggest creative, nutritionally similar substitutions beyond our basic database.
The heart of our platform is the recipe transformation engine, which analyzes ingredients and suggests food bank-friendly substitutions. For example, if someone wants to make vegetable pasta primavera but fresh asparagus isn't available, our system might suggest using canned green beans instead.
How We Built It
We built Recipe Rescue as a Flask web application with:
- Python backend for inventory management and recipe transformation
- HTML/CSS frontend for an accessible, mobile-friendly interface
- A custom-built ingredient substitution database focused on shelf-stable alternatives typically found in food banks
- Selenium for scraping the recipe ingredients and instructions
- JavaScript for dynamic inventory management
- Meta's Llama 3.3 integration for AI-powered recipe suggestions when standard substitutions aren't available
Our recipe transformation algorithm considers:
- Recipe feasibility when suggesting substitutions
- Cost savings for users
- Shelf stability and availability at food banks
The AI component allows us to handle edge cases and unusual ingredients by generating creative substitutions based on flavor profiles, textures, and cooking methods, expanding beyond our static database.
Challenges We Faced
Building Recipe Rescue in just one day presented significant challenges:
- Data Limitations: Creating a comprehensive substitution database that reflects real food bank inventories required research and domain knowledge.
- Algorithm Complexity: Developing a recipe parser that could handle various recipe formats and identify suitable substitutions was technically challenging.
- User Experience: Designing an interface that works for both tech-savvy users and those with limited digital literacy required careful consideration.
- AI Integration: Implementing Llama 3.3 within our time constraints required careful prompt engineering to ensure suggestions were practical and food bank appropriate. Also that reasoning isn't too verbose.
- Real-World Integration: While we've built a functional prototype, connecting with actual food bank inventory systems would require additional integration work.
What We Learned
Through this hackathon, we gained:
- Deeper understanding of food insecurity challenges
- Technical skills in recipe parsing and inventory management
- Experience integrating AI models for practical applications
- Insights into food bank operations and constraints
- Experience building accessible user interfaces for diverse users
What's Next for Recipe Rescue
With more time and resources, we plan to:
- Expand our substitution database with input from nutritionists
- Fine-tune our AI model with food bank-specific training data
- Add recipe recommendations based on available ingredients
- Implement multi-language support for diverse communities
- Create a mobile app for easier access
- Partner with food banks for real inventory integration
- Add community recipe sharing features
Recipe Rescue demonstrates how technology can address food insecurity by connecting resources with needs in a practical, dignified way. By making the most of what's available, we hope to alleviate hunger and empower communities to eat well regardless of economic circumstances.
Log in or sign up for Devpost to join the conversation.