A React-based web app that helps users create unique recipes based on the ingredients they have. By leveraging AI from Hugging Face Inference, the app suggests a complete recipe once users provide a list of ingredients.
- 📝 Add Ingredients – Users can input ingredients dynamically.
- 🤖 AI-Generated Recipes – Generates a recipe once more than 5 ingredients are added.
- 🎨 TailwindCSS Styling – A modern and responsive UI.
- ⚡ Fast & Interactive – Built with React 19 for seamless performance.
1️⃣ Clone the repository
git clone https://github.com/yourusername/ai-recipe-generator.git
cd ai-recipe-generator2️⃣ Install dependencies
npm install3️⃣ Run the development server
npm run devThe app should now be running at http://localhost:5173 🎉
- React 19 – Modern frontend framework
- TailwindCSS 4 – For styling
- Hugging Face Inference API – AI-generated recipes
- React Markdown – For rendering recipe instructions
"dependencies": {
"@huggingface/inference": "^3.3.6",
"@tailwindcss/vite": "^4.0.8",
"prop-types": "^15.8.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-markdown": "^10.0.0",
"tailwindcss": "^4.0.8"
}This project is open-source and available under the MIT License.
Feel free to fork the repo and submit a pull request!
💡 Found a bug or have an idea? Open an issue!
Developed by Suraj Bhujade 🚀