Inspiration
The idea for Grocify came from a simple yet frustrating daily problem: cooking from online recipes. We'd find amazing recipes on YouTube, Instagram, or food blogs, but then came the tedious part - manually writing down ingredients, estimating quantities, and organizing a grocery list. We often forgot items, bought duplicates, or wandered aimlessly through aisles trying to remember what we needed. We realized that while the internet made finding recipes effortless, it made grocery shopping chaotic. Grocify was born to bridge this gap - transforming any online recipe into a smart, organized grocery list instantly.
What it does
Grocify is an AI-powered iOS app that turns any recipe from any platform (YouTube, Instagram, TikTok, Facebook, X, or any website) into an intelligently organized grocery list with just a URL paste. Here's what makes it special:
- Universal Recipe Import: Copy a recipe link from anywhere - social media, food blogs, or cooking websites - and Grocify extracts it instantly
- AI-Powered Extraction: Advanced AI automatically identifies ingredients, quantities, units, and cooking instructions from any format
- Smart Categorization: Ingredients are automatically sorted into grocery store aisles (Produce, Dairy, Meat, etc.) for efficient shopping
- Multi-Recipe Management: Combine ingredients from multiple recipes into one consolidated grocery list
- Interactive Shopping Mode: Check off items as you shop, with strikethrough animations and haptic feedback
- Flexible Organization: Sort your list by aisle, recipe, alphabetically, or by recently added items
How we built it
Grocify is built entirely in SwiftUI using modern iOS development practices:
- Architecture: Clean MVVM (Model-View-ViewModel) pattern with a custom routing system for scalable navigation
- Data Persistence: CoreData for local recipe and ingredient storage with real-time updates using NSFetchedResultsController & iCloud Sync across devices
- AI Integration: Custom-built recipe extraction service that leverages AI to parse unstructured recipe content from any source
- Networking Layer: Type-safe network service with custom endpoint configuration and comprehensive error handling
- State Management: Combine framework with @Published properties and async/await for reactive UI updates
- User Experience: Custom animations, haptic feedback system, and loading states for smooth interactions
- Localization: Fully internationalized with centralized string management using NSLocalizedString
- In-App Purchases: RevenueCat integration for subscription management with weekly and monthly plans
- Design System: Custom design tokens (AppColors, AppFonts, AppSpacing) for consistent UI across the app
Tech Stack: Swift, SwiftUI, CoreData, Combine, StoreKit, URLSession, NukeUI (image loading), MijickPopups (custom modals)
Challenges we ran into
Finding a Reliable Extraction Service: One of the biggest hurdles was identifying an extraction service that could handle the diversity of content across platforms. We needed something that could reliably extract data from YouTube videos, Instagram posts, TikTok descriptions, Facebook content, and countless website formats - each with completely different HTML structures and content layouts. Many services failed with certain platforms or returned incomplete data, forcing us to test and evaluate multiple solutions before finding one that delivered consistent results.
LLM Selection & Prompt Engineering: Choosing the right Large Language Model was a critical decision that involved balancing speed, accuracy, and cost. We experimented with multiple LLMs and quickly learned that each model interprets recipe data differently. The real challenge was crafting the perfect prompts - we needed to ask the LLM to transform messy, unstructured recipe text into a precise, machine-readable JSON format with ingredients, quantities, units, and instructions. Getting the LLM to consistently return valid, parseable data formats took countless iterations and careful prompt design.
Cost Optimization Across LLM Services: We faced tough decisions comparing different LLM providers (OpenAI, Anthropic, Google, etc.) and their various models. Each service had different pricing structures, rate limits, and response qualities. Different models from the same provider would return wildly different results for the same recipe. We had to run extensive cost-benefit analyses, testing accuracy rates against API costs per request, to determine which combination offered the best value without compromising user experience.
Data Storage Strategy & Scalability: Deciding on the data persistence layer was crucial. We needed private, secure storage for user recipes and grocery lists without incurring ongoing cloud database costs that could become unsustainable. This led us to CoreData for local-first storage, giving users complete privacy and offline functionality. However, we're aware that as we scale to features like family sharing and cloud sync, we'll need to architect a hybrid solution that balances local storage with cloud infrastructure - a challenge we're preparing for in future iterations.
Accomplishments that we're proud of
99.99% Extraction Accuracy: While APIs handle the heavy lifting, our real achievement is the orchestration - combining extraction services, AI processing, and smart parsing logic to deliver near-perfect accuracy. Taking raw, unstructured recipe content and transforming it into actionable, organized grocery lists is no small feat, and we're proud that it works seamlessly regardless of the source.
Solving Real Daily Problems: We built something genuinely useful that people can take with them while shopping. Knowing that Grocify saves users time, reduces forgotten ingredients, and makes grocery shopping less stressful feels like a meaningful accomplishment. It's not just an app - it's a daily companion that solves a universal frustration.
Privacy-First Approach: By choosing CoreData, we ensured users have complete control over their data. No cloud storage of recipes, no tracking of shopping habits - everything stays on the device, giving users peace of mind.
Seamless Multi-Recipe Management: Successfully implementing the ability to combine ingredients from multiple recipes into one intelligent, consolidated grocery list - with smart duplicate handling and aisle organization - represents significant technical achievement.
Beautiful, Native iOS Experience: We didn't just build functionality; we crafted an experience. Smooth animations, haptic feedback, intuitive gestures, and iOS design patterns make Grocify feel like it belongs on an iPhone.
End-to-End Feature Completeness: From onboarding to AI extraction to subscription management, every user journey is polished and functional. We didn't cut corners - we built a complete product.
What we learned
- AI Integration Complexity: Working with unstructured data taught us the importance of flexible parsing algorithms and graceful error handling
- SwiftUI Best Practices: Deep understanding of state management, async operations, and performance optimization in modern iOS development
- User-Centric Design: The importance of focusing on solving one problem exceptionally well rather than adding unnecessary features
- Data Modeling: How to design CoreData relationships that support complex queries while maintaining data integrity
- Iterative Development: The value of building an MVP, testing with real users, and refining based on feedback
- Subscription Economics: Understanding pricing strategies, trial periods, and conversion optimization for mobile apps
What's next for Grocify: AI-Powered Recipe & Grocery Manager
- PDF Support: Import recipes from downloaded cookbooks and PDF files
- Saved Recipe Edit & Update Ingredients: Full editing capabilities to modify recipe titles, instructions, and ingredient lists for saved recipes
- Nutrition Value Calculation: Automatic nutritional information (calories, protein, carbs, fats) per serving and per ingredient
- Custom Cookbooks List: Organize recipes into themed collections (e.g., "Quick Weeknight Dinners", "Holiday Recipes", "Meal Prep")
- Meal Planning Calendar: Weekly meal planner with automatic grocery list generation for the entire week
- Family Sharing: Collaborative grocery lists that sync across household members in real-time
- Smart Substitutions: AI-powered ingredient replacement suggestions based on dietary restrictions or availability
- Recipe Scaling: Automatically adjust ingredient quantities based on number of servings
- Voice Input: Add custom ingredients using Siri voice commands while cooking
- Apple Watch Companion: Check off grocery items directly from your wrist while shopping
Log in or sign up for Devpost to join the conversation.