Skip to content

add plugin jina-r #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 25 additions & 0 deletions plugins/jina-r/README.md
Original file line number Diff line number Diff line change
@@ -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)
46 changes: 46 additions & 0 deletions plugins/jina-r/openapi.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}
Binary file added plugins/jina-r/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.