Markdown
A super cool conversational AI app powered by Google's Gemini API! 🚀
GeminiChat is your friendly web app for chatting with Google's awesome Gemini AI. Think of it as a simple and easy way to explore what Gemini can do. 🤖
This project is all about making it easy and fast for anyone (especially developers!) to start playing around with Gemini. Let's get chatting! 💬
Want to try GeminiChat on your own machine? Follow these easy steps:
-
Clone the project: ⬇️
Open your terminal and type this command to download the code:
git clone [https://github.com/thelapyae/GeminiChat.git](https://github.com/thelapyae/GeminiChat.git) 🔗 cd GeminiChat -
Create the
.env.localfile: 🤫Make a new file called
.env.localin the main folder of the project (where you just usedcd GeminiChat). This file is like a secret place to store your API key. -
Get your API key and add it! 🔑
You need a Google Gemini API key to make GeminiChat work. Don't worry, it's easy to get! Just follow these steps:
-
Go to this link: https://aistudio.google.com/app/u/1/apikey 🌐
-
Create an API key there. 📝
-
Copy that API key. ✂️
-
Now, open your
.env.localfile and add this line, but replaceYOUR_ACTUAL_API_KEYwith the key you just copied:GEMINI_API_KEY=YOUR_ACTUAL_API_KEY
Important: Keep your
.env.localfile secret! 🤫 Don't share it or commit it to GitHub! The.gitignorefile is already set up to protect it. 👍
-
-
Install the magic stuff (dependencies): 📦
In your terminal, type one of these commands (depending on if you use
npmoryarn):npm install # For npm usersOR
yarn install # For yarn users -
Start the engine! (Run the development server): 🚀
Type this command in your terminal:
npm run dev # For npm usersOR
yarn dev # For yarn usersThis will fire up the development server! 🎉 Open your web browser and go to the address it shows you (usually
http://localhost:3000). GeminiChat should be running! 🥳
Enjoy chatting with Gemini! 😊 [Much WIth Love @thelapyae]