{"id":26047946,"url":"https://github.com/walterpinem/gemini-api-streamlit","last_synced_at":"2026-04-19T12:39:32.541Z","repository":{"id":280656912,"uuid":"942720948","full_name":"walterpinem/gemini-api-streamlit","owner":"walterpinem","description":"Testing Gemini AI Models with Streamlit","archived":false,"fork":false,"pushed_at":"2025-03-04T15:30:57.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T16:36:03.545Z","etag":null,"topics":["ai","ai-chat","ai-tools","gemini","gemini-ai","gemini-api","python","python-3","python-script","python3","streamlit","streamlit-application","streamlit-webapp"],"latest_commit_sha":null,"homepage":"https://walterpinem.com/gemini-ai-api/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walterpinem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-04T15:08:54.000Z","updated_at":"2025-03-04T15:31:01.000Z","dependencies_parsed_at":"2025-03-04T16:36:05.317Z","dependency_job_id":"d15b3ac7-56d2-40b6-9e38-5fa8ed9f95cb","html_url":"https://github.com/walterpinem/gemini-api-streamlit","commit_stats":null,"previous_names":["walterpinem/gemini-api-streamlit"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterpinem%2Fgemini-api-streamlit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterpinem%2Fgemini-api-streamlit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterpinem%2Fgemini-api-streamlit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterpinem%2Fgemini-api-streamlit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walterpinem","download_url":"https://codeload.github.com/walterpinem/gemini-api-streamlit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242473052,"owners_count":20134021,"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-chat","ai-tools","gemini","gemini-ai","gemini-api","python","python-3","python-script","python3","streamlit","streamlit-application","streamlit-webapp"],"created_at":"2025-03-07T23:15:16.968Z","updated_at":"2026-04-19T12:39:32.490Z","avatar_url":"https://github.com/walterpinem.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Simple Python Streamlit App for Testing Gemini AI Models\nTesting Gemini AI Models using Streamlit with a simple interface.\n\n![A Simple Python Streamlit App for Testing Gemini AI Models](https://walterpinem.com/wp-content/uploads/2025/03/Gemini-AI-Streamlit-App.png)\n\n#### Simple usage:\n\n`streamlit run main.py`\n\n---\nHere’s how you can get things rolling:\n\n#### **1\\. Create a Python Virtual Environment**\n\nOpen your terminal (or Command Prompt on Windows) and navigate to your project directory. Then run:\n\n##### Windows \u0026 Mac\n\n    python -m venv gemini_env\n    \n\nActivate it by running: \n\n**On Windows:**\n\n    gemini_env\\Scripts\\activate\n    \n\n**On macOS/Linux:**\n\n    source gemini_env/bin/activate\n    \n\nFor more detailed cover up, learn my post about [**Python virtual environment**](https://walterpinem.com/python-virtual-environment/).\n\n#### **2\\. Install Required Packages**\n\nWith your virtual environment activated, install Streamlit and [**OpenAI Python SDK**](https://github.com/openai/openai-python) as Gemini AI API is compatible with OpenAI (as well as any other dependencies you need) using `pip`:\n\n    pip install streamlit openai\n    \n\nThis will install the Streamlit framework, which we use to build our interactive web app, and the OpenAI package, which is required to interact with the Gemini AI API.\n\n#### **3\\. Prepare the Project Structure**\n\nOrganize your project directory so that you have all the necessary files in place:\n\n    gemini-ai-chat-app/\n    ├── main.py\n    └── logo-white.png\n    \nYou can change the logo name or even remove it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalterpinem%2Fgemini-api-streamlit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalterpinem%2Fgemini-api-streamlit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalterpinem%2Fgemini-api-streamlit/lists"}