-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
936 additions
and
821 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
# ChatGPT Enhancement Extension | ||
|
||
![](./images/small_promo.jpg) | ||
|
||
为了提供额外的功能来增强 ChatGPT 的体验,包括将回复转换为 markdown 字符串、上传文件以及基于正则表达式自动提问等。 | ||
|
||
功能: | ||
|
||
- [Prompt 提示](#prompt-提示):在输入区域输入“/”并查看提示。 | ||
- [PDF 自动阅读](#pdf-自动阅读):使用[Regex Prompt Group](#正则-prompt-组)逐页加载 PDF 文件并阅读。 | ||
- [Markdown 转换支持](#markdown-转换支持):将对话转换为 markdown 格式。 | ||
- [复制、保存和导出页面](#额外功能按钮):通过[注入按钮组](#额外功能按钮)复制、保存和导出对话。 | ||
- [后台管理](#后台管理):在选项页面中轻松管理所有。 | ||
|
||
## Prompt 提示 | ||
|
||
![](./images/prompt-hint.gif) | ||
|
||
按 `Enter` 直接发送提示信息,或按 `Tab` 进行编辑。 | ||
|
||
## PDF 自动阅读 | ||
|
||
将 PDF 文件拖入文本区,然后每页都会自动生成一个提示信息。 | ||
|
||
![](./images/overview-pdf.gif) | ||
|
||
根据[Regex Prompt Group](#regex-prompt-group),每个页面字符串末尾都会添加附加提示信息。 | ||
|
||
### 正则 Prompt 组 | ||
|
||
![](./images/reg-prompt-0.png)![](./images/reg-prompt-1.png) | ||
|
||
## Markdown 转换支持 | ||
|
||
![](./images/preview.png) | ||
|
||
### 额外功能按钮 | ||
|
||
![](./images/injected-button-preview.png) | ||
|
||
## 后台管理 | ||
|
||
编辑 Prompt: | ||
|
||
![](./images/dashboard-0.png) | ||
|
||
编辑正则 Prompt : | ||
|
||
![](./images/dashboard-1.png) | ||
|
||
编辑保存的对话历史记录: | ||
|
||
![](./images/dashboard-2.png) | ||
|
||
# 安装 | ||
|
||
## 从 Chrome 网上应用店安装 | ||
|
||
> 目前正在审核中 | ||
## 从 crx 安装 | ||
|
||
在 Chrome / Arc / Edge 浏览器中: | ||
|
||
- [下载 dist.crx](./dist.crx) | ||
- 进入扩展管理页面 | ||
- 打开“开发者模式” | ||
- 在出现的按钮中单击“加载已解压的扩展程序” | ||
- 将 `./dist.crx` 拖到扩展管理页面。 | ||
- 刷新 ChatGPT 页面 | ||
|
||
> 如果您对加载扩展程序有任何疑问,请尝试向 ChatGPT 提问。 | ||
# 开发 | ||
|
||
```bash | ||
git clone --depth=1 https://github.com/sailist/chatgpt-enhancement-extension/ | ||
cd chatgpt-enhancement-extension | ||
npm install | ||
npm run dev | ||
|
||
# 在Chrome浏览器中加载./dist | ||
``` | ||
|
||
# Buy me a coffee | ||
|
||
开发这款插件处于我的个人兴趣。如果您喜欢这款插件,请考虑请我喝一杯咖啡,您的支持将提供给我充足的动力,谢谢! | ||
|
||
![](images/coffee.png) | ||
|
||
# ❤ 致谢 | ||
|
||
- [chrome-extension-boilerplate-react-vite](https://github.com/Jonghakseo/chrome-extension-boilerplate) :提供了非常完善的 Chrome 插件开发脚手架 | ||
- ChatGPT:解决了很多疑难杂症。 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.