Merge pull request #22 from sangyuxiaowu/main

add plugin jina-r
This commit is contained in:
RiverRay
2025-02-26 20:34:11 +08:00
committed by GitHub
4 changed files with 72 additions and 0 deletions

View File

@@ -24,4 +24,5 @@ This project stores [Plugins](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
| [NPM Registry Search API](./plugins/npmsearch) | - | Search for packages in the NPM registry |
| [CodeInterpreter](./plugins/codeinterpreterapi) | - | from: [leezhuuuuu/Code-Interpreter-Api](https://github.com/leezhuuuuu/Code-Interpreter-Api) |
| [Chat PDF](./plugins/chatpdf) | - | from: [PDF AI Reader Chat (4.1 ★)](https://chatgpt.com/g/g-oMM2c1bD3) |
| [Jina URL Content Reader](./plugins/jina-r) | - | Converts any URL to an LLM-friendly input |

25
plugins/jina-r/README.md Normal file
View File

@@ -0,0 +1,25 @@
# Jina URL Content Reader
> Fetches the text content from a personal website.
> Retrieves the contents of a specified URL and converts it to LLM-friendly Markdown format.
## Schema
[openapi.json](./openapi.json)
## Servers
`https://r.jina.ai`
## Operations
1. ReadUrlContent
## Authentication
```
type: none
```
## Preview
![Preview](./preview.png)

View File

@@ -0,0 +1,46 @@
{
"openapi": "3.1.0",
"info": {
"description": "Fetches the text content from a personal website.",
"title": "Jina URL Content Reader",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://r.jina.ai"
}
],
"paths": {
"/{target_url}": {
"get": {
"description": "Retrieves the contents of a specified URL and converts it to LLM-friendly Markdown format.",
"operationId": "ReadUrlContent",
"parameters": [
{
"name": "target_url",
"in": "path",
"required": true,
"description": "The URL of the content to be read.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"text/plain": {
"schema": {
"type": "string",
"description": "The content of the URL converted to LLM-friendly Markdown format."
}
}
}
}
},
"summary": "Read the contents of a URL and convert to Markdown"
}
}
}
}

BIN
plugins/jina-r/preview.png Normal file
View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB