generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add restrictions on the sending button & partially translated document
- Loading branch information
Showing
5 changed files
with
153 additions
and
45 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,75 @@ | ||
# Obsidian 的 GPT-LiteInquirer 插件 | ||
|
||
<div align="center"> | ||
|
||
[![CI][ci-image]][ci-url] | ||
[![Code Scanning][code-scanning-image]][code-scanning-url] | ||
[![TAG][tag-image]][tag-url] | ||
|
||
[ci-image]: https://img.shields.io/github/actions/workflow/status/ittuann/obsidian-gpt-liteinquirer-plugin/CI.yml?branch=master&label=Build%20Status&logo=github&style=for-the-badge | ||
[ci-url]: https://github.com/ittuann/obsidian-gpt-liteinquirer-plugin | ||
[code-scanning-image]: https://img.shields.io/github/actions/workflow/status/ittuann/obsidian-gpt-liteinquirer-plugin/CodeQL.yml?branch=master&label=Code%20Scanning&logo=github&style=for-the-badge | ||
[code-scanning-url]: https://github.com/ittuann/obsidian-gpt-liteinquirer-plugin | ||
[tag-image]: https://img.shields.io/github/v/release/ittuann/obsidian-gpt-liteinquirer-plugin?branch=master&label=Release%20tag&logo=github&style=for-the-badge | ||
[tag-url]: https://github.com/ittuann/obsidian-gpt-liteinquirer-plugin/releases/latest | ||
|
||
</div> | ||
|
||
<div align="right"> | ||
Language: | ||
<a title="English" href="https://github.com/ittuann/obsidian-gpt-liteinquirer-plugin">:gb: English</a> · | ||
:cn: 简体中文</a> | ||
</div> | ||
|
||
通过 GPT-LiteInquirer 插件,您可以在 Obsidian 中快速、无障碍地生成想法、起草内容或获得 ChatGPT AI 的帮助,而不会中断您的创意流程。 | ||
|
||
这个轻量级 ChatGPT 插件是一个快速、易于使用和不会干扰的 AI 助手插件,可以直接将 OpenAI 的 ChatGPT API 无缝集成到 Obsidian 中。 | ||
|
||
如果您喜欢这个插件或想要支持它,请考虑在 GitHub 上免费给它点个星~ | ||
|
||
**在 Obsidian 中自动安装和查看此插件**:[点击这里](https://obsidian.md/plugins?id=gpt-liteinquirer)\*\* | ||
|
||
**手动安装:[点击这里](https://github.com/ittuann/obsidian-gpt-liteinquirer-plugin/releases/latest)**。您只需要手动下载 `main.js`、`styles.css` 和 `manifest.json`,然后将它们放在 `.obsidian\plugins\gpt-liteinquirer` 文件夹中即可。 | ||
|
||
## ✨ 特性 | ||
|
||
- **与 Obsidian 无缝集成:** | ||
|
||
- 方便地在 Obsidian 中直接访问轻量级 ChatGPT。 | ||
- 您无需离开 Obsidian 来切换软件,也不必担心创意过程被中断。 | ||
|
||
- **用户友好的界面:** | ||
|
||
- 通过直观和简单的轻量级设计界面与 ChatGPT API 进行交互。 | ||
|
||
- **多种使用方式:** | ||
|
||
- 您可以快速将当前文档作为知识库输入到 ChatGPT 中,并询问任何关于任何内容的问题。 | ||
- 您还可以直接与 ChatGPT 开始对话,快速起草和丰富您的内容,生成新的想法,或使用 ChatGPT 人工智能来做任何您想做的事情。 | ||
|
||
- **灵活的响应处理:** | ||
- 将 AI 生成的响应复制到剪贴板。或者直接在当前文档的光标位置或文档末尾插入它。 | ||
|
||
## 🧩 配置 | ||
|
||
您需要先在插件设置中设置自己的 OpenAI API 密钥,以便插件可以正常工作。 | ||
|
||
1. 在官方网站上生成 OpenAI API 密钥。[点击这里](https://beta.openai.com/account/api-keys) | ||
2. 在 Obsidian 中,转到`设置`,在左侧菜单中单击`社区插件`,然后启用已经安装好的`GPT-LiteInquirer`插件。 | ||
3. 单击齿轮图标进入插件设置。然后在“OpenAI API Key”字段中输入您的 API 密钥,然后完成! 🎉 | ||
|
||
下载 Obsidian:[点击这里](https://www.obsidian.md/) | ||
|
||
## 📝 使用 | ||
|
||
您可以通过以下三种方式打开 Lightweight ChatGPT 插件界面: | ||
|
||
- 点击左侧的 Obsidian 侧边栏 | ||
- 使用 Obsidian 命令 `Open Lightweight Window` | ||
- 手动设置一个命令的键盘快捷键,如 `CTRL + K` | ||
|
||
在打开 GPT Lite Inquirer 窗口时,您在当前 Markdown 文档中选择的内容将自动复制到文本框中。因此,您可以使用这段文本来提问或执行其他操作,或直接写下您想说的任何内容。 | ||
|
||
提示:您也可以使用 `CTRL + ENTER` 快捷键直接发送内容。 | ||
|
||
GPT-LiteInquirer 插件旨在成为提高您创造力和生产力的小工具。今天就在 Obsidian 中体验无缝的 AI 增强写作和内容生成能力吧! |
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