A fully browser-side RAG application that performs document indexing, embedding generation, semantic search, and answer retrieval entirely on the client. Documents are stored locally using IndexedDB, requiring no backend, external vector database, or AI APIs, making the application private, offline-capable, and cost-free to run.
react javascript node embeddings cosine-similarity chunking semantic-search indexed-db rag pdfjs-dist huggingface-transformers gte-small
-
Updated
Jul 23, 2026 - JavaScript