1
0
mirror of https://github.com/lencx/ChatGPT.git synced 2024-10-01 01:06:13 -04:00
🔮 ChatGPT Desktop Application (Mac, Windows and Linux)
Go to file
2022-12-23 02:23:36 +08:00
.github/workflows chore: add fe 2022-12-15 11:39:27 +08:00
.vscode init 2022-12-07 18:22:18 +08:00
assets chore: add chatgpt gif 2022-12-17 17:31:29 +08:00
casks Add Homebrew Cask 2022-12-10 17:30:51 +00:00
public chore: dashboard 2022-12-15 11:39:27 +08:00
scripts readme 2022-12-17 17:39:10 +08:00
src chore: sync record 2022-12-23 02:23:36 +08:00
src-tauri chore: sync 2022-12-23 00:43:58 +08:00
.gitattributes ignore 2022-12-16 18:43:41 +08:00
.gitignore chore: add fe 2022-12-15 11:39:27 +08:00
AWESOME.md chore: control center 2022-12-15 11:39:27 +08:00
chat.model.json chore: model 2022-12-20 14:49:56 +08:00
chat.model.md feat: chatgpt prompts 2022-12-16 19:58:40 +08:00
index.html chore: add fe 2022-12-15 11:39:27 +08:00
LICENSE License 2022-12-13 14:21:23 +08:00
package.json chore: sync 2022-12-22 08:59:58 +08:00
README-ZH_CN.md readme 2022-12-20 01:14:26 +08:00
README.md readme 2022-12-20 01:14:26 +08:00
tsconfig.json chore: control center 2022-12-15 11:39:27 +08:00
tsconfig.node.json chore: add fe 2022-12-15 11:39:27 +08:00
UPDATE_LOG.md chore: sync 2022-12-23 00:43:58 +08:00
vite.config.ts chore: dashboard 2022-12-15 11:39:27 +08:00

ChatGPT

ChatGPT

ChatGPT Desktop Application

English badge 简体中文 badge

ChatGPT downloads chat lencx

Awesome ChatGPT

📦 Downloads

📝 Update Log

Latest:

Other version...

Install

Easily 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 "popcorn-time", args: { "no-quarantine": true }

📢 Announcement

This is a major and exciting update. It works like a Telegram bot command and helps you quickly populate custom models to make chatgpt work the way you want it to. This project has taken a lot of my spare time, so if it helps you, please help spread the word or star it would be a great encouragement to me. I hope I can keep updating it and adding more interesting features.

How does it work?

You can look at awesome-chatgpt-prompts to find interesting features to import into the app.

chat cmd chat cmd

After the data import is done, you can restart the app to make the configuration take effect (Menu -> Preferences -> Restart ChatGPT).

The project maintains a list of common commands, or you can copy chat.model.json directly to your local directory ~/.chatgpt/chat.model.json

In the chatgpt text input area, type a character starting with / to bring up the command prompt, press the spacebar, and it will fill the input area with the text associated with the command by default (note: if it contains multiple command prompts, it will only select the first one as the fill, you can keep typing until the first prompted command is the one you want, then press the spacebar. Or use the mouse to click on one of the multiple commands). When the fill is complete, you simply press the Enter key.

chatgpt

Features

  • Multi-platform: macOS Linux Windows
  • Export ChatGPT history (PNG, PDF and Share Link)
  • Automatic application upgrade notification
  • Common shortcut keys
  • System tray hover window
  • Powerful menu items
  • Shortcut command typing chatgpt prompt

MenuItem

  • Preferences
    • Theme - Light, Dark (Only macOS and Windows are supported).
    • Stay On Top: The window is stay on top of other windows.
    • Titlebar: Whether to display the titlebar, supported by macOS only.
    • Hide Dock Icon (#35): Hide application icons from the Dock(support macOS only).
      • Right-click on the SystemTray to open the menu, then click Show Dock Icon in the menu item to re-display the application icon in the Dock (SystemTrayMenu -> Show Dock Icon).
    • Inject Script: Using scripts to modify pages.
    • Control Center: The control center of ChatGPT application, it will give unlimited imagination to the application.
      • Theme, Stay On Top, Titlebar, ...
      • User Agent (#17): Custom user agent, which may be required in some scenarios. The default value is the empty string.
      • Switch Origin (#14): Switch the site source address, the default is https://chat.openai.com, please make sure the mirror site UI is the same as the original address. Otherwise, some functions may not be available.
    • Go to Config: Open the configuration file directory (path: ~/.chatgpt/*).
    • Clear Config: Clear the configuration file (path: ~/.chatgpt/*), dangerous operation, please backup the data in advance.
    • Restart ChatGPT: Restart the application, for example: the program is stuck or the injection script can take effect by restarting the application after editing.
    • Awesome ChatGPT: Recommended Related Resources.
  • Edit - Undo, Redo, Cut, Copy, SelectAll, ...
  • View - Go Back, Go Forward, Scroll to Top of Screen, Scroll to Bottom of Screen, Refresh the Screen, ...
  • Help
    • Update Log: ChatGPT changelog.
    • Report Bug: Report a bug or give feedback.
    • Toggle Developer Tools: Developer debugging tools.

TODO

  • Web access capability (#20)
  • Control Center - Feature Enhancements
  • ...

👀 Preview

install control center export tray tray login auto update


Buy Me A Coffee

FAQ

Can't open ChatGPT

If you cannot open the application after the upgrade, please try to clear the configuration file, which is in the ~/.chatgpt/* directory.

Out of sync login status between multiple windows

If you have already logged in in the main window, but the system tray window shows that you are not logged in, you can fix it by restarting the application (Menu -> Preferences -> Restart ChatGPT).

Is it safe?

It's safe, just a wrapper for OpenAI ChatGPT website, no other data transfer exists (you can check the source code).

Developer cannot be verified?

How do i build it?

PreInstall

Start

# step1:
git clone https://github.com/lencx/ChatGPT.git

# step2:
cd ChatGPT

# step3: install deps
yarn

# step4:
yarn dev

# step5:
# bundle path: src-tauri/target/release/bundle
yarn build

❤️ 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

中国用户

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

License

Apache License