A modern, responsive AI chatbot built with Next.js, TypeScript, and OpenAI's GPT-3.5 API.
- 🎨 Clean, responsive chat interface
- 🤖 Integration with Hugging Face API
- 💬 Real-time message history
- ⏳ Loading states and typing indicators
- 🌓 Dark mode support
- 🎯 TypeScript implementation
- 🎨 Tailwind CSS styling
⚠️ Error handling and user feedback
- Clone the repository
- Install dependencies:
npm install # or bun install - Create a
.envfile with your OpenAI API key:OPENAI_API_KEY=your_api_key_here - Run the development server:
npm run dev # or bun dev - Open http://localhost:3000 with your browser
- Next.js 13+ (App Router)
- TypeScript
- Tailwind CSS
- OpenAI API
- React Icons
MIT