Code Monkey home page Code Monkey logo

chezgpt's Introduction

ChezGPT: What's in your fridge? ๐Ÿณ๐Ÿค–

ChezGPT is an innovative application that leverages the power of ChatGPT and DALL-E to generate creative recipe ideas from a "world-renowned chef". Simply input the ingredients you have on hand, and ChezGPT will suggest unique recipe ideas along with detailed instructions and ingredient lists. See it in action!

App Screenshot

Sample screenshot of ChezGPT in action.

Features ๐Ÿ“‹

  • Meal Time: Choose to make a meal for breakfast, lunch, dinner, or dessert.
  • Ingredient Input: Easily input a list of ingredients you have available in your fridge or pantry.
  • Recipe Ideas: Choose between 5 AI-powered recipe ideas based on your ingredient list.
  • Recipe Generation: Recieve step-by-step instructions and a full ingredient list to make your meal.
  • Print: Print the recipe to take with you to the kitchen, or save as a PDF for later.

Technologies Used ๐Ÿ’ป

  • Language: C#
  • Framework: .NET 7
  • Web: Blazor/WebAssembly
  • IDE: Visual Studio

Setup and Installation ๐Ÿ› 

Prerequisites

Steps

  1. Open Visual Studio
  2. Go to Git > Clone Repository
  3. Enter this in the URL: https://github.com/Augnos/ChezGPT.git and select a Target Folder. Then press Clone.
  4. Right-click AiChef.Server in the solution, and add your OpenAI API Key
{
    "OpenAi:OpenAiKey": "Your-API-Key-Here"
}
  1. Run the build, and enjoy!

Usage ๐Ÿด

Enter the ingredients you have on hand into the input field and click the "Generate" button. ChezGPT will then provide a list of potential recipes. Click on a recipe to view detailed instructions and the ingredient list.

Code Structure ๐Ÿ“

  • AiChef.Client: Pages holds Razor components and CSS files used to build pages. Shared contains Razor Components and templates. wwwroot holds static files.
  • AiChef.Server: Houses the logic for interacting with ChatGPT and DALL-E API. Sample data can be accessed in Controllers/RecipeController, to not call API and spend unnecessarily during development.
  • AiChef.Shared: Common components and utility functions.

License ๐Ÿ“„

This project is licensed under the MIT License.

Contact & Authorship โœ๏ธ

ChezGPT was developed by Joshua Valdez. For any questions, feedback, or suggestions, please reach out at [email protected].

Acknowledgments ๐Ÿ™Œ

Special thanks to:

  • OpenAI for ChatGPT and DALL-E.
  • Coder Foundry, for building the AI Chef Blazor course, and providing the instruction that lead to ChezGPT.
  • The Blazor community for their valuable resources and support.

Future Plans ๐Ÿ’ญ

  • Provide user accounts to save favorite recipes.
  • Allow rating and reactions to other users' generated recipes(?)

chezgpt's People

Contributors

augnos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.