chore: extensions

This commit is contained in:
lencx 2024-02-10 22:39:15 +08:00
parent 2d0f56a434
commit e4d4f3ed72
9 changed files with 29 additions and 8 deletions

View File

@ -3,3 +3,14 @@
Note that Noi does not support the full range of Chrome extensions APIs. See Supported Extensions APIs for more details on what is supported.
Learn more: [electronjs/doc](https://www.electronjs.org/docs/latest/api/extensions)
## Extensions
<!-- EXTENSIONS_START -->
| Name | Version | Description |
| --- | --- | --- |
| [@noi/ask](https://github.com/lencx/Noi/tree/main/extensions/noi-ask) | 0.1.3 | The best assistant for batch asking and quick typing of prompts. |
| [@noi/ask-custom](https://github.com/lencx/Noi/tree/main/extensions/noi-ask-custom) | 0.1.0 | The best assistant for batch asking and quick typing of prompts. |
| [@noi/export-chatgpt](https://github.com/lencx/Noi/tree/main/extensions/noi-export-chatgpt) | 0.1.0 | ChatGPT chat history export, supports PDF, Image, and Markdown formats. |
| [@noi/reset](https://github.com/lencx/Noi/tree/main/extensions/noi-reset) | 0.1.0 | Reset certain website styles to enhance compatibility with Noi. |
<!-- EXTENSIONS_END -->

View File

@ -1 +1,3 @@
# @noi/ask-custom
The best assistant for batch asking and quick typing of prompts.

View File

@ -6,7 +6,9 @@
"description": "The best assistant for batch asking and quick typing of prompts.",
"content_scripts": [
{
"matches": [],
"matches": [
"https://example.com/*"
],
"js": ["main.js"],
"run_at": "document_end",
"world": "MAIN"

View File

@ -1 +1,3 @@
# @noi/ask
The best assistant for batch asking and quick typing of prompts.

View File

@ -82,9 +82,9 @@ class ClaudeAsk extends NoiAsk {
}
}
class BardAsk extends NoiAsk {
static name = 'Bard';
static url = 'https://bard.google.com';
class GeminiAsk extends NoiAsk {
static name = 'Gemini';
static url = 'https://gemini.google.com';
static sync(message) {
const inputElement = document.querySelector('.ql-editor.textarea');
@ -279,7 +279,7 @@ window.NoiAsk = {
OpenAIAsk,
PoeAsk,
ClaudeAsk,
BardAsk,
GeminiAsk,
HuggingChatAsk,
PerplexityAsk,
CopilotAsk,

View File

@ -1,14 +1,14 @@
{
"manifest_version": 3,
"name": "@noi/ask",
"version": "0.1.2",
"version": "0.1.3",
"homepage": "https://github.com/lencx/Noi/tree/main/extensions/noi-ask",
"description": "The best assistant for batch asking and quick typing of prompts.",
"content_scripts": [
{
"matches": [
"https://chat.openai.com/*",
"https://bard.google.com/*",
"https://gemini.google.com/*",
"https://poe.com/*",
"https://claude.ai/*",
"https://huggingface.co/chat/*",

View File

@ -1 +1,3 @@
# @noi/export-chatgpt
ChatGPT chat history export, supports PDF, Image, and Markdown formats.

View File

@ -1 +1,3 @@
# @noi/reset
Reset certain website styles to enhance compatibility with Noi.

View File

@ -5,7 +5,7 @@
{
"name": "@noi/ask",
"description": "The best assistant for batch asking and quick typing of prompts.",
"version": "0.1.2",
"version": "0.1.3",
"url": "https://github.com/lencx/Noi/tree/main/extensions/noi-ask",
"dirname": "noi-ask",
"disabled": false