barq-web-rag
A document question-answering app that runs entirely in the browser. It searches and answers from your files locally, so no data leaves your machine.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
Share on XLicense: Apache-2.0
Overview
Barq RAG is a document question-answering app that runs entirely in the browser. It uses Rust compiled to WebAssembly for the retrieval engine, vector storage and compute kernels, and runs local language models in the browser through transformers.js and WebGPU. Documents are processed, embedded and answered on your device, with no external API and no data leaving your machine.
Key features
- Hybrid search combining BM25 and semantic search with RRF reranking
- Ingests PDF, DOCX, Markdown and TXT files
- Local vector index with persistence in the browser
- Embeddings and LLM inference run on your device
Best for
People who want to ask questions about private documents without sending them to a server. Setup is npm install and a dev server.
- Upstream
- YASSERRMD/barq-web-rag
- Fork on GitHub
- Guo-astro/barq-web-rag
- Upstream stars
- 31
- Category
- AI agents and LLM tools
- Language
- JavaScript
- License
- Apache-2.0
- Forked
- 2026-03-11
- Sync status
- In syncLast synced 2026-11-09
More in AI agents and LLM tools
/last30days is an AI-agent skill for researching recent discussions across social platforms, video, news, markets, and the web. It brings scattered signals together in a synthesized brief for trend research and preparation.
Forked 2026-10-22Last synced 2026-11-09License: MITAI agents and LLM toolsGitHub
A portable C99 inference engine for running Kimi K3 on a CPU without a GPU or machine-learning framework. It streams the large checkpoint from disk to support inference with limited RAM, for batch text generation or text chat.
Forked 2026-10-21Last synced 2026-11-09License: Apache-2.0AI agents and LLM toolsGitHub
LayerFS gives AI agents writable workspaces over shared history, so they can work in parallel without copying the base. Use it to checkpoint, branch, rewind, and merge agent changes.
Forked 2026-10-21Last synced 2026-11-09License: MITAI agents and LLM toolsGitHub
Magnitude runs open models locally and tunes kernels for your hardware. Use it to connect local models to supported agents or an OpenAI-compatible client.
Forked 2026-10-19Last synced 2026-11-09License: Apache-2.0AI agents and LLM toolsGitHub