In-browser RAG over your PDFs. Convert a PDF to DocLang, chunk it, embed it, explore the embedding cloud, and chat with your documents — entirely in your browser. Local-first, with optional Ollama, OpenAI and Qdrant.
🔗 Live demo: https://djdevpro.github.io/RagViewer/
⚠️ This web app is a preview / demo. The real product is the upcoming local edition — see the Roadmap. ⭐ Star the repo and check back at the official release.
PDF ──► DocLang (in-browser, or docling-serve)
──► Chunking (5 strategies, live preview)
──► Embeddings (Transformers.js or Ollama)
──► Vector index (EntityDB / IndexedDB, or Qdrant)
──► Explore (embedding cloud + semantic search)
──► Chat (RAG, streaming, cited sources — OpenAI or Ollama)
Everything can run on-device; cloud providers (OpenAI, a remote Qdrant) are optional.
pnpm install
pnpm dev # http://localhost:5173Build & test: pnpm build · pnpm test.
Pushing to main builds and publishes to GitHub Pages via deploy.yml. One-time: Settings → Pages → Source: GitHub Actions.
MIT — see LICENSE.