https://github.com/lencx/ChatGPT Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code + Explore + All features + Documentation + GitHub Skills + Blog * Solutions + For + Enterprise + Teams + Startups + Education + By Solution + CI/CD & Automation + DevOps + DevSecOps + Case Studies + Customer Stories + Resources * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles + Repositories + Topics + Trending + Collections * Pricing [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} lencx / ChatGPT Public * Notifications * Fork 91 * Star 1.3k ChatGPT Desktop Application (Mac, Windows and Linux) License Apache-2.0 license 1.3k stars 91 forks Star Notifications * Code * Issues 7 * Pull requests 0 * Discussions * Actions * Security * Insights More * Code * Issues * Pull requests * Discussions * Actions * Security * Insights lencx/ChatGPT This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 2 branches 28 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/l] Use Git or checkout with SVN using the web URL. [gh repo clone lencx/] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @lencx lencx Merge pull request #78 from lencx/dev ... a07c85a Dec 25, 2022 Merge pull request #78 from lencx/dev a07c85a Git stats * 191 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github/workflows fix: action Dec 23, 2022 .vscode init Dec 7, 2022 assets readme Dec 23, 2022 casks Add Homebrew Cask Dec 10, 2022 public readme Dec 13, 2022 scripts readme Dec 17, 2022 src-tauri v0.6.10 Dec 25, 2022 src fix: windows sync Dec 25, 2022 .gitattributes ignore Dec 16, 2022 .gitignore chore: add fe Dec 15, 2022 AWESOME.md chore: control center Dec 15, 2022 LICENSE License Dec 13, 2022 README-ZH_CN.md fix: windows sync Dec 25, 2022 README.md fix: windows sync Dec 25, 2022 UPDATE_LOG.md fix: windows sync Dec 25, 2022 chat.model.md feat: chatgpt prompts Dec 16, 2022 index.html chore: add fe Dec 15, 2022 package.json chore: sync Dec 22, 2022 tsconfig.json chore: control center Dec 15, 2022 tsconfig.node.json chore: add fe Dec 15, 2022 vite.config.ts chore: dashboard Dec 15, 2022 View code [ ] ChatGPT Downloads Install Announcement How does it work? Features MenuItem Application Configuration Sync Custom TODO Preview FAQ Can't open ChatGPT Out of sync login status between multiple windows Is it safe? Developer cannot be verified? How do i build it? PreInstall Start [?] Thanks Zhong Guo Yong Hu License README.md ChatGPT ChatGPT ChatGPT Desktop Application English badge Jian Ti Zhong Wen badge ChatGPT downloads chat lencx Awesome ChatGPT Downloads Update Log Latest: * Mac: ChatGPT_0.6.10_x64.dmg * Linux: chat-gpt_0.6.10_amd64.deb * Windows: ChatGPT_0.6.10_x64_en-US.msi 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 "chatgpt", 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). 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. Under the slash command, use the tab key to modify the contents of the {q} tag (only single changes are supported #54). chatgpt chatgpt-cmd 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 * Support for slash commands and their configuration (can be configured manually or synchronized from a file #55) 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). o 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. o Theme, Stay On Top, Titlebar, ... o User Agent (#17): Custom user agent, which may be required in some scenarios. The default value is the empty string. o 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. Application Configuration Platform Path Linux /home/lencx/.chatgpt macOS /Users/lencx/.chatgpt Windows C:\Users\lencx\.chatgpt * [.chatgpt] - application configuration root folder + chat.conf.json - preferences configuration + chat.model.json - prompts configuration,contains three parts: o user_custom - Requires manual data entry (Control Conter -> Language Model -> User Custom) o sync_prompts - Synchronizing data from f/ awesome-chatgpt-prompts (Control Conter -> Language Model -> Sync Prompts) o sync_custom - Synchronize custom json and csv file data, support local and remote (Control Conter -> Language Model -> Sync Custom) + chat.model.cmd.json - filtered (whether to enable) and sorted slash commands + [cache_model] - caching model data o chatgpt_prompts.json - Cache sync_prompts data o user_custom.json - Cache user_custom data o ae6cf32a6f8541b499d6bfe549dbfca3.json - Randomly generated file names, cache sync_custom data o 4f695d3cfbf8491e9b1f3fab6d85715c.json - Randomly generated file names, cache sync_custom data o bd1b96f15a1644f7bd647cc53073ff8f.json - Randomly generated file names, cache sync_custom data Sync Custom Currently, only json and csv are supported for synchronizing custom files, and the following formats need to be met, otherwise the application will be abnormal: JSON format: [ { "cmd": "a", "act": "aa", "prompt": "aaa aaa aaa" }, { "cmd": "b", "act": "bb", "prompt": "bbb bbb bbb" } ] CSV format "cmd","act","prompt" "a","aa","aaa aaa aaa" "b","bb","bbb bbb bbb" 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? * Open a Mac app from an unidentified developer How do i build it? PreInstall * Rust * VS Code + rust-analyzer + tauri 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 Zhong Guo Yong Hu Guo Nei Yong Hu Ru Guo Yu Dao Shi Yong Wen Ti Huo Zhe Xiang Jiao Liu ChatGPT Ji Qiao ,Ke Yi Guan Zhu Gong Zhong Hao "Fu Zhi Jing ",Fa Song "chat" Jin Qun Can Yu Tao Lun . Gong Zhong Hao Hui Geng Xin <> Wen Zhang ,Ji Zhu Si Kao Deng Deng ,Ru Guo Dui tauri Kai Fa Ying Yong Gan Xing Qu Ke Yi Guan Zhu Gong Zhong Hao Hou Hui Fu "tauri" Jin Ji Zhu Kai Fa Qun (Xiang Si Liao De Ye Ke Yi Guan Zhu Gong Zhong Hao ,Lai Tian Jia Wei Xin ). Kai Yuan Bu Yi ,Ru Guo Zhe Ge Xiang Mu Dui Ni You Bang Zhu Ke Yi Fen Xiang Gei Geng Duo Ren ,Huo Zhe Wei Xin Sao Ma Da Shang . [207228300-ea5c4688-c916-] [207228025-117b5f77-c5d2-48c] License Apache License About ChatGPT Desktop Application (Mac, Windows and Linux) Topics desktop-app windows macos linux application openai tauri gpt-3 chatgpt Resources Readme License Apache-2.0 license Stars 1.3k stars Watchers 11 watching Forks 91 forks Releases 16 ChatGPT v0.6.10 Latest Dec 25, 2022 + 15 releases Packages 0 No packages published Contributors 3 * @lencx lencx lencx * @danielbayley danielbayley Daniel Bayley * @JacobLinCool JacobLinCool JacobLinCool Languages * Rust 94.9% * TypeScript 2.5% * Ruby 1.8% * HTML 0.8% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.