Skip to content

EyuCoder/chatgpt-clone

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ChatGPT clone with DALL.E image generation model

you can checkout the app here

a demo of the App

android icon

Give it a ⭐ if you liked it 😜

If you find this project helpful, you can buy me a coffee here

Buy Me A Coffee

install

client

cd client && npm i

server

cd server && npm i

Configuration

Server

  1. obtain your openai api key from here
  2. cd server
  3. copy .env.example to .env
  4. add your openai api key inside .env
  5. make sure you have added .env to your .gitignore file

Client

  1. cd client
  2. copy .env.example to .env
  3. add your fiirebase config and server url
  4. make sure you have added .env to your .gitignore file

run

to run client and server concurrently

cd client
npm run dev

to run client only

cd client
npm start

to run server only

cd server
npm start

To setup locally with no firebase and redis change branch to local_setup

git checkout local_setup

Tech used

  • openai API
  • react
  • tailwindcss
  • react-icons
  • react-markdown
  • redis
  • express

credits

πŸ“ License Β© Eyuel

This project is released under the Apache License 2.0 license. See LICENSE for details.