Skip to content

Latest commit

 

History

History
102 lines (70 loc) · 2.25 KB

File metadata and controls

102 lines (70 loc) · 2.25 KB

Gemini Clone Advanced 💬🚀

An advanced AI chatbot web application inspired by Google's Gemini. Built with Flask, HTML/CSS, and integrated with the Gemini API, this project replicates the feel and functionality of a modern conversational assistant.

🌟 Features

  • 🔥 Chat with Gemini API in real time
  • 🎨 Sleek and responsive front-end UI
  • ⚙️ Backend powered by Flask and REST APIs
  • 📄 Prompt history view
  • 💾 API key management via .env
  • 🔐 Secure integration without exposing your key

🛠️ Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Python (Flask)
  • AI Model: Gemini API (by Google)
  • Environment Management: python-dotenv

🚀 Getting Started

1. Clone the Repository

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

2. Create and Activate a Virtual Environment (optional)

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

3. Install Dependencies

pip install -r requirements.txt

4. Configure Environment Variables

Create a .env file in the root directory and add your Gemini API key:

API_KEY=your_gemini_api_key_here

5. Run the Application

python app.py

Then open your browser and go to:
👉 http://127.0.0.1:5000


📂 Project Structure

Gemini-Clone-Advanced--
│
├── static/
│   └── style.css           # Frontend styling
│
├── templates/
│   └── index.html          # Main HTML page
│
├── app.py                  # Main Flask application
├── requirements.txt        # Python dependencies
└── .env                    # API key config (not pushed)

🧠 Future Enhancements

  • 📝 Chat history saving
  • 👤 User authentication
  • 🎙️ Voice input/output
  • 🌗 Light/Dark theme toggle

🤝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to fork the repo and submit a pull request.

📜 License

This project is licensed under the MIT License.


📬 Contact

Made with ❤️ by Rohan Sarkar
For questions or suggestions, feel free to open an issue!