Start with your ingredients
Enter ingredients and seasonings, choose a cuisine, and set servings and an optional cooking-time limit. Input validation catches empty entries and invalid values.
Independent project · Console application
Turn what’s in your kitchen into ideas for your next meal.
I built this C# application to suggest recipes from available ingredients and cooking preferences. It connects to OpenAI, validates the structured response, and presents the result in an interactive console.
Enter ingredients and seasonings, choose a cuisine, and set servings and an optional cooking-time limit. Input validation catches empty entries and invalid values.
Prioritize available ingredients. If the AI reports no match, the app can make one additional request allowing up to three extra ingredients, clearly marking missing items.
Read ingredient quantities, estimated preparation and cooking times, and step-by-step instructions for your requested servings.
Request another recipe or edit individual preferences. Add, delete, or replace ingredients; duplicate additions are skipped. Apply changes or discard them without an API call.
Enter ingredients such as chicken, rice, broccoli, and mushrooms. Choose seasonings, cuisine, servings, and a cooking-time limit.
Review the generated recipe and instructions. Choose “Try another recipe” to request an alternative using the same preferences.
Choose “Edit my preferences” to update your list or cooking settings, then generate a recipe with the changes.
The application separates console interaction, recipe generation, data models, and validation. It uses built-in .NET HTTP and JSON libraries, with no external NuGet packages required.
Working console application, demonstrated locally. The current version supports recipe generation, alternative suggestions, and preference editing during a session.
Read the setup instructions and current limitations on GitHub →