{"id":25536352,"url":"https://github.com/yashksaini-coder/gemini-bot","last_synced_at":"2025-04-11T14:50:38.404Z","repository":{"id":219798581,"uuid":"749959851","full_name":"yashksaini-coder/Gemini-Bot","owner":"yashksaini-coder","description":"Gemini Bot is a Flask based chatbot app, powered by Gemini-Pro-Vision model from Google's Generative AI service.","archived":false,"fork":false,"pushed_at":"2024-11-21T18:26:42.000Z","size":223,"stargazers_count":17,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-25T10:51:18.425Z","etag":null,"topics":["ai","ai-bot","bot-api","chatgpt3","chatgpt4","langchain","langchain-python","openai","openapi"],"latest_commit_sha":null,"homepage":"https://linkedin.com/in/yashksaini","language":"CSS","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/yashksaini-coder.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-29T18:14:21.000Z","updated_at":"2024-12-15T12:26:15.000Z","dependencies_parsed_at":"2024-01-31T04:52:47.268Z","dependency_job_id":"e83dd3a5-58fe-4d33-af96-87246baa19a8","html_url":"https://github.com/yashksaini-coder/Gemini-Bot","commit_stats":null,"previous_names":["yashksaini-coder/gemini-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashksaini-coder%2FGemini-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashksaini-coder%2FGemini-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashksaini-coder%2FGemini-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashksaini-coder%2FGemini-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yashksaini-coder","download_url":"https://codeload.github.com/yashksaini-coder/Gemini-Bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248424233,"owners_count":21101141,"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","ai-bot","bot-api","chatgpt3","chatgpt4","langchain","langchain-python","openai","openapi"],"created_at":"2025-02-20T04:32:45.121Z","updated_at":"2025-04-11T14:50:38.378Z","avatar_url":"https://github.com/yashksaini-coder.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n   \u003cimg height=\"320\" width=\"640\" src=\"https://socialify.git.ci/yashksaini-coder/Gemini-Bot/image?forks=1\u0026issues=1\u0026name=1\u0026pattern=Brick%20Wall\u0026pulls=1\u0026stargazers=1\u0026theme=Auto\"\u003e\n\u003c/div\u003e\n\n## Introduction\n\nWelcome to Gemini-Bot, your intelligent companion designed to revolutionize the way you interact with information. Leveraging the power of the Gemini AI platform, Gemini-Bot provides a seamless and intuitive interface for users to make both text and image queries. Whether you're looking for quick answers, detailed explanations, or visual insights, Gemini-Bot is here to assist you. With its advanced features like session storage and the use of the Fetch API for efficient server communication, Gemini-Bot ensures a smooth and engaging user experience. Get ready to explore a world of information at your fingertips with Gemini-Bot.\n\n\n## Features\n\n1. **Text and Image Queries**: Gemini-Bot allows users to make both text and image queries to the Gemini AI platform.\n2. **Session Storage**: User queries and corresponding answers are stored in the sessionStorage, ensuring that chats are retained even after page reloads.\n3. **Fetch API**: The Fetch API is used to send requests to the Flask server, enabling seamless communication without page reloads.\n\n## Getting Started\n\n### Requirements\n\n- Web browser (Chrome, Firefox, Safari, etc.)\n- Internet connection\n\n### Installation\n\n1. Clone the Gemini-Bot repository from GitHub.\n   ```bash\n   git clone https://github.com/yashksaini-coder/Gemini-Bot\n   ```\n2. Navigate to the Gemini-Bot directory.\n   ```bash\n   cd Gemini-Bot\n   ```\n3. Install the packages from requirements.txt\n   ```bash\n   pip install -r requirements.txt\n   ```\n4. Run `python app.py` from your preferred terminal.\n\n### Usage\n\n1. **Text Queries**:\n   - Enter your text query in the text input field.\n   - Press the \"Send\" button or hit Enter to submit the query.\n   - View the response from the Gemini AI platform in the chat interface.\n\n2. **Image Queries**:\n   - Click the \"Upload Image\" button.\n   - Select an image file from your device.\n   - Enter your specific query for the image.\n   - Wait for the response from the Gemini AI platform, which will be displayed in the chat interface.\n\n3. **Session Storage**:\n   - User queries and responses are stored in sessionStorage.\n   - This ensures that chats are retained even if the page is reloaded or navigated away from.\n\n4. **Fetch API**:\n   - The Fetch API is used to send requests to the Flask server.\n   - This communication method avoids page reloads, providing a smoother user experience.\n\n3. **API Key**:\n   - Please obtain your own API key from the Gemini AI platform at [https://ai.google.dev/](https://ai.google.dev/).\n   - Replace the placeholder API key in the (`.env`) file with your own API key for proper functionality.\n   # Contributing and Maintaining\n\n   Thank you for your interest in contributing to the Gemini-Bot repository! Your contributions are highly appreciated. This document provides guidelines on how to contribute to the project and how to keep your fork up-to-date with the original repository.\n\n   ## Contributing\n\n   To contribute to the Gemini-Bot repository, please follow these steps:\n\n   1. **Fork the Repository**: Click on the [Fork](https://github.com/yashksaini-coder/Gemini-Bot/fork) button at the top right corner of the repository page. This will create a copy of the repository in your GitHub account.\n\n   2. **Clone the Repository**: Clone the forked repository to your local machine using the following command:\n      ```bash\n      git clone https://github.com/your-username/Gemini-Bot.git\n      ```\n      Replace `your-username` with your GitHub username.\n\n   3. **Create a New Branch**: Create a new branch for your changes using the following command:\n      ```bash\n      git checkout -b feature-branch-name\n      ```\n      Replace `feature-branch-name` with a descriptive name for your branch.\n\n   4. **Make Changes**: Make your desired changes to the codebase.\n\n   5. **Commit Changes**: Commit your changes using the following commands:\n      ```bash\n      git add .\n      git commit -m \"Describe your changes\"\n      ```\n\n   6. **Push Changes to GitHub**: Push your changes to your forked repository on GitHub using the following command:\n      ```bash\n      git push origin feature-branch-name\n      ```\n\n   7. **Create a Pull Request**: Navigate to your forked repository on GitHub and click on the \"Compare \u0026 pull request\" button. Provide a descriptive title and detailed description of your changes, then submit the pull request.\n\n   ## Keeping Your Fork Up-to-Date\n\n   To keep your fork up-to-date with the original repository, follow these steps:\n\n   1. **Add the Original Repository as a Remote**: Add the original repository as a remote to your local repository using the following command:\n      ```bash\n      git remote add upstream https://github.com/yashksaini-coder/Gemini-Bot\n      ```\n\n   2. **Fetch Updates from the Original Repository**: Fetch the latest updates from the original repository using the following command:\n      ```bash\n      git fetch upstream\n      ```\n\n   3. **Merge Updates into Your Fork**: Switch to the main branch of your local repository and merge the updates from the original repository using the following commands:\n      ```bash\n      git checkout main\n      git merge upstream/main\n      ```\n\n   4. **Push Updates to Your GitHub Fork**: Push the updates to your forked repository on GitHub using the following command:\n      ```bash\n      git push origin main\n      ```\nThank you for your contributions and happy coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashksaini-coder%2Fgemini-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashksaini-coder%2Fgemini-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashksaini-coder%2Fgemini-bot/lists"}