File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -214,6 +214,20 @@ from pixelrag_render import render_url
214214tiles = render_url(" https://en.wikipedia.org/wiki/Python" , " ./tiles" )
215215```
216216
217+ The same rendering is available as a CLI — ` pixelshot ` ships with ` pip install pixelrag ` :
218+
219+ ``` bash
220+ # Web page → tiles (headless Chromium via CDP)
221+ pixelshot https://en.wikipedia.org/wiki/Python -o ./tiles
222+
223+ # PDF → tiles (requires poppler; install the pdf extra: pip install 'pixelrag[pdf]')
224+ curl -sL -o paper.pdf https://arxiv.org/pdf/2503.09516
225+ pixelshot paper.pdf -o ./tiles --dpi 200
226+
227+ # URLs and local files can be mixed freely
228+ pixelshot https://github.com/StarTrail-org/PixelRAG paper.pdf -o ./tiles
229+ ```
230+
217231### Embed tools (standalone)
218232
219233Each stage runs independently, without the orchestrator:
You can’t perform that action at this time.
0 commit comments