Coder Social home page Coder Social logo

felipe-parra / chat-ia-next Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 176 KB

This project is a Next.js web application that demonstrates how to build a chat interface using ChatGPT, a natural language processing AI model developed by OpenAI. The application consists of a login page where users can sign in with Firebase Authentication, and a home page where users can chat with ChatGPT and receive responses in real-time.

License: GNU General Public License v3.0

JavaScript 2.28% TypeScript 69.12% CSS 28.60%

chat-ia-next's Introduction

ChatGPT with Next.js and Firebase

This project is a demo of how to build a chat interface using ChatGPT, a natural language processing AI model developed by OpenAI, with Next.js and Firebase.

Features

  • Login page with Firebase Authentication.
  • Home page with a chat interface using ChatGPT.
  • Real-time responses from ChatGPT.
  • Styling with Tailwind CSS.
  • Storage of chat messages in Firestore.

Technologies Used

  • Next.js
  • TypeScript
  • Firebase Authentication
  • Firebase Firestore
  • OpenAI API
  • Tailwind CSS

Getting Started

To run this project locally, you'll need to:

  1. Set up a Firebase project and obtain API keys for Firebase Authentication and Firestore.
  2. Obtain an API key for the OpenAI API.
  3. Clone this repository.
  4. Install the dependencies by running npm install in the project directory.
  5. Create a .env.local file with your Firebase and OpenAI API keys. See .env.example for an example.
  6. Start the development server by running npm run dev in the project directory.

Contributing

If you'd like to contribute to this project, feel free to open a pull request or submit an issue. All contributions are welcome!

License

This project is licensed under the GNU General Public License v3.0.

I hope this helps! Let me know if you have any other questions.

chat-ia-next's People

Contributors

felipe-parra avatar

Watchers

James Cloos avatar  avatar Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.