A Google Gemini–style AI chat interface built with React + Vite, integrating the Gemini API to deliver conversational AI responses in a clean, modern web UI.
🧠 This project lets you interact with an AI model similar to Google Gemini right in your browser — chat in real time, get smart responses, and extend it however you like.
- Interactive chat interface
- Sends user input to the Gemini API and displays AI responses
- Real-time conversational experience
- Responsive UI for desktop and mobile devices
- React — Component-based UI
- Vite — Fast development server and build tool
- Tailwind CSS / CSS — Modern and clean styling
- Gemini API — AI-powered responses
Follow the steps below to set up and run the project locally.
git clone https://github.com/VisXhal06/Gemini-Clone.git
cd Gemini-Clonenpm installCreate a .env.local (or .env) file in the root directory and add:
VITE_GEMINI_API_KEY="YOUR_GEMINI_API_KEY"
💡 Replace YOUR_GEMINI_API_KEY with your actual Gemini API key.Start the development server:
npm run devOpen your browser and visit:
http://localhost:5173
User enters a prompt in the chat input
The message is sent to the Gemini API
The API generates an AI response
The response is rendered in the chat window
Chat history persistence
Light / Dark theme toggle
Typing animation for AI responses
Text-to-speech support
User authentication
Message streaming
Gemini-Clone/
├── public/
├── src/
│ ├── components/ # Chat UI components
│ ├── styles/ # Global or Tailwind styles
│ ├── App.jsx # Root component
│ └── main.jsx # Application entry point
├── .gitignore
├── .env.local
├── index.html
├── package.json
└── vite.config.js
Contributions are welcome and appreciated! 🙌
How to Contribute: 🌿 Fork the repository
🔀 Create a new branch
git checkout -b feature/YourFeature
💻 Make your changes✨ Commit your changes
git commit -m "Add new feature"
📤 Push to your branchgit push origin feature/YourFeature
📩 Open a Pull Request📜 License This project is licensed under the MIT License. See the LICENSE file for more details.
🙌 Acknowledgements Open-source community ❤️
React & Vite teams
Google Gemini API for AI capabilities
📬 Contact Created by Vishal Suthar GitHub: https://github.com/VisXhal06
Happy coding! 🚀 Feel free to customize and expand this project as you learn and experiment.