diff --git a/README.md b/README.md index 9fb3558..37f2350 100644 --- a/README.md +++ b/README.md @@ -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 | diff --git a/plugins/jina-r/README.md b/plugins/jina-r/README.md new file mode 100644 index 0000000..2004ae5 --- /dev/null +++ b/plugins/jina-r/README.md @@ -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) \ No newline at end of file diff --git a/plugins/jina-r/openapi.json b/plugins/jina-r/openapi.json new file mode 100644 index 0000000..61047e1 --- /dev/null +++ b/plugins/jina-r/openapi.json @@ -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" + } + } + } +} \ No newline at end of file diff --git a/plugins/jina-r/preview.png b/plugins/jina-r/preview.png new file mode 100644 index 0000000..813baa8 Binary files /dev/null and b/plugins/jina-r/preview.png differ