A Smart Grocery Management & Recipe Discovery iOS App
Zesto is a sophisticated iOS application that transforms the way users approach grocery shopping and culinary planning. By leveraging cutting-edge artificial intelligence, computer vision, and machine learning technologies, Zesto delivers an intelligent ecosystem that streamlines inventory management, automates receipt processing, and provides personalized culinary insights. The app seamlessly integrates advanced OCR capabilities with AI-powered analysis to create a comprehensive solution for modern households seeking efficiency, sustainability, and culinary inspiration in their daily food management routines.
- AI-Powered OCR: Advanced text recognition using Apple's Vision framework
- Receipt Parsing: OpenAI GPT-3.5 integration for intelligent item extraction
- Automatic Categorization: Smart classification into 12 food categories
- Camera & Gallery Support: Scan receipts or upload existing images
- Real-time Tracking: Monitor food items, quantities, and expiration dates
- Smart Categorization: Organize items by type (Fruit, Vegetable, Dairy, Meat, etc.)
- Search & Filter: Find items by name, price, quantity, or category
- SwiftData Integration: Persistent local storage with modern iOS data management
- Personalized Recommendations: AI-driven recipe suggestions based on inventory
- Dietary Preferences: Support for vegetarian, vegan, gluten-free, and 20+ dietary restrictions
- Recipe Details: Complete ingredients, instructions, and nutritional information
- Meal Planning: Discover recipes that use ingredients you already have
- Location Services: Find nearby grocery stores using MapKit
- Store Information: View store details, ratings, and directions
- Search Functionality: Search for specific stores or chains
- Real-time Navigation: Get directions to your preferred stores
- Chat Interface: Interactive AI chat for grocery-related questions
- Inventory Insights: Get recommendations based on your current food items
- Shopping Lists: AI-powered shopping list generation
- Contextual Help: Personalized assistance for meal planning and shopping
- Firebase Authentication: Secure user login and registration
- Profile Customization: Set dietary preferences, allergies, and restrictions
- Data Sync: Cloud-based data synchronization across devices
- Privacy-First: Local data storage with optional cloud backup
- SwiftUI: Modern declarative UI framework
- MVVM Pattern: Clean separation of concerns with ViewModels
- Environment Objects: Efficient state management across views
- Navigation Stack: Intuitive app navigation with deep linking
- Firebase: Authentication, Firestore database, and cloud storage
- OpenAI API: GPT-3.5 integration for intelligent text processing
- Apple Vision Framework: Advanced image processing and OCR
- SwiftData: Modern iOS data persistence framework
- MapKit: Location services and mapping functionality
- InventoryItem: Food item management with categories and pricing
- RecipeModel: Recipe data structure with ingredients and instructions
- ShoppingListItem: Shopping list management with checkboxes
- UserModel: User profile and dietary preferences
- iOS 17.0+
- Xcode 15.0+
- Swift 5.9+
- Apple Developer Account (for device testing)
-
Clone the repository
git clone https://github.com/yourusername/Zesto.git cd Zesto -
Install dependencies
- Open
Zesto.xcodeprojin Xcode - Ensure all required frameworks are linked
- Open
-
Configure Firebase
- Add your
GoogleService-Info.plistto the project - Configure Firebase in your Firebase console
- Add your
-
Set up OpenAI API
- Create a
secrets.plistfile with your OpenAI API key - Add it to the project bundle
- Create a
-
Build and run
- Select your target device or simulator
- Press
Cmd + Rto build and run
- Firebase: For authentication and cloud services
- OpenAI: For intelligent receipt parsing and chat assistance
- Google Maps: For location services (included in Firebase)
From left to right: Home Dashboard, Receipt Scanning, Inventory Management, Recipe Discovery, Shopping List, Store Locator, AI Chat Assistant, and User Profile
// Configure Firebase in ZestoApp.swift
init() {
FirebaseApp.configure()
}// Add your API key to secrets.plist
// The app will automatically load it for receipt processing<!-- Add to Info.plist -->
<key>NSLocationWhenInUseUsageDescription</key>
<string>This app uses your location to show nearby grocery stores.</string>- Track kitchen inventory and reduce food waste
- Discover new recipes using available ingredients
- Plan shopping trips efficiently
- Monitor dietary restrictions and allergies
- Get personalized recipe recommendations
- Track nutritional intake and meal planning
- Quick receipt scanning and expense tracking
- Automated shopping list generation
- Time-saving meal planning
- Local Data Storage: Primary data stored locally using SwiftData
- Secure Authentication: Firebase Auth with industry-standard security
- API Key Protection: Sensitive keys stored in secure configuration files
- User Consent: Clear permission requests for camera and location access
We welcome contributions! Create a pull request to submit your changes.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Apple: For Vision framework and SwiftUI
- OpenAI: For GPT-3.5 API integration
- Firebase: For backend services and authentication
- The Meal DB: For recipe data and inspiration
Built with ❤️ using SwiftUI and modern iOS technologies
Zesto - Making grocery shopping smarter, one receipt at a time.







