Skip to content

Sri Chat is an open-source chat application built with Next.js, Firebase, and OpenAI. It allows users to log in using their Google accounts, create new chats, delete chats, and log out. Users can also choose from different language models provided by OpenAI.

Notifications You must be signed in to change notification settings

SarangaSiriwardhana9/SriChat-ChatGtp-clone

Repository files navigation

Sri Chat

2 1

Sri Chat is an open-source chat application built with Next.js, Firebase, and OpenAI. It allows users to log in using their Google accounts, create new chats, delete chats, and log out. Users can also choose from different language models provided by OpenAI, such as text-davinci-003, davinci, curie, etc.

Features

  • User authentication with Google accounts.
  • Create new chats.
  • Delete chats.
  • Choose from different language models.

Technologies Used

  • Next.js: Frontend framework for building React applications
  • Firebase: Authentication and database services
  • OpenAI: Language models for generating chat responses

Getting Started

Installation

  1. Clone the repository:
git clone https://github.com/your-username/sri-chat.git

2.Install the dependencies:

cd sri-chat
npm install

3.Configure Firebase:

-Create a new Firebase project (insert instructions on how to create a Firebase project) -Enable Google authentication (insert instructions on how to enable Google authentication) -Set up the Firebase Realtime Database (insert instructions on how to set up the database) -Copy the Firebase configuration credentials and replace them in the .env.local file.

4.Configure OpenAI:

-Obtain an API key from OpenAI (insert instructions on how to obtain the key) -Replace the placeholder API key in the .env.local file with your actual API key.

Usage

  1. Start the development server:
npm run dev
  1. Open your browser and navigate to http://localhost:3000.
  2. Log in using your Google account.
  3. Create new chats, delete existing chats, and choose different language models.
  4. Log out when you're done.

About

Sri Chat is an open-source chat application built with Next.js, Firebase, and OpenAI. It allows users to log in using their Google accounts, create new chats, delete chats, and log out. Users can also choose from different language models provided by OpenAI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published