{"id":25753778,"url":"https://github.com/mrgeislinger/ai-chat-ui","last_synced_at":"2026-04-16T02:31:08.105Z","repository":{"id":212411867,"uuid":"731436551","full_name":"MrGeislinger/ai-chat-ui","owner":"MrGeislinger","description":"A simple proof of concept to build a UI to interact with an AI (via Google's Gemini API)","archived":false,"fork":false,"pushed_at":"2023-12-14T19:44:39.000Z","size":1726,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T06:30:39.008Z","etag":null,"topics":["ai","chatbot","gemini-api","streamlit"],"latest_commit_sha":null,"homepage":"","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/MrGeislinger.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":"2023-12-14T04:40:58.000Z","updated_at":"2025-05-24T15:03:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"61f603ab-4650-4490-8f14-12af7abc8663","html_url":"https://github.com/MrGeislinger/ai-chat-ui","commit_stats":null,"previous_names":["mrgeislinger/ai-chat-ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MrGeislinger/ai-chat-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrGeislinger%2Fai-chat-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrGeislinger%2Fai-chat-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrGeislinger%2Fai-chat-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrGeislinger%2Fai-chat-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrGeislinger","download_url":"https://codeload.github.com/MrGeislinger/ai-chat-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrGeislinger%2Fai-chat-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31868487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","gemini-api","streamlit"],"created_at":"2025-02-26T15:29:20.455Z","updated_at":"2026-04-16T02:31:08.099Z","avatar_url":"https://github.com/MrGeislinger.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Chat UI (Proof of Concept)\n\nThis demonstrates a simple UI (using Streamlit's [Chat elements](https://docs.streamlit.io/library/api-reference/chat)) that uses interacts with an AI via an api (Google's [Gemini model](https://ai.google.dev/docs/gemini_api_overview) here).\n\n## Demo\n![](media/demo-ai-chat-ui-with-gemini-victorgeislinger.gif)\n\n\n## Install\n\n0. Ideally create a new Python environment (`venv`, `conda`, etc.).\n    - Tested on Python 3.11.5\n1. Run `pip install -r requirements.txt` to install relevant packages.\n2. Get an API key from Google's Google AI Studio formerly [MakerSuite](https://makersuite.google.com/app/apikey).\n    - See the Gemini API [docs](https://ai.google.dev/tutorials/setup) for more details.\n3. Add your API key as an environment variable called `GOOGLE_API_KEY`.\n    - If you are on a Mac, this likely is editing `~/.zshrc` or `~/.bashrc` and adding `export GOOGLE_API_KEY=...` with your own key. Make sure you reload the shell.\n    - If you're having trouble and like to just get it to work, you can change the app script `app_chat.py` so the variable `GOOGLE_API_KEY` is set to the string value of your key. Note this is a bit more risky but probably fine if you're testing out without public access.\n4. Run in your terminal: `streamlit run app_chat.py`.\n    - When using a Python environment, make sure `streamlit` is the correct one associated with your environment. Seen some weirdness before with `conda` and the shell not picking up the correct `streamlit`; had to manually call it with something like `MyUser/conda/envs/my_env/bin/streamlit`.\n5. Browser should open where you can now interact with the UI! Otherwise, you might have to go to http://localhost:8501/ manually.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrgeislinger%2Fai-chat-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrgeislinger%2Fai-chat-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrgeislinger%2Fai-chat-ui/lists"}