Skip to content

πŸ’¬ This project is a lightweight chatbot web application built with Flask and integrated with Google's Gemini API. It allows users to interact with a powerful AI model through a clean, browser-based interface.

Notifications You must be signed in to change notification settings

Coderxrohan/Gemini-Clone-Advanced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

57 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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!

About

πŸ’¬ This project is a lightweight chatbot web application built with Flask and integrated with Google's Gemini API. It allows users to interact with a powerful AI model through a clean, browser-based interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published