Skip to content

48hour-solutions/nutri-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 

Repository files navigation

NutriSnap πŸ₯—

NutriSnap is an intelligent nutrition tracker that leverages Generative AI to provide effortless meal logging and deep dietary insights.


Key Features

Feature Description
πŸ“Έ AI Food Recognition Instantly log meals by taking a photo. The AI identifies the food, lists the ingredients, names the meal, and estimates its full nutritional profile.
🧾 Label & Receipt Scanner Digitize nutrition labels or receipts with your camera. The AI extracts product names, ingredients, and precise nutritional data, handling complex layouts with accuracy.
🏷️ Dynamic Meal Badges Get at-a-glance insights with AI-generated, color-coded badges (e.g., "High Protein," "High Fat") that summarize the key characteristics of each meal.
🧠 Personalized Insights Receive actionable dietary advice from an AI that analyzes your eating habits over the day, week, or month, identifying trends and areas for improvement.
πŸ““ Interactive Meal Journal View a clean, compact list of your logged meals. Click any entry to expand a detailed view with a full nutritional breakdown and AI-generated badges.
πŸ—‘οΈ Meal Management Easily manage your journal by deleting entries as needed. All data is securely persisted.

AI Integration

NutriSnap is powered by a suite of specialized AI flows built with Genkit:

AI Flow Description
recognizeFoodFromImage Visually identifies a meal from a photo, determines its ingredients, and suggests a name.
readNutritionLabel Performs high-precision OCR on nutrition labels and receipts. It intelligently extracts data, understands layout context, and is trained to omit uncertain information to prevent errors.
estimateNutritionalValues Calculates a detailed nutritional breakdown (calories, protein, carbs, fat) based on a list of ingredients, whether from food recognition or a receipt.
generateMealBadges Analyzes the complete nutritional profile of a meal to generate 1-3 insightful, color-coded badges that summarize its health impact.
generateDietaryInsights Acts as a virtual dietitian, analyzing aggregated meal data over time to provide personalized feedback and recommendations.

UI & UX Highlights

  • ✨ Clean & Modern Interface: Built with ShadCN/UI and Tailwind CSS for a professional and intuitive user experience.
  • πŸ“± Fully Responsive: The layout adapts seamlessly from desktop to mobile devices.
  • πŸš€ Optimized Performance: Leverages Next.js App Router and Server Components for fast load times and a smooth experience.
  • πŸ”” Non-Intrusive Feedback: Uses toasts for important notifications and errors without disrupting the user flow.
  • πŸ’Ύ Persistent State: Meal data is saved locally, ensuring your journal is always up-to-date when you return.

Showcase

image image image image image

About

AI Powered Meal Journal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors