PixelRAG (StarTrail-org/PixelRAG)

vector-database
Searching Database…

What is this?An open-source research codebase from Berkeley for pixel-native search: PixelRAG renders web pages, PDFs and images as screenshots and retrieves over the images directly, instead of parsing pages into text.
So is it a tool I install locally, or a hosted service I call?Both. It is a pip-installable Python pipeline (the pixelshot renderer plus pixelrag commands for chunking, embedding, indexing and serving), and there is also a live hosted endpoint at pixelrag.ai with a pre-built index of 8.28M Wikipedia pages — no setup, no API key.
How do I try it on my own documents?Try the hosted index at pixelrag.ai or the Colab demo notebook first. For your own documents: pip install pixelrag — extras like pixelrag[embed] or pixelrag[serve] add stages, and pixelrag index orchestrates the full source-to-index pipeline.
What does it use for retrieval — do I need a separate vector database?Nothing extra: a FAISS index is built and searched locally by default. For scale, Qdrant is supported as an alternative backend with quantization, disk-backed vectors, payload filtering, and one collection shared by multiple PixelRAG servers.
Any setup gotchas I should know about?PDF rendering needs the pdf extra plus poppler (brew install poppler or apt-get install poppler-utils). Also, the bundled Chrome headless shell auto-installs only on linux-x64 — elsewhere pixelshot uses your system Chrome; set CHROMEPATH if it is not found.
Can I search with an image instead of a text query?Yes — the hosted endpoint accepts an image as the query (visual search), and the Colab demo renders a page and searches the hosted index with the matched images shown inline.
Will pixelshot interfere with my running Chrome?No — each render runs in an isolated, throwaway Chrome profile, so it works even while you have Chrome open.
Is there anything for opencode users?Yes — the same screenshot tool is available via the @startrail/pixelbrowse npm package: with pixelshot on PATH, add it to opencode.json.
Size
45 MB
Stars
11.1K
Age
6mo
Commits · 90 Days