{"id":26489098,"url":"https://github.com/tedoaba/gemini_chatbot","last_synced_at":"2026-05-07T05:31:22.822Z","repository":{"id":281794767,"uuid":"920466999","full_name":"tedoaba/gemini_chatbot","owner":"tedoaba","description":"Gemini Chatbot is a web-based chatbot application that uses the Gemini API to generate responses to user messages. The application is built using Flask for the backend, Gradio for an alternative frontend, and integrates with the Google Generative AI library.","archived":false,"fork":false,"pushed_at":"2025-03-11T07:04:00.000Z","size":223,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T07:34:50.921Z","etag":null,"topics":["flask","flask-api","gemini","gemini-chatbot","gradio"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tedoaba.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":"2025-01-22T07:48:12.000Z","updated_at":"2025-03-11T07:04:03.000Z","dependencies_parsed_at":"2025-03-11T07:34:56.110Z","dependency_job_id":"6180ac10-4743-4e2f-84a4-74fe558cccb8","html_url":"https://github.com/tedoaba/gemini_chatbot","commit_stats":null,"previous_names":["tedoaba/gemini_chatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedoaba%2Fgemini_chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedoaba%2Fgemini_chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedoaba%2Fgemini_chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedoaba%2Fgemini_chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tedoaba","download_url":"https://codeload.github.com/tedoaba/gemini_chatbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566947,"owners_count":20473451,"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":["flask","flask-api","gemini","gemini-chatbot","gradio"],"created_at":"2025-03-20T07:19:54.722Z","updated_at":"2026-05-07T05:31:17.802Z","avatar_url":"https://github.com/tedoaba.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gemini Chatbot\n\nGemini Chatbot is a web-based chatbot application that uses the Gemini API to generate responses to user messages. The application is built using Flask for the backend, Gradio for an alternative frontend, and integrates with the Google Generative AI library.\n\n## Features\n\n- Web-based chat interface using Flask\n- Alternative chat interface using Gradio\n- Integration with Gemini API for generating responses\n- Clear chat history functionality\n\n## Screenshots\n\n### Flask Interface\n![Flask Interface](screenshots/gemini-output.jpg)\n\n### Gradio Interface\n![Gradio Interface](screenshots/gradio-output.jpg)\n\n## Setup Instructions\n\n### Prerequisites\n\n- Python 3.7+\n- pip (Python package installer)\n\n### Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/tedoaba/gemini_chatbot.git\n    cd gemini_chatbot\n    ```\n\n2. Install the required Python packages:\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n3. Create a `.env` file in the root directory and add your Gemini API credentials:\n    ```env\n    GEMINI_API_KEY=your_gemini_api_key\n    GEMINI_ID=your_gemini_model_id\n    ```\n\n### Running the Flask App\n\n1. Navigate to the project directory:\n    ```sh\n    cd gemini_chatbot\n    ```\n\n2. Run the Flask application:\n    ```sh\n    python flask_app.py\n    ```\n\n3. Open your web browser and go to `http://127.0.0.1:5000` to access the chat interface.\n\n### Running the Gradio App\n\n1. Navigate to the project directory:\n    ```sh\n    cd gemini_chatbot\n    ```\n\n2. Run the Gradio application:\n    ```sh\n    python gradio_app.py\n    ```\n\n3. Open the provided Gradio link to access the chat interface.\n\n## Usage\n\n- Type your message in the input box and click \"Send\" to receive a response from the chatbot.\n- Click the \"Clear Chat\" button to clear the chat history.\n\n## Project Structure\n\n```\ngemini_chatbot/\n├── src/\n│   ├── api_client.py\n│   ├── chatbot.py\n│   └── utils.py\n├── static/\n│   ├── script.js\n│   └── style.css\n├── templates/\n│   └── index.html\n├── flask_app.py\n├── gradio_app.py\n├── requirements.txt\n└── README.md\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftedoaba%2Fgemini_chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftedoaba%2Fgemini_chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftedoaba%2Fgemini_chatbot/lists"}