GithubHelp home page GithubHelp logo

lencx / chatgpt Goto Github PK

View Code? Open in Web Editor NEW
46.9K 394.0 5.4K 30.89 MB

🔮 ChatGPT Desktop Application (Mac, Windows and Linux)

Home Page: https://nofwl.com

License: GNU Affero General Public License v3.0

Rust 94.29% Ruby 1.33% HTML 2.17% TypeScript 2.08% Shell 0.13%
application chatgpt linux macos windows tauri desktop-app openai gpt-3 rust

chatgpt's Introduction

ChatGPT

ChatGPT

ChatGPT Desktop Application (Available on Mac, Windows, and Linux)

English badge 简体中文 badge
ChatGPT downloads chat twitter youtube

Buy Me A Coffee


Note

If you want to experience a more powerful AI wrapper application, you can try the Noi (https://github.com/lencx/Noi), which is a successor to the ChatGPT desktop application concept.


This is an unofficial project solely intended for personal learning and research. Since the ChatGPT desktop application was open-sourced, it has garnered a lot of attention, and I want to thank everyone for their support. However, as the project progressed, two issues have arisen that greatly impact its future development:

  • Some individuals have repackaged and sold it for profit.
  • The name and icon of ChatGPT could potentially lead to infringement disputes.

Live Demo

📦 Install

Windows

  • ChatGPT_1.1.0_windows_x86_64.msi: Direct download installer

  • Use winget:

    # install the latest version
    winget install --id=lencx.ChatGPT -e
    
    # install the specified version
    winget install --id=lencx.ChatGPT -e --version 1.1.0

Note: If the installation path and application name are the same, it will lead to conflict (#142)

Mac

  • ChatGPT_1.1.0_macos_aarch64.dmg: Direct download installer
  • ChatGPT_1.1.0_macos_x86_64.dmg: Direct download installer
  • Homebrew
    Or you can install with Homebrew (Cask):
    brew tap lencx/chatgpt https://github.com/lencx/ChatGPT.git
    brew install --cask chatgpt --no-quarantine
    Also, if you keep a Brewfile, you can add something like this:
    repo = "lencx/chatgpt"
    tap repo, "https://github.com/#{repo}.git"
    cask "chatgpt", args: { "no-quarantine": true }

If you encounter the error message "ChatGPT" is damaged and can't be opened. You should move it to the Trash. while installing software on macOS, it may be due to security settings restrictions in macOS. To solve this problem, please try the following command in Terminal:

sudo xattr -r -d com.apple.quarantine /YOUR_PATH/ChatGPT.app

Linux

ChatGPT Prompts!

You can look at awesome-chatgpt-prompts to find interesting features to import into the app. You can also use Sync Prompts to sync all in one click, and if you don't want certain prompts to appear in your slash commands, you can disable them.

chatgpt cmd

✨ Features

  • Multi-platform: macOS Linux Windows
  • Text-to-Speech
  • Export ChatGPT history (PNG, PDF and Markdown)
  • Automatic application upgrade notification
  • Common shortcut keys
  • System tray hover window
  • Powerful menu items
  • Support for slash commands and their configuration (can be configured manually or synchronized from a file #55)
  • Customize global shortcuts (#108)
  • Pop-up Search (#122 mouse selected content, no more than 400 characters): The application is built using Tauri, and due to its security restrictions, some of the action buttons will not work, so we recommend going to your browser.

Thanks

  • The core implementation of the share button code was copied from the @liady extension with some modifications.
  • Thanks to the Awesome ChatGPT Prompts repository for inspiring the custom command function for this application.

Star History Chart

**用户

Note

如果你喜欢 ChatGPT 桌面应用,也可以关注一下 lencx/Noi,它是一个定制化的 AI 浏览器。这里有两篇使用文档,对 Noi 的理念和插件系统做了详细介绍:

国内用户如果遇到使用问题或者想交流 ChatGPT 技巧,可以关注公众号“浮之静”,发送 “chat” 进群参与讨论。公众号会更新《Tauri 系列》文章,技术思考等等,如果对 tauri 开发应用感兴趣可以关注公众号后回复 “tauri” 进技术开发群(想私聊的也可以关注公众号,来添加微信)。开源不易,如果这个项目对你有帮助可以分享给更多人,或者微信扫码打赏。

License

AGPL-3.0 License

chatgpt's People

Contributors

asheroto avatar beilunyang avatar cauyxy avatar cnyy7 avatar cyhhao avatar danielbayley avatar djdarcy avatar irene-123 avatar jacoblincool avatar karbassi avatar lencx avatar manudss avatar missuo avatar mrdulin avatar qbdq avatar rukh-debug avatar sharunkumar avatar shengwusuoxi avatar sturlen avatar targed avatar tk103331 avatar turric4n avatar vangie avatar vinchangit avatar webbertakken avatar weltonrodrigo avatar wubaiqing avatar xueweiwujxw avatar yixinbc avatar zthreefires avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatgpt's Issues

Hide Dock Icon + Main Window

Love the menubar dropdown, it's excellent! Can we get rid of the dock icon and main window altogether? 😄 It currently just 'hides' the main window when you click 'close'.

Screenshot 2022-12-15 at 15 20 21

Screenshot 2022-12-15 at 15 19 55

have the {q} tag in Edit to support where we put the caret

First, thank you for building this wonderful addon for chatgpt.

I was wondering if it's in roadmap to support the prompt expansion, so your caret goes directly to the input field (similar how snippets work)

Example:

/prompt_title TAB -> prompt description "{q} (place where you enter your query)"

Hmmm… can't reach this page

The previous version was working just fine. Don't know what happened with this one.
Could someone direct me to the older version please?

Screenshot 2022-12-24 213347

Can't add new prompts

I add prompts, go to the chat and nothing works, I return to the page for adding prompts and everything disappears there

Ability to set proxy

I was try to set proxy using proxifier but no luck. Traffic goes throught proxy but i anyways see country limitation. I was try to proxy chatgpt.exe and msedge browser wrapper process.

v0.6.1 can't sync prompts (seems like it can't access config file

Thank you for such great APP, it's much better than its offcial web version. Here is a problem:
for v0.6.1 in Win 10, I can't use prompt cmd "/", sync awesome list (no response), and even store my custom prompt. I restart ChatGPT after each operation. Is that a bug or my mistake.

[Improvement] Hide to tray upon closing

ChatGPT isn't used constantly, but mostly when required, so having it in tray instead of taskbar would be the more comfortable option.

Could you add an option which makes hiding in tray when clicking close button, as an option?
There's a option now to hide, but it's in menu, means more user actions is needed.

依赖部分不完整

源代码引用了@ant-design/icons的图标,但是package.json没有此依赖,会导致无法运行,安装图标库后可以解决这个问题
截屏2022-12-15 21 09 29

经常报错

通常说到一半时就出现这个问题,try again后又可以了。这是我网络的问题吗?

image

Copy/paste issue?

I copy some things out of the bot sometimes and when I copy from this program into microsoft word, it always produces a large text box around the pasted text. I hadn't seen this before and it's a little frustrating when I go to copy the paste from the word document. Is this intended behavior? Is there a way to disable this? Doesn't do it with other text editors, but their issue is formatting. I prefer how word formats text. I asked the bot but it had never heard of this program ;)

账号登陆逻辑

RT,我是用Microsoft的账号连入openai的,已经有账号并可以正常访问网页端chat(登陆是全局proxy),但是这个软件一直提示无法使用,感觉有点奇怪,可能和登陆逻辑有点关系,请教一下
网页访问
image

本rep的软件访问
image

Had over 20 custom prompts, new update deleted them?

Please tell me this update didn't delete my custom prompts? When the update installed, my custom prompts that I worked very hard on developing weren't there.. and I opened the config folder on windows and I don't see it there either. Man, please tell me that this update was not written in such a way to delete stuff like that.

Feature request: proxy support

For some countries like China, OpenAI's services are not available, so people in these countries can use it in the browser with a vpn, but ChatGBT is not aware of this. Is it possible to set or get proxy from browser?

Doesn't start

Latest version 0.7.0 x64 can't be run run on windows 10 x64.
What I try:

  • simple upgrade
  • uninstall and the reinstall
  • delete config file and then reinstall

Version 0.6.10 is working ok.

汉化支持

参考vscode chatgpt 插件

chatgpt作为语言模型,中文环境和英文环境区别很明显

所以提供一致的汉化界面支持很有必要~

The app is broken

So about an hour ago, the ChatGPT server goes down. When i opened the app at that moment, it shows this
209297925-2e9d3b93-1777-4395-b63b-ee237a201c64

And now the server is back online and accessible via browser, yet the app doesn't shows up the site.
209298512-5517ecb1-918d-4bf3-9952-566c5c9a424
209298518-5c472a60-a705-4557-b5c5-bf7494a67322

I tried to reinstall, but no luck. The device is WIndows 11.

无法真正退出应用程序

  1. 右键任务栏上的程序图标,点击关闭窗口无效。
    image

  2. 点击关闭按钮并没有任何提示(仅最小化这种),但实际并没有真正关闭应用程序,还挂在任务栏上。

  3. 任务栏右侧的程序小图标点击也无反应

  4. 菜单栏Quit有效。

Cloudflare "Network Error"

Upon entering a question that needs to be answered in more than 60 seconds, the AI will delete its answer after 60 seconds and show "Network Error".
I believe this is caused by Cloudflare limiting response time. If you could please fix it as soon as possible, that would be greatly appreciated. As half of the users are spamming the gpt-bugs channel on Discord.
Heres an image of the error
image

Implement topbar CharGPT icon for dark mode environment in Linux

Hello,
I'm using Arch Linux with GNOME 43 in Dark Mode and when I run the AppImage on Linux for running it, the small icon of the application hides on the dark color of the topbar (it is the second icon in black (almost invisible)):

image

It is possible to use a ChatGPT icon similar to the one in the client (so with white colors?
image

Since in the settings of the client the user can choose between Light or Dark environment in the Control Center, is it possible to set as default the Desktop environment? For example, if my Desktop Environment is already Dark, also ChatGPT client will have the Theme value set as Dark by default.

Thank you

Doesn't start

Hi,

I'm using macOS (M1), latest OS version. Installed with homebrew (like recommend in the docs). Started it and it worked (v 0.1.x). Then a popup stated that a update is available, so I updated to the latest version (0.2.x). Now it doesn't start anymore:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("invalid type: string \"{\\n    \\\"always_on_top\\\": false,\\n    \\\"theme\\\": \\\"Light\\\",\\n    \\\"titlebar\\\": true,\\n    \\\"default_origin\\\": \\\"https://chat.openai.com\\\",\\n    \\\"origin\\\": \\\"https://chat.openai.com\\\",\\n    \\\"ua_pc\\\": \\\"\\\",\\n    \\\"ua_phone\\\": \\\"\\\"\\n}\", expected struct ChatConfJson", line: 0, column: 0)', src/conf.rs:125:70
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

--> export RUST_BACKTRACE=full

/Applications/ChatGPT.app/Contents/MacOS/ChatGPT
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("invalid type: string \"{\\n    \\\"always_on_top\\\": false,\\n    \\\"theme\\\": \\\"Light\\\",\\n    \\\"titlebar\\\": true,\\n    \\\"default_origin\\\": \\\"https://chat.openai.com\\\",\\n    \\\"origin\\\": \\\"https://chat.openai.com\\\",\\n    \\\"ua_pc\\\": \\\"\\\",\\n    \\\"ua_phone\\\": \\\"\\\"\\n}\", expected struct ChatConfJson", line: 0, column: 0)', src/conf.rs:125:70
stack backtrace:
   0:        0x104adedf7 - __mh_execute_header
   1:        0x104a5054a - __mh_execute_header
   2:        0x104ab3abc - __mh_execute_header
   3:        0x104ae239b - __mh_execute_header
   4:        0x104ae2ab5 - __mh_execute_header
   5:        0x104ae26d4 - __mh_execute_header
   6:        0x104ae2638 - __mh_execute_header
   7:        0x104ae2602 - __mh_execute_header
   8:        0x104b978f3 - __mh_execute_header
   9:        0x104b97b55 - __mh_execute_header
  10:        0x104a4a194 - __mh_execute_header
  11:        0x104a0bf0b - __mh_execute_header
  12:        0x104972d34 - __mh_execute_header
  13:        0x104a0bad2 - __mh_execute_header

Some menu entries are empty

Hello,
I'm using the AppImage file for running ChatGPT desktop client and I note that some menu entries are empty. For example Edit does not spawn a list with entries:
image

and Window spawns a rectangular window but with no entries:
image

Furthermore, if I click on the menu "ChatGPT" -> "About ChatGPT", I get a window with no information:
image

OS: Arch Linux with GNOME 43
ChatGPT client version: 0.5.0

Ability to consume custom .csv prompt

Could you provide an ability to consume custom prompt links?

If i have a personal repo where I gather all of my prompts - it would be great to point to that repo.

Thanks!

关于在**地区使用的问题汇总

请大家不要再开新的 issues 了,因为它们的问题都是一样的。可以在这里进行讨论,感谢配合!

在大陆地区问题多多,是因为 openai 屏蔽了国内访问。所以关于网络问题大家需要自行解决,ChatGPT 应用并不提供网络代理或者网络配置,它只是对官网 chat.openai.com 网址的包装,扩展了一些额外的功能,仅此而已。以下这些问题都是因为网络问题或者 openai 自身问题造成的。

  • 聊天经常报错
  • 无法登录,提示国家地区不支持
  • 浏览器可以使用,但是 app 却无法使用(自身代理未能代理到系统级)

为什么不可以在 app 里支持代理,因为 app 打包依托于 Tauri,它充当内置浏览器和系统之间的胶水层,承上启下。并未看到 tauri api 有对代理相关的描述。所以总结两点:

  • 以我目前的能力,无法实现
  • 网络限制来自于第三方,在应用内部解决似乎不是很合理

相关 issues:

mac m1

.dmg seems not to satisify m1/m2 chip for mac? how to fix it?
thanks a lot.

Improve the in form move

It's probably more a openai side issue but on linux (debian testing) ctrl + arrow not move the text cursor but the current chat "tab" it's not really user friendly.

Some minor issues with the 0.5.1 update process

The installer was in Chinese for some reason. It looked like it tried to close the two ChatGPT windows I had open, but they minimized instead, so I had to close them manually via Quit, then the installation proceeded automatically. I would rather the installer communicated to me in English that I need to close the windows before it can proceed and then I press a button to manually continue the installation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.