{"repo":"nabarvn/chadgpt","free":true,"listed":false,"github":"https://github.com/nabarvn/chadgpt","clone":"git clone https://github.com/nabarvn/chadgpt.git","description":"The only working fullstack web app showcasing the legacy version of ChatGPT from Jan 2023.","language":"TypeScript","stars":24,"topics":["firebase","next-auth","openai-api","swr","tailwindcss","typescript","nextjs","ai-sdk","firestore","react-markdown"],"license":null,"category":"auth-billing-email","readme_excerpt":"ChadGPT Your low-key AI agent for the new era! View Project » Report Bug • Request Feature Overview ChadGPT is a full-stack GPT implementation built with Next.js 13, featuring a custom AI persona that delivers direct, confident responses. It streams answers in real-time from OpenAI's API, automatically syncs your chat history across devices with Firebase, and includes Google OAuth authentication. The interface supports full markdown rendering with syntax-highlighted code blocks, while Upstash Redis rate limiting prevents API abuse. Architecture The diagram below illustrates the high-level architecture of the ChadGPT application. Running Locally Follow these steps to set up and run ChadGPT on your local machine. Prerequisites This application requires: - Node.js v20.14.0+ - A Firebase account (free tier is sufficient) - A Google Cloud Console account for OAuth credentials - An OpenAI account for API keys - An Upstash Redis account (free tier is sufficient) 1. Cloning the Repository Clone the repository to your local machine: 2. Installing Dependencies Install all required dependencies: 3. Firebase Setup Create a Firebase project and configure the following: 1. Enable Firestore Database preferably in test mode to avoid writing security rules 2. Register a web app and note the config values (apiKey, authDomain, projectId, etc.) 3. Generate Admin SDK credentials from Service Accounts (download the JSON) See the Firebase Console and Firestore documentation. 4. Google OAuth Setup C","default_branch":null,"files":null,"tree":[],"storefront":"/r/nabarvn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nabarvn/chadgpt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}