mirror of
https://github.com/intergalacticalvariable/reader.git
synced 2024-11-15 19:22:20 +08:00
📚 This is an adapted version of Jina AI's Reader for local deployment using Docker. Convert any URL to an LLM-friendly input with a simple prefix http://127.0.0.1:3000/https://website-to-scrape.com/
dockerllmproxyragscraperself-hostedwebscraperwebscrapingwebscraping-datawebsite-screenshotwebsite-screenshot-capturer
.github/workflows | ||
backend | ||
thinapps-shared@9f0fa1dd7f | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md |
Reader
Convert any URL to an LLM-friendly input with a simple prefix https://r.jina.ai/
. Get improved output for your agent and RAG systems at no cost. Find more at https://jina.ai/reader.
Usage
To use the Reader, simply prepend https://r.jina.ai/
to any URL. For example, to convert the URL https://en.wikipedia.org/wiki/Artificial_intelligence
to an LLM-friendly input, use the following URL:
https://r.jina.ai/https://en.wikipedia.org/wiki/Artificial_intelligence
Streaming
Use accept-header to control the streaming behavior:
curl -H "Accept: text/event-stream" https://r.jina.ai/https://en.m.wikipedia.org/wiki/Main_Page
Install
You will need the following tools to run the project:
- Node v18 (The build fails for Node version >18)
- Firebase CLI (
npm install -g firebase-tools
)
For backend, go to the backend/functions
directory and install the npm dependencies.
git clone git@github.com:jina-ai/reader.git
cd backend/functions
npm install