🤖 InGPT
✨ Features
🚀 Quick Start
Prerequisites
- Node.js 18+
- npm or yarn
- Google AI Studio API Key
Installation
-
Clone the repository
git clone https://github.com/niladri-1/InGPT_Chatbot.git
cd InGPT_Chatbot
-
Install dependencies
npm install
# or
yarn install
-
Set up environment variables
cp .env.example .env.local
Add your Gemini API key to .env.local:
NEXT_PUBLIC_GEMINI_API_KEY=your_actual_api_key_here
-
Run the development server
npm run dev
# or
yarn dev
-
Open your browser
Navigate to http://localhost:3000
🔧 Scripts
| Command | Description |
|---|
npm run dev | Start development server |
npm run build | Build for production |
npm run start | Start production server |
npm run lint | Run ESLint |
🛠️ Tech Stack
🎨 UI Components
- Modern Design: Clean, minimalistic interface
- Responsive Layout: Works on all devices
- Theme Support: Dark/Light mode with system preference
- Smooth Animations: Framer Motion powered transitions
- Accessibility: ARIA labels and keyboard navigation
🔐 Environment Variables
Create a .env.local file in the root directory:
# Google AI Configuration
NEXT_PUBLIC_GEMINI_API_KEY=your_actual_api_key_here
Note: Get your API key from Google AI Studio
📁 Project Structure
ingpt/
├── components/ # Reusable UI components
│ ├── ui/ # shadcn/ui components
│ ├── message-bubble.tsx
│ ├── sidebar.tsx
│ └── ...
├── app/ # Next.js App Router
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx
├── lib/ # Utility functions
├── public/ # Static assets
└── ...
🤝 Contributing
We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature)
- Commit your changes (
git commit -m 'Add amazing feature')
- Push to the branch (
git push origin feature/amazing-feature)
- Open a Pull Request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments