Skip to content

VisXhal06/Gemini-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gemini Clone 🤖

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.


🚀 Features

✨ Core Features

  • 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

🔧 Built With

  • React — Component-based UI
  • Vite — Fast development server and build tool
  • Tailwind CSS / CSS — Modern and clean styling
  • Gemini API — AI-powered responses

📦 Getting Started

Follow the steps below to set up and run the project locally.

🔹 1. Clone the Repository

git clone https://github.com/VisXhal06/Gemini-Clone.git
cd Gemini-Clone

🔹 2. Install Dependencies

npm install

🔹 3. Set Up Environment Variables

Create 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.

🏃‍♂️ Running the Application

Start the development server:

npm run dev

Open your browser and visit:

http://localhost:5173

🧠 How It Works

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

🔮 Possible Enhancements

Chat history persistence

Light / Dark theme toggle

Typing animation for AI responses

Text-to-speech support

User authentication

Message streaming

🛠️ Project Structure

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

⭐ Contributing

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 branch
git 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.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors