项目详情
深入了解 ChatGPT 的功能与特性
ChatGPT
ChatGPT 桌面应用(Mac, Windows and Linux)
它是一个非官方项目,仅供个人学习研究。ChatGPT 桌面应用开源的这段时间,受到了很多关注,谢谢大家的支持。随着事情的发展,有两个问题严重影响了项目的下一步开发计划:
- 有人利用它进行二次打包销售,谋取私利
- ChatGPT 因名称和图标问题可能会涉及侵权
新仓库:https://github.com/lencx/nofwl
🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
深入了解 ChatGPT 的功能与特性
ChatGPT 桌面应用(Mac, Windows and Linux)
它是一个非官方项目,仅供个人学习研究。ChatGPT 桌面应用开源的这段时间,受到了很多关注,谢谢大家的支持。随着事情的发展,有两个问题严重影响了项目的下一步开发计划:
新仓库:https://github.com/lencx/nofwl
发现更多类似的优秀工具
bash1# install the latest version 2winget install --id=lencx.ChatGPT -e 3 4# install the specified version 5winget install --id=lencx.ChatGPT -e --version 0.10.0
注意:如果安装路径和应用名称相同,会导致冲突 (#142)
如果你坚持使用 Brewfile ,则需要添加以下配置:sh1brew tap lencx/chatgpt https://github.com/lencx/ChatGPT.git 2brew install --cask chatgpt --no-quarantine
rb1repo = "lencx/chatgpt" 2tap repo, "https://github.com/#{repo}.git" 3cask "chatgpt", args: { "no-quarantine": true }
如果在 macOS 上安装软件时遇到 “ChatGPT” is damaged and can't be opened. You should move it to the Trash. 错误消息,可能是由于 macOS 安全设置的限制导致的。为了解决此问题,请在终端尝试以下命令:
bash1sudo xattr -r -d com.apple.quarantine /YOUR_PATH/ChatGPT.app
.deb 运行失败时可以尝试它这是一个令人兴奋的重大更新。像 Telegram 机器人指令 那样工作,帮助你快速填充自定模型,来让 ChatGPT 按照你想要的方式去工作。这个项目倾注了我大量业余时间,如果它对你有所帮助,宣传转发,或者 star 都是对我的巨大鼓励。我希望我可以持续更新下去,加入更多有趣的功能。
你可以从 awesome-chatgpt-prompts 来寻找有趣的功能来导入到应用。也可以使用 Sync Prompts,来一键同步所有,如果你不想让某些提示出现在你的斜杠命令,你可以禁用它们。

在 ChatGPT 文本输入区域,键入 / 开头的字符,则会弹出指令提示,按下空格键,它会默认将命令关联的文本填充到输入区域(注意:如果包含多个指令提示,它只会选择第一个作为填充,你可以持续输入,直到第一个提示命令为你想要时,再按下空格键。或者使用鼠标来点击多条指令中的某一个)。填充完成后,你只需要按下回车键即可。斜杠命令下,使用 TAB 键修改 {q} 标签内容(仅支持单个修改 #54)。使用键盘 ⇧ 和 ⇩(上下键)来选择斜杠指令。

Theme - Light, Dark, System (仅支持 macOS 和 Windows)Stay On Top: 窗口置顶Titlebar: 是否显示 Titlebar,仅 macOS 支持Hide Dock Icon (#35): 隐藏 Dock 中的应用图标 (仅 macOS 支持)
Show Dock Icon 可以重新将应用图标显示在 Dock(SystemTrayMenu -> Show Dock Icon)Control Center: ChatGPT 应用的控制中心,它将为应用提供无限的可能
Theme,Stay On Top,Titlebar 等User Agent (#17): 自定义 user agent 防止网站安全检测,默认值为空Go to Config: 打开 ChatGPT 配置目录 (path: ~/.chatgpt/*)Clear Config: 清除 ChatGPT 配置数据 (path: ~/.chatgpt/*), 这是危险操作,请提前备份数据Restart ChatGPT: 重启应用。如果注入脚本编辑完成,或者应用可卡死可以通过此菜单重新启动应用Undo, Redo, Cut, Copy, SelectAll, ...Go Back, Go Forward, Scroll to Top of Screen, Scroll to Bottom of Screen, Refresh the Screen, ...Update Log: ChatGPT 应用更新日志Report Bug: 报告 BUG 或反馈建议Toggle Developer Tools: 网站调试工具,调试页面或脚本可能需要| 平台 | 路径 |
|---|---|
| Linux | /home/lencx/.chatgpt |
| macOS | /Users/lencx/.chatgpt |
| Windows | C:\Users\lencx\.chatgpt |
[.chatgpt] - 应用配置根路径
chat.conf.json - 应用喜好配置chat.prompt.json - ChatGPT 输入提示,通过斜杠命令来快速完成输入,主要包含三部分:
user_custom - 需要手动录入 (Control Conter -> Prompts -> User Custom)sync_prompts - 从 f/awesome-chatgpt-prompts 同步数据 (Control Conter -> Prompts -> Sync Prompts)sync_custom - 同步自定义的 json 或 csv 文件数据,支持本地和远程 (Control Conter -> Prompts -> Sync Custom)chat.prompt.cmd.json - 过滤(是否启用)和排序处理后的斜杠命令数据[cache_prompts] - 缓存同步或录入的数据
chatgpt_prompts.json - 缓存 sync_prompts 数据user_custom.json - 缓存 user_custom 数据ae6cf32a6f8541b499d6bfe549dbfca3.json - 随机生成的文件名,缓存 sync_custom 数据4f695d3cfbf8491e9b1f3fab6d85715c.json - 随机生成的文件名,缓存 sync_custom 数据bd1b96f15a1644f7bd647cc53073ff8f.json - 随机生成的文件名,缓存 sync_custom 数据目前同步自定文件仅支持 json 和 csv,且需要满足以下格式,否则会导致应用异常:
JSON 格式
json1[ 2 { 3 "cmd": "a", 4 "act": "aa", 5 "prompt": "aaa aaa aaa" 6 }, 7 { 8 "cmd": "b", 9 "act": "bb", 10 "prompt": "bbb bbb bbb" 11 } 12]
CSV 格式
csv1"cmd","act","prompt" 2"a","aa","aaa aaa aaa" 3"b","bb","bbb bbb bbb"

如果升级应用后无法打开,请尝试清除配置,它位于此目录 ~/.chatgpt/*。
可通过菜单项里的 Restart ChatGPT 重启应用来修复这个问题(Menu -> Preferences -> Restart ChatGPT)。
它是安全的,仅仅只是对 OpenAI ChatGPT 网站的包装,注入了一些额外功能(均在本地,未发起网络请求),如果存疑,可以检查源代码。
Mac 上无法安装,提示开发者未验证,具体可以查看下面给出的解决方案(它是开源的,很安全)。
bash1# step1: 克隆仓库 2git clone https://github.com/lencx/ChatGPT.git 3 4# step2: 进入目录 5cd ChatGPT 6 7# step3: 安装依赖 8yarn 9 10# step4: 开发启动 11yarn dev 12 13# step5: 构建应用 14# 构建后的安装包位置: src-tauri/target/release/bundle 15yarn build
国内用户如果遇到使用问题或者想交流 ChatGPT 技巧,可以关注公众号“浮之静”,发送 “chat” 进群参与讨论。公众号会更新《Tauri 系列》文章,技术思考等等,如果对 tauri 开发应用感兴趣可以关注公众号后回复 “tauri” 进技术开发群(想私聊的也可以关注公众号,来添加微信)。开源不易,如果这个项目对你有帮助可以分享给更多人,或者微信扫码打赏。

AGPL-3.0 License