WeftKitMD
Markdown Content Database
Purpose-built Markdown database with AST parsing, frontmatter indexing, full-text search, version history, cross-document linking, and rendering.
BM25 search (1K documents)
Key Features
What makes WeftKitMD stand out.
Markdown AST Parsing
Full CommonMark + GFM parsing into typed AST. Query documents by structural elements (headings, code blocks, links, images).
Frontmatter Indexing
Automatic YAML/TOML frontmatter extraction and indexing. Filter documents by any frontmatter field with rich query language.
Full-Text Search
Inverted index with BM25 ranking, stemming, fuzzy matching, and phrase search. Highlighted excerpts with context.
Version History
Every document change stored as an immutable version. Diff between versions. Restore to any historical state.
Cross-Document Links
Bidirectional link tracking. Backlinks index. Broken link detection. Wiki-style [[page]] syntax support.
Server-Side Rendering
Built-in renderer to HTML, PDF, and plain text. Syntax highlighting for code blocks. Math rendering via KaTeX.
Performance Targets
Real numbers from Criterion benchmarks on reference hardware.
Wire Protocol
WeftKitMD supports the REST API protocol. Your existing tools just work.
Get Started in Seconds
Add WeftKitMD to your Rust project and start querying.
use weftkitmd::prelude::*;
// Open or create a database
let db = Database::open("my_app.db")?;
// Use the module API
let result = db.query("SELECT * FROM users WHERE active = true")?;
for row in result.rows() {
println!("{:?}", row);
}Where to Use It
Developer documentation portals
Knowledge management systems
Blog and content platforms