1
0
mirror of https://github.com/lencx/ChatGPT.git synced 2024-10-01 01:06:13 -04:00
Unofficial_ChatGPT_Client/README.md

147 lines
5.2 KiB
Markdown
Raw Normal View History

2022-12-07 07:02:31 -05:00
<p align="center">
<img width="180" src="./logo.png" alt="ChatGPT">
<h1 align="center">ChatGPT</h1>
</p>
> ChatGPT Desktop Application
2022-12-12 23:47:20 -05:00
[![English badge](https://img.shields.io/badge/%E8%8B%B1%E6%96%87-English-blue)](./README.md)
[![中文版 badge](https://img.shields.io/badge/%E4%B8%AD%E6%96%87-Traditional%20Chinese-blue)](./README-ZH.md)
2022-12-10 12:55:30 -05:00
[![ChatGPT downloads](https://img.shields.io/github/downloads/lencx/ChatGPT/total.svg?style=flat-square)](https://github.com/lencx/ChatGPT/releases)
[![lencx](https://img.shields.io/twitter/follow/lencx_.svg?style=social)](https://twitter.com/lencx_)
2022-12-09 01:02:13 -05:00
[Awesome ChatGPT](./AWESOME.md)
2022-12-12 03:26:09 -05:00
## 📦 Downloads
2022-12-07 23:22:27 -05:00
2022-12-12 01:12:29 -05:00
[📝 Update Log](./UPDATE_LOG.md)
2022-12-09 23:18:35 -05:00
<!-- download start -->
2022-12-07 23:22:27 -05:00
**Latest:**
2022-12-12 06:25:08 -05:00
- `Mac`: [ChatGPT_0.2.1_x64.dmg](https://github.com/lencx/ChatGPT/releases/download/v0.2.1/ChatGPT_0.2.1_x64.dmg)
- `Linux`: [chat-gpt_0.2.1_amd64.deb](https://github.com/lencx/ChatGPT/releases/download/v0.2.1/chat-gpt_0.2.1_amd64.deb)
- `Windows`: [ChatGPT_0.2.1_x64_en-US.msi](https://github.com/lencx/ChatGPT/releases/download/v0.2.1/ChatGPT_0.2.1_x64_en-US.msi)
2022-12-07 23:22:27 -05:00
[Other version...](https://github.com/lencx/ChatGPT/releases)
2022-12-07 08:00:19 -05:00
2022-12-09 23:18:35 -05:00
<!-- download end -->
2022-12-12 03:26:09 -05:00
### Install
2022-12-10 12:29:20 -05:00
Easily install with _[Homebrew](https://brew.sh) ([Cask](https://docs.brew.sh/Cask-Cookbook)):_
~~~ sh
brew tap lencx/chatgpt https://github.com/lencx/ChatGPT.git
brew install --cask chatgpt --no-quarantine
~~~
Also, if you keep a _[Brewfile](https://github.com/Homebrew/homebrew-bundle#usage)_, you can add something like this:
~~~ rb
repo = "lencx/chatgpt"
tap repo, "https://github.com/#{repo}.git"
cask "popcorn-time", args: { "no-quarantine": true }
~~~
2022-12-12 01:12:29 -05:00
## ✨ Features
2022-12-07 07:02:31 -05:00
- multi-platform: `macOS` `Linux` `Windows`
2022-12-09 14:23:29 -05:00
- export ChatGPT history (PNG, PDF and Share Link)
- always on top (whether the window should always be on top of other windows)
2022-12-07 07:02:31 -05:00
- inject script
- auto updater
2022-12-07 08:06:51 -05:00
- app menu
2022-12-10 09:25:29 -05:00
- tray window
2022-12-07 08:06:51 -05:00
- shortcut
2022-12-07 07:02:31 -05:00
2022-12-11 13:11:29 -05:00
### Menu
- **Preferences**
- `Theme` - `Light`, `Dark` (Only macOS and Windows are supported).
- `Always On Top`: Window is always on top of other windows.
- `Titlebar`: Only supports macOS.
2022-12-12 06:19:10 -05:00
- `User Agent` ([#17](https://github.com/lencx/ChatGPT/issues/17)): Customize `user agent` to prevent security detection interception. Default is empty string.
- `Inject Script`: User scripts that can modify web pages.
2022-12-11 13:11:29 -05:00
- `Switch Origin` ([#14](https://github.com/lencx/ChatGPT/issues/14)): Modify website address, the default is `https://chat.openai.com`. Please ensure that the mirror address is consistent with the UI of the original URL, otherwise the export function will fail.
2022-12-11 23:40:15 -05:00
- `Clear Config`: Clear all chatgpt configuration files (`path: ~/.chatgpt/*`), dangerous operation, please backup data.
2022-12-12 06:19:10 -05:00
- `Restart ChatGPT`: After editing the injection script file, you can restart the application through this menu item to make the script take effect.
2022-12-11 13:11:29 -05:00
- `Awesome ChatGPT`: Related resources recommended.
- **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**
2022-12-12 06:19:10 -05:00
- `Update Log`: ChatGPT app changelog.
2022-12-11 13:11:29 -05:00
- `Report Bug`: Defects and Suggestions Feedback.
- `Toggle Developer Tools`: Developer tools for debugging web pages.
2022-12-12 06:19:10 -05:00
## TODO
- web access capability ([#20](https://github.com/lencx/ChatGPT/issues/20))
- ...
2022-12-12 03:26:09 -05:00
## 👀 Preview
2022-12-07 07:02:31 -05:00
2022-12-10 09:29:29 -05:00
<img width="320" src="./assets/install.png" alt="install"> <img width="320" src="./assets/chat.png" alt="chat">
<img width="320" src="./assets/export.png" alt="export"> <img width="320" src="./assets/tray.png" alt="tray">
2022-12-12 01:12:29 -05:00
<img width="320" src="./assets/chat-ua.png" alt="user agent"> <img width="320" src="./assets/auto-update.png" alt="auto update">
2022-12-10 09:29:29 -05:00
2022-12-10 12:55:30 -05:00
---
<a href="https://www.buymeacoffee.com/lencx" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
2022-12-12 03:26:09 -05:00
## ❓FAQ
2022-12-07 23:22:27 -05:00
2022-12-11 23:41:21 -05:00
### Can't open ChatGPT
2022-12-11 23:40:15 -05:00
If the application cannot be opened after the upgrade, please try to clear the configuration file, which is in the `~/.chatgpt/*` directory.
2022-12-07 23:22:27 -05:00
### Is it safe?
2022-12-07 23:26:26 -05:00
It's safe, just a wrapper for [OpenAI ChatGPT](https://chat.openai.com) website, no other data transfer exists (you can check the source code).
2022-12-07 23:22:27 -05:00
2022-12-09 14:29:50 -05:00
### Developer cannot be verified?
- [Open a Mac app from an unidentified developer](https://support.apple.com/en-sg/guide/mac-help/mh40616/mac)
2022-12-07 23:22:27 -05:00
### How do i build it?
#### PreInstall
- [Rust](https://www.rust-lang.org/)
- [VS Code](https://code.visualstudio.com/)
- [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
- [tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode)
#### Start
```bash
# 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
```
2022-12-09 14:29:50 -05:00
2022-12-12 03:26:09 -05:00
## ❤️ Thanks
2022-12-12 03:29:23 -05:00
- The share buttons code is copied directly from [@liady](https://github.com/liady) extension with minor modifications.
2022-12-12 03:26:09 -05:00
2022-12-12 23:47:20 -05:00
---
[![Star History Chart](https://api.star-history.com/svg?repos=lencx/chatgpt&type=Date)](https://star-history.com/#lencx/chatgpt&Date)
## License
2022-12-09 14:29:50 -05:00
2022-12-12 23:47:20 -05:00
MIT License © lencx