ALL TAGS

Tag: search

Runtime

Stop Pasting Into ChatGPT. Build a Knowledge Base Your AI Can Actually Search.

I built a CLI tool that turns URLs, PDFs, and markdown into a searchable knowledge base with AI-powered Q&A. No vector database. No embedding service. Just files, BM25 search, and LLM synthesis — all from your terminal.

April 3, 2026 6 min read
Read Story →
Runtime

How kb Works: 27 Modules, Zero Dependencies, and a Compiler That Turns Raw Sources Into a Wiki

A deep dive into the architecture of kb — the CLI knowledge base tool. Hash-based incremental compilation, BM25 search, TTY-aware dual output, Zod-validated frontmatter, and a dependency graph that recompiles only what changed. 154 tests, 27 TypeScript modules, the full @oakoliver stack.

April 3, 2026 7 min read
Read Story →
Runtime

Full-Text Search Without Elasticsearch: BM25 in Pure TypeScript

How we replaced Elasticsearch with a 500-line TypeScript implementation of BM25s for mentor and session search in Mentoring. 4.6 million tokens per second indexing, zero infrastructure dependencies.

March 16, 2026 5 min read
Read Story →
Runtime

I Rewrote Python's Fastest BM25 Library in TypeScript. It's Now 2x Faster With Zero Dependencies.

How bun-bm25s achieves 4.6 million tokens per second indexing and outperforms Python's bm25s library — including its numba JIT backend — using nothing but TypeScript and Bun's native APIs.

March 15, 2026 8 min read
Read Story →