/chatgpt-clone

this app is a ChatGPT Clone with DALL.E using OpenAIs text-davinci-003 and image generation Model

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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 😜

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

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

Buy Me A Coffee

credits

📝 License © Eyuel

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