Skip to content

Clone of Generative AI App using Google Gemini API

License

Notifications You must be signed in to change notification settings

I2S9/Gemini-clone

Repository files navigation

✨ Gemini AI API Clone

A clone of the Gemini AI API, featuring an interactive chatbot that mimics the Gemini AI user interface and experience.

Gemini AI Screen

Missions

  • Build the UI/UX of the website to closely resemble the Gemini AI interface.
  • Create an interactive chat application using the Gemini API.
  • Customize the chatbot (optional further steps).

Get Started

Follow these steps to set up and run the project on your local machine.

Prerequisites

  • Ensure you have Node.js and npm installed on your machine. You can download them here.

Installation

  1. Clone the repository
    git clone git@github.com:I2S9/Gemini-clone.git
    
  2. Navigate to the project directory
    cd Gemini-clone
    
  3. Install the dependencies
    npm install
    
  4. Start the development server
    npm start
    

Setting Up Google Gemini API

  1. Install the Google Generative AI package

    npm install @google/generative-ai
    
  2. Obtain your API key

  1. Configure the API key
  • Open src/config/gemini.js in a text editor.

  • Replace the placeholder API key on the first line with your actual API key:

    const API_KEY = 'YOUR_API_KEY_HERE';
    

Usage

Once the server is running, you can access the application by navigating to http://localhost:3000 in your own web browser. You should see the Gemini AI clone interface and be able to interact with the chatbot.

Further Step

You can customize the chatbot by modifying the configurations and code in the src directory. Refer to the Google Gemini API Documentation for more details on the available features and customization options. Contributing

If you would like to contribute to this project, please fork the repository and submit a pull request. License

This project is licensed under the MIT License. See the LICENSE file for more details.

Feel free to replace any placeholders with the appropriate information or adjust the instructions as necessary for your specific project setup!

About

Clone of Generative AI App using Google Gemini API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published