{"id":19680670,"url":"https://github.com/gvcgo/gogpt","last_synced_at":"2025-04-29T04:31:34.279Z","repository":{"id":200681128,"uuid":"690369304","full_name":"gvcgo/gogpt","owner":"gvcgo","description":"A GPT TUI client with proxy supported.","archived":false,"fork":false,"pushed_at":"2024-02-15T14:23:45.000Z","size":2063,"stargazers_count":13,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-05T13:11:10.102Z","etag":null,"topics":["chatgpt","client","go","golang","iflytek","iflytek-spark","openai","proxy","spark","tui","xf-spark","xunfei","xunfei-spark"],"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/gvcgo.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-09-12T04:13:05.000Z","updated_at":"2025-03-13T04:28:53.000Z","dependencies_parsed_at":"2024-02-14T03:20:51.055Z","dependency_job_id":"24f97ea0-9ce3-40a0-ab30-b074e09d1cbd","html_url":"https://github.com/gvcgo/gogpt","commit_stats":null,"previous_names":["moqsien/gogpt","gvcgo/gogpt"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvcgo%2Fgogpt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvcgo%2Fgogpt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvcgo%2Fgogpt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvcgo%2Fgogpt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gvcgo","download_url":"https://codeload.github.com/gvcgo/gogpt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251432838,"owners_count":21588664,"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":["chatgpt","client","go","golang","iflytek","iflytek-spark","openai","proxy","spark","tui","xf-spark","xunfei","xunfei-spark"],"created_at":"2024-11-11T18:05:41.975Z","updated_at":"2025-04-29T04:31:33.884Z","avatar_url":"https://github.com/gvcgo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Demo\n[![asciicast](https://asciinema.org/a/617183.svg)](https://asciinema.org/a/617183)\n\n### Gogpt是什么？\n\n---------------\n\n**Gogpt** 是一个非常简洁直观的基于[TUI](https://github.com/charmbracelet/bubbletea)的GPT客户端.\n支持ChatGPT(3.5, 4.0)和讯飞星火(1.1, 2.1, 3.1)。\n\n### 安装使用\n\n---------------\n\n- 从releases下载，解压可得到可执行文件，支持Win/Mac/Linux。\n- 编译安装。\n```bash\ngo install github.com/moqsien/gogpt/tree/main/pkgs/cmd/gogptm@latest\n```\n- 你也可以安装(下载或者自行编译)[gvc](https://github.com/moqsien/gvc), gvc是一个超级强大的本地开发环境管理工具，已经集成了gogpt。\n\n```text\n\"→\" 切换到下一个Tab\n\n\"←\" 切换到上一个Tab\n\n\"ctrl+w\" 在ChatGPT和讯飞星火之间切换。\n```\n\n### 配置(Configuration Tab，使用左右箭头切换Tab)\n\u003cimg src=\"https://github.com/moqsien/gogpt/blob/main/docs/gogpt_config.png\" width=\"85%\"\u003e\n\n### 功能描述\n\n---------------\n- 比[j178](https://github.com/j178/chatgpt)更好用。\n---------------\n- 支持本地代理配置(http或者socks5)。\n- 可以在TUI界面进行配置，无需手动编辑json文件或者设置环境变量等。\n- 更简洁直观的界面，无冗余功能。\n- 更多的Prompt选择，支持170+项选择。也可以自行在Configuration页面定制。\n\n### 感谢\n- [go-openai](https://github.com/sashabaranov/go-openai)\n- [bubbletea](https://github.com/charmbracelet/bubbletea)\n- [chatgpt](https://github.com/j178/chatgpt)\n\n### 特别说明\n\n本项目参考了[chatgpt](https://github.com/j178/chatgpt)。绝大部分代码进行了重新设计。剔除了没有太多用的功能。\n增加了界面配置，本地代理支持。\n最开始，本来想将[chatgpt](https://github.com/j178/chatgpt)集成到[gvc](https://github.com/moqsien/gvc)中，但是发现一些代码属于包内私有，给作者提过issue，但不幸遭拒。\n后来想想，可以使用其中一部分，其余自行实现。结果在还未完全实现之前，被作者拉黑了，导致无法fork该项目。原因在于当时功能尚未完成，所以没有在[gvc](https://github.com/moqsien/gvc)的感谢中添加[chatgpt](https://github.com/j178/chatgpt)项目。这，确实有点尴尬……所以，后来把[gvc](https://github.com/moqsien/gvc)中，关于[chatgpt](https://github.com/j178/chatgpt)的引用都删了。\n直到最近，有空了，所以，重新另起炉灶，做一个满足自己功能需求的基于TUI的Chatgpt客户端。\n\n最后，特别感谢[chatgpt](https://github.com/j178/chatgpt)项目。没有这个项目，就没有gogpt。\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n---------------\n\n### What's gogpt?\n\n---------------\n\n**Gogpt** is a simple client for GPT based on [TUI](https://github.com/charmbracelet/bubbletea).\nOpenai chatgpt(3.5, 4.0) and Iflytek spark(1.1, 2.1, 3.1) are supported.\n\n### Install\n\n---------------\n\n- Download zip file from releases, decompress, use the binaries for Win/Mac/Linux.\n- Compile and install.\n```bash\ngo install github.com/moqsien/gogpt/tree/main/pkgs/cmd/gogptm@latest\n```\n- You can also download binaries or complie from source code from [gvc](https://github.com/moqsien/gvc). GVC has [gogpt](https://github.com/moqsien/gvc#subcommand-gpt) integrated.\n```text\n\"→\" Switch to next Tab\n\n\"←\" Switch to previous Tab\n\n\"ctrl+w\" Switch between Chatgpt and Spark.\n```\n\n### Features\n\n---------------\n- Easier to use than [j178](https://github.com/j178/chatgpt).\n---------------\n- Local proxy settings.\n- Configurations in TUI.\n- More simple and intuitive Interface.\n- More chatgpt prompt choices.\n\n### Thanks to\n- [go-openai](https://github.com/sashabaranov/go-openai)\n- [bubbletea](https://github.com/charmbracelet/bubbletea)\n- [chatgpt](https://github.com/j178/chatgpt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgvcgo%2Fgogpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgvcgo%2Fgogpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgvcgo%2Fgogpt/lists"}