Giter Club home page Giter Club logo

chatgpt-clone's Introduction

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!

chatgpt-clone's People

Contributors

chandima2000 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.