chandima2000 / ChatGPT-Clone

New Look of the Chat-GPT developed using the OpenAI API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT Clone

A ChatGPT clone full-stack website developed using the MERN stack. This project uses TypeScript for the frontend and integrates the OpenAI API to create a ChatGPT 3.5 clone.

Features

  • Chat Interface: Users can interact with the ChatGPT clone in a chat interface similar to the original ChatGPT.
  • OpenAI API Integration: Utilizes the OpenAI API to generate responses and create a conversational experience.
  • Material UI Styling: Styled using Material UI to provide a clean and modern user interface.
  • React Hot Toast: Displays popup messages using React Hot Toast for user notifications.

Dependencies

Installation

  1. Clone the repository:

    git clone https://github.com/chandima2000/chatgpt-clone.git
    
  2. Install dependencies:

    cd chatgpt-clone
    npm install
    
  3. Create a .env file in the root directory with your OpenAI API key:

    OPENAI_API_KEY=your-api-key
    
  4. Start the development server:

    npm start
    

Usage

  • Start by typing a message in the chat interface.
  • The ChatGPT clone will generate a response based on the input using the OpenAI API.
  • Interact with the ChatGPT clone as you would with a chatbot.

Contributing

  • Fork the repository.
  • Create a new branch (git checkout -b feature/fooBar).
  • Commit your changes (git commit -am 'Add some fooBar').
  • Push to the branch (git push origin feature/fooBar).
  • Create a new Pull Request.

Feel free to modify and expand upon this template to fit your project's specific needs!

About

New Look of the Chat-GPT developed using the OpenAI API


Languages

Language:TypeScript 94.6%Language:CSS 3.5%Language:JavaScript 1.0%Language:HTML 0.8%