Skip to content

2kama/chatgpt-clone

Repository files navigation

ChatGPT Clone

This repo is deployed on Netlify. You can view it here ChatGPT Clone

Tech Stack

React
NextJS
TailwindCSS
Firebase
TypeScript

Load up locally

You'll need to create some environment variables in a .env.local file.

FIREBASE_SERVICE_ACCOUNT_KEY (Gotten from your Firebase Account Project)
GOOGLE_ID (Gotten from your Google Authentication Web SDK settings)
GOOGLE_SECRET (Gotten from your Google Authentication Web SDK settings)
NEXTAUTH_SECRET (This really can be any AlphaNumeric you want)
NEXTAUTH_URL (This is the baseURL of your host. e.g localhost:3000 or the url host of your deployed version.)
OPENAI_API_KEY (apiKey from your openai account)




Then you can run these to pull up on localhost:3000

yarn install
yarn run dev

For the google auth to work, you gotta whitelist your hostname on the google api console.

About

This is a clone of the famous openAI chatGPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published