{"id":19475012,"url":"https://github.com/saibarathr/gemini-bot-react","last_synced_at":"2025-04-15T08:41:38.512Z","repository":{"id":213058360,"uuid":"732920115","full_name":"SaiBarathR/gemini-bot-react","owner":"SaiBarathR","description":"This project is an AI chatbot that uses the Gemini API from Google. It's designed for educational purposes, providing a practical example of how to implement a chat bot using Gemini API.","archived":false,"fork":false,"pushed_at":"2023-12-31T13:13:13.000Z","size":296,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T18:12:06.477Z","etag":null,"topics":["ai-chatbot","chakra-ui","framer-motion","gemini-api","react","tailwindcss"],"latest_commit_sha":null,"homepage":"https://saibarathr.github.io/gemini-bot-react/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SaiBarathR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-18T06:55:21.000Z","updated_at":"2025-03-03T11:27:30.000Z","dependencies_parsed_at":"2023-12-31T14:25:19.746Z","dependency_job_id":null,"html_url":"https://github.com/SaiBarathR/gemini-bot-react","commit_stats":null,"previous_names":["saibarathr/gemini-bot-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaiBarathR%2Fgemini-bot-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaiBarathR%2Fgemini-bot-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaiBarathR%2Fgemini-bot-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaiBarathR%2Fgemini-bot-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaiBarathR","download_url":"https://codeload.github.com/SaiBarathR/gemini-bot-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249038887,"owners_count":21202803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-chatbot","chakra-ui","framer-motion","gemini-api","react","tailwindcss"],"created_at":"2024-11-10T19:28:29.097Z","updated_at":"2025-04-15T08:41:38.461Z","avatar_url":"https://github.com/SaiBarathR.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Gemini Bot\n\n## Description\n\nThis project is an AI chatbot that uses the Gemini API from Google. It's designed for educational purposes, providing a practical example of how to implement a chat bot using Gemini API.\n\nThe chatbot has the following features:\n\n- **Multi-Conversation**: The chatbot can handle multiple conversations at once. It initializes the chat by calling `startChat()`, and then uses `sendMessage()` to send new user messages. These messages, along with the chatbot's responses, are appended to the chat history.\n\n- **User and Model Roles**: The chatbot uses two roles: 'user' and 'model'. The 'user' role provides the prompts, while the 'model' role provides the responses.\n\n- **Streaming**: The chatbot uses streaming for faster interactions. Instead of waiting for the model to complete the entire generation process, the chatbot can handle partial results for quicker responses.\n\n ## Screenshots\n\n  ![Screenshot 2023-12-31 at 6 41 27 PM](https://github.com/SaiBarathR/gemini-bot-react/assets/58382813/fe6aa8e8-40bb-468a-bb21-2a8697c195ba)\n\n\n## Dependencies\n\nThis project uses the following libraries:\n\n- React\n- Vite\n- Tailwind\n- Chakra UI\n- React Markdown\n- @google/generative-ai\n\n## API Key\n\nTo run this project, you'll need an API key from Google. You can get one for free at [Google AI](https://ai.google.dev/). The free API key comes with some limitations:\n\n- Rate Limit: The free API key allows for up to 60 queries per minute.\n- Data Usage: The input/output data is used to improve Google's products.\n\n## Usage\n\nTo use this project:\n\n1. Clone the repository.\n2. Install the dependencies.\n3. Insert your API key.\n4. Run the project.\n\n## License\n\nThis project is free to use for educational purposes.\n\n## Links\n\n- [Google AI](https://ai.google.dev/)\n- [Google AI Web QuickStart](https://ai.google.dev/tutorials/web_quickstart)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaibarathr%2Fgemini-bot-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaibarathr%2Fgemini-bot-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaibarathr%2Fgemini-bot-react/lists"}