Discover and explore top open-source AI tools and projects—updated daily.
joelhooksLocal AI knowledge base for PDFs and Markdown
Top 82.9% on SourcePulse
Local PDF and Markdown knowledge base with semantic search and AI-powered enrichment. It addresses the need for a unified, searchable, and locally-controlled repository for research papers, books, and notes, offering AI-driven metadata extraction and organization without API costs.
How It Works
This project employs a local-first architecture. It extracts text from PDF and Markdown files, then uses Ollama to generate embeddings for semantic search and perform AI-driven enrichment (e.g., title, summary, tags, concepts). Data is stored in libSQL, featuring an HNSW index for approximate nearest neighbor vector search and FTS5 for full-text search. This hybrid approach allows for both semantic understanding and fast keyword matching, with AI-extracted concepts organized via a SKOS taxonomy.
Quick Start & Requirements
curl -fsSL https://raw.githubusercontent.com/joelhooks/pdf-brain/main/scripts/install.sh | bash) or via npm (npm install -g pdf-brain).brew install ollama, Linux: curl -fsSL https://ollama.com/install.sh | sh, Windows: download from ollama.com).ollama pull mxbai-embed-large) and recommended enrichment model (ollama pull llama3.2:3b). Ensure Ollama server is running (ollama serve).pdf-brain init) and add documents (pdf-brain add <path/to/document> [--enrich]).Highlighted Details
Licensing & Compatibility
Limitations & Caveats
SELECT COUNT(chunk_id) FROM embeddings for accurate embedding counts.1 month ago
Inactive
freedmand