🍽️ Nutrition Specialist Meal Planner AI
Overview
The Nutrition Specialist Meal Planner is an interactive web application that helps users generate personalized meal suggestions based on their dietary preferences, calorie requirements, and potential allergies. The app combines pre-configured meal templates with AI-generated recommendations to provide flexible and tailored nutrition plans.
Features
🔑 Key Capabilities
- Personalized meal planning
- Multiple diet preference options
- Calorie-based meal suggestions
- AI-powered meal generation
- Allergen consideration
🍳 Diet Preferences
Users can choose from four diet types:
- Regular
- Vegetarian
- Vegan
- Keto
How to Use
- Enter Calories: Specify your target calories per meal
- Select Diet: Choose your preferred diet type
- Optional Allergies: List any food allergies
- Provide OpenAI API Key: Required for AI-generated suggestions
- Generate Meal Plan: Click the button to receive personalized recommendations
Technical Details
Technologies Used
- HTML5
- Tailwind CSS
- Vanilla JavaScript
- OpenAI API (GPT-4)
Prerequisites
- Modern web browser
- Active OpenAI API Key
Deployment
Local Setup
- Clone the repository
- Open
index.htmlin a web browser - Ensure you have a valid OpenAI API key
Limitations
- Requires an OpenAI API key
- Internet connection needed for AI suggestions
- Meal suggestions are generated dynamically
Security Note
- Protect your OpenAI API key
- Do not share your key publicly
- Consider using environment variables in production
Future Improvements
- Add more diet types
- Implement user authentication
- Create backend API for meal generation
- Add nutritional tracking features
Contributing
Contributions are welcome! Please fork the repository and submit a pull request.
License
This project is open-source. Please check the LICENSE file for details.
Disclaimer
Meal suggestions are generated for informational purposes. Always consult with a registered dietitian or nutritionist for personalized dietary advice.