Live Project Link: Gemini Clone
Gemini Clone is a React project that utilizes Google's Generative AI to generate responses based on prompts provided by users.
- Responsive chatbot application inspired by Google's Gemini chatbot.
- Integration of Google's Generative AI technology (Gemini Model 1.0) for conversational interactions.
- Firebase authentication for secure user login and account management.
- Utilization of React Context API for universal state management.
- Custom contexts for managing chat data, prompts, and user input.
- Google Sign-Up option for user convenience.
- Mobile-first approach for optimal usability on mobile devices.
- Clone the repository:
git clone https://github.com/aviralsharma07/gemini-clone.git
- Navigate to the project directory:
cd gemini-clone
- Install dependencies:
npm install
To run the project locally, follow these steps:
- Ensure you have Node.js installed on your system (version 18 or above).
- Install Vite globally if you haven't already:
npm install -g vite
- Start the development server:
npm run dev
- Once the development server is running, open the URL provided in your terminal to view the project in your browser.
Before running the project, you'll need to generate your own Gemini API key and add it to the gemini.js
file located in the config
folder. You can generate the API key from Google AI Studio. Replace API_KEY
with your generated API key in the gemini.js
file.
- @google/generative-ai: Used for interacting with Google's Generative AI.
- React: JavaScript library for building user interfaces.