A modern, responsive AI chat application built with Next.js and OpenAI's GPT models.
This project is a real-time chat interface that allows users to interact with an AI assistant powered by OpenAI's language models. It features a sleek, user-friendly interface with support for multiple chat sessions, code syntax highlighting, and responsive design.
- Real-time streaming of AI responses
- Multiple chat sessions management
- Code syntax highlighting in messages
- Responsive design for desktop and mobile
- Dark mode support
- Next.js - React framework for server-side rendering and static site generation
- React - JavaScript library for building user interfaces
- TypeScript - Typed superset of JavaScript
- Tailwind CSS - Utility-first CSS framework
- OpenAI API - AI language model integration
- ShadcnUI - UI component library
- Clone the repository
- Install dependencies:
npm install
- Set up environment variables (see
.env.example
) - Run the development server:
npm run dev
- Open http://localhost:3000 in your browser
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.