Skip to content

Navigation Menu

Sign up
codingpogPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

YesChef

YesChef is a React web application that generates personalized recipes based on the ingredients you have on hand. By leveraging AI (DeepSeek/OpenAI API), it suggests creative recipes and displays them in an easy-to-read markdown format.

Features

  • Ingredient Management: Add ingredients you have at home to your list.
  • AI-Powered Recipes: Generate custom recipes using DeepSeek/OpenAI based on your ingredients.
  • Markdown Rendering: Recipes are displayed with rich formatting for easy reading.
  • Modern UI: Built with React and accessible design principles.

Demo

YesChef Screenshot

Getting Started

Prerequisites

  • Node.js (v18+ recommended)
  • npm

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/yeschef.git
    cd yeschef
  2. Install dependencies:

    npm install
  3. Set up your API key:

    • Open src/ai.js
    • Replace <your_api_key_here> with your DeepSeek/OpenAI API key.
  4. Start the development server:

    npm start
  5. Open the app:

Usage

  1. Enter ingredients you have and add them to your list.
  2. Once you have at least four ingredients, click "Get a recipe".
  3. View your AI-generated recipe, formatted for easy reading.

Project Structure

src/
 components/
 Header.jsx
 Main.jsx
 IngredientsList.jsx
 AIRecipe.jsx
 ai.js
 assets/
 chefLogo.png
 App.jsx
 index.js

Technologies Used

  • React
  • OpenAI/DeepSeek API
  • react-markdown

License

MIT


Note: This project is for educational/demo purposes. Remember to keep your API key secure and do not expose it

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /