{"id":20144962,"url":"https://github.com/michalswi/chat-ai","last_synced_at":"2026-05-19T09:04:40.881Z","repository":{"id":251376852,"uuid":"836719602","full_name":"michalswi/chat-ai","owner":"michalswi","description":"Go app to chat with Gemini (VertexAI) and ChatGPT (OpenAI)","archived":false,"fork":false,"pushed_at":"2024-11-20T14:26:12.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T10:51:11.080Z","etag":null,"topics":["ai","chatgpt","gemini","openai","vertex-ai"],"latest_commit_sha":null,"homepage":"","language":"Go","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/michalswi.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":"2024-08-01T12:19:43.000Z","updated_at":"2024-10-04T13:10:25.000Z","dependencies_parsed_at":"2024-08-02T15:44:32.810Z","dependency_job_id":"fe573175-bc32-4c1a-bd3a-c5ca73b78ecc","html_url":"https://github.com/michalswi/chat-ai","commit_stats":null,"previous_names":["michalswi/chat-ai"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalswi%2Fchat-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalswi%2Fchat-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalswi%2Fchat-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalswi%2Fchat-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michalswi","download_url":"https://codeload.github.com/michalswi/chat-ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241587858,"owners_count":19986628,"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","chatgpt","gemini","openai","vertex-ai"],"created_at":"2024-11-13T22:12:59.475Z","updated_at":"2026-05-19T09:04:35.834Z","avatar_url":"https://github.com/michalswi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chat-ai\n\n![](https://img.shields.io/github/stars/michalswi/chat-ai)\n![](https://img.shields.io/github/issues/michalswi/chat-ai)\n![](https://img.shields.io/github/forks/michalswi/chat-ai)\n![](https://img.shields.io/github/last-commit/michalswi/chat-ai)\n![](https://img.shields.io/github/release/michalswi/chat-ai)\n\n\n**Terminal based AI chat powered by ChatGPT and Gemini.**\n\nGo app to transform text files into AI-powered reviews is [here](https://github.com/michalswi/file-go-openai) .\n\n```\n$ ./chat-ai -h\n  -p string\n    \tAI provider [chatgpt, gemini]\n```\n\n### ChatGPT (OpenAI)\n\n- keep context (conversation continuity) between queries in the same session\n- queries (answer+question) are kept in the local file\n\n```\nexport API_KEY=\u003c\u003e\n\n./chat-ai -p chatgpt\n```\n\n### Gemini\n\n- **[not implemented]** keep context (conversation continuity) between queries in the same session\n- **[not implemented]** queries (answer+question) are kept in the local file\n\n```\nexport VAI_PROJECT_ID=\u003c\u003e\nexport API_KEY=\u003c\u003e\u003e.json\nexport VAI_REGION=\u003c\u003e\n\n./chat-ai -p gemini\n```\n\n### example\n\n```\n\u003e chatgpt chat-ai\n\n$ ./chat-ai -p chatgpt\nThu, 03 Oct 2024 16:16:05 UTC [chat-ai:chatgpt]: hello, my name is john\n\u003e Waiting for ChatGPT..\nHello, John! How can I assist you today?\nThu, 03 Oct 2024 16:16:10 UTC [chat-ai:chatgpt]: what is my name?\n\u003e Waiting for ChatGPT..\nYour name is John. How can I help you today?\nThu, 03 Oct 2024 16:16:21 UTC [chat-ai:chatgpt]: what was my previous question?\n\u003e Waiting for ChatGPT..\nYour previous question was, \"what is my name?\" If you have any more questions or need assistance, feel free to ask!\nThu, 03 Oct 2024 16:16:41 UTC [chat-ai:chatgpt]: q\nExiting chat. bye!\n\n\n\u003e gemini chat-ai\n\n$ ./chat-ai -p gemini\nFri, 02 Aug 2024 13:59:58 UTC [chat-ai:gemini]: hello\n\u003e Waiting for Gemini..\nHello! 👋  How can I help you today? 😊\n\nFri, 02 Aug 2024 14:00:02 UTC [chat-ai:gemini]: q\nExiting chat. bye!\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichalswi%2Fchat-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichalswi%2Fchat-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichalswi%2Fchat-ai/lists"}