An AI-powered chat application built with Next.js, TypeScript, and Tailwind CSS. It features user authentication, real-time messaging, and a sleek UI using Radix UI components.
- User authentication with NextAuth.js
- Real-time chat functionality
- Accessible UI with Radix UI components
- Markdown support in messages
- Next.js
- TypeScript
- Tailwind CSS
- Radix UI
- NextAuth.js
- React Markdown
- Remark GFM
-
Clone the repository:
git clone https://github.com/Pedroo-Nietoo/AI-Chat.git
-
Navigate to the project directory:
cd ai-chat -
Install dependencies:
npm install
-
Create a
.env.localfile and add your environment variables (e.g., Gemini API key, NextAuth secret). -
Set up the OAuth providers in your NextAuth configuration.
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser to see the app.

