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.
- Personalized meal planning
- Multiple diet preference options
- Calorie-based meal suggestions
- AI-powered meal generation
- Allergen consideration
Users can choose from four diet types:
- Regular
- Vegetarian
- Vegan
- Keto
- 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
- HTML5
- Tailwind CSS
- Vanilla JavaScript
- OpenAI API (GPT-4)
- Modern web browser
- Active OpenAI API Key
- Clone the repository
- Open
index.html
in a web browser - Ensure you have a valid OpenAI API key
- Requires an OpenAI API key
- Internet connection needed for AI suggestions
- Meal suggestions are generated dynamically
- Protect your OpenAI API key
- Do not share your key publicly
- Consider using environment variables in production
- Add more diet types
- Implement user authentication
- Create backend API for meal generation
- Add nutritional tracking features
Contributions are welcome! Please fork the repository and submit a pull request.
This project is open-source. Please check the LICENSE file for details.
Meal suggestions are generated for informational purposes. Always consult with a registered dietitian or nutritionist for personalized dietary advice.