{"repo":"waynesutton/nextjsaichatconvextemplate","free":true,"listed":false,"github":"https://github.com/waynesutton/nextjsaichatconvextemplate","clone":"git clone https://github.com/waynesutton/nextjsaichatconvextemplate.git","description":"A real-time AI chat application built with Next.js, Convex, Tailwind CSS, and OpenAI.","language":"TypeScript","stars":35,"topics":["ai","chat","nextjs","template"],"license":null,"category":"chat-messaging","readme_excerpt":"Next.js + Convex AI Chat Template v.0.1 This is a simple chat application built with Next.js, Convex, and Tailwind CSS. It allows users to chat with an AI assistant powered by OpenAI. Features - Real-time chat interface using Convex and the Vercel AI SDK ( useChat ) for data synchronization and state management. - AI responses powered by OpenAI, generated asynchronously in the background using Convex Actions to keep the UI responsive (potentially supporting multiple models via convex/multiModelAI.ts ). - Persistent storage of conversation history and chat sessions in the Convex database. - Ability to clear the current chat session (managed via convex/chats.ts ). - Management of AI model preferences (implied by convex/modelPreferences.ts ). - Chat message archival functionality (implied by convex/chat.ts ). - User input handling with automatic textarea resizing ( react-textarea-autosize ). - Responsive UI styled with Tailwind CSS and Shadcn/ui components. - Toast notifications for user feedback ( hooks/use-toast.ts ). Getting Started (Local Development) 1. Clone the repository: 2. Install dependencies: 3. Set up Convex: - Install the Convex CLI: npm install -g convex - Login to Convex: npx convex login - Start the Convex local development server: npx convex dev - This command watches your convex/ directory for changes and provides a local development backend. - Note your project's deployment URL from the npx convex dev output or the Convex dashboard. 4. Set up Environment Vari","default_branch":null,"files":null,"tree":[],"storefront":"/r/waynesutton","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/waynesutton/nextjsaichatconvextemplate/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."}