Skip to content

UddamB/gpt-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT Clone

To do

  • use react / faster backend language ?
  • create image generation
  • Double confirm when deleting conversation
  • remember user preferences
  • theme changer
  • loading / exporting a conversation
  • better documentation
  • text-to-speech

Feel free to suggest improvements/improve the code :)

gpt

Link to AI Image Generator: https://github.com/UddamB/ai-image-generator

Description

Don't have GPT 4, no problem! This GPT 4 alternative uses GPT-4o with an image generation (DALL-E 3) feature, allowing you to create art while using the model at the same time.

Getting Started

To get started with this project, you'll need to clone the repository and install the required dependencies without affecting your system-wide Python installation.

Tech Stack

Front-End: React.js, HTML, CSS

Back-End: Node.js

API: OpenAI API

Features

  • GPT-4o Prompts
  • Image generation
  • Enhanced UI

Demo

Untitled.video.-.Made.with.Clipchamp.2.1.mp4

API Reference

The OpenAI API is used for referencing the API key which is stored in the environment variable REACT_APP_API_KEY.

Installation

Cloning the Repository

Run the following command to clone the repository:

git clone https://github.com/UddamB/gpt-clone.git

Navigate to the root directory of your project.

cd clone

Install Node.js library to interact with OpenAI API

npm i openai

This project was bootstrapped with Create React App.

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.