A clone of the Gemini AI API, featuring an interactive chatbot that mimics the Gemini AI user interface and experience.
- 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).
Follow these steps to set up and run the project on your local machine.
- Ensure you have Node.js and npm installed on your machine. You can download them here.
- Clone the repository
git clone git@github.com:I2S9/Gemini-clone.git
- Navigate to the project directory
cd Gemini-clone
- Install the dependencies
npm install
- Start the development server
npm start
-
Install the Google Generative AI package
npm install @google/generative-ai
-
Obtain your API key
-
Go to the Google Gemini API Documentation & API Keys.
-
Follow the instructions to generate and obtain your API key.
- 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';
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.
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!