v2.3.0 - Local RAG
🧠 Local RAG
Build your own knowledge base and search it offline. Zero new dependencies.
✨ Features
- Index files:
pplx --ingest notes.md - Index directories:
pplx --ingest ./docs/ - Glob patterns:
pplx --ingest "*.md" - Search locally:
pplx -l "my notes on rust" - SQLite FTS5: Fast full-text search with BM25 ranking
- Persistence: Files copied to
~/.pplx/knowledge/
📖 Usage
# Build your knowledge base
pplx --ingest notes.md
pplx --ingest ./research/
pplx --ingest "*.md"
# Search it
pplx -l "typescript patterns"
# Or still use Perplexity API
pplx "what is bun"🔧 Technical
- SQLite FTS5 with porter stemming
- BM25 ranking for relevance
- Collision handling (
notes.md→notes_1.md) - Supports
.mdand.txtfiles
📊 Stats
- 37 tests passing
- ~900 lines of code
- Still just 1 dependency (zod)
Full Changelog: v2.2.2...v2.3.0