{"repo":"intellectronica/mdbasequery","free":true,"listed":false,"github":"https://github.com/intellectronica/mdbasequery","clone":"git clone https://github.com/intellectronica/mdbasequery.git","description":"CLI and library for querying Markdown-Frontmatter bases (Obsidian-compatible).","language":"TypeScript","stars":15,"topics":["bases","cli","frontmatter","markdown","obsidian","query"],"license":"MIT","category":"cli-tools","readme_excerpt":"mdbasequery mdbasequery is an Obsidian Bases-compatible query engine for Markdown vaults. It ships as: - a CLI ( mdbasequery ) for scripts and terminal workflows, - a TypeScript library for embedding query execution in applications. Supported runtimes: Node.js 20+, Bun, and Deno 2.x. CLI Manual Install and Run You can run the CLI without installing globally: Or install globally: Command Model Command form: There is one command surface; all behavior is controlled through options. Query Input Modes mdbasequery supports three ways to provide the query definition: 1. .base file via --base 2. Inline YAML via --yaml 3. Flag-built query mode ( --filter , --select , --sort , etc.) If --base / --yaml are not provided, the query is built from flags. Common CLI Examples Run a .base file against a vault: Use inline YAML (heredoc to avoid shell escaping issues): Use CLI flags instead of YAML: Select a specific view from a .base file and write output to disk: Disable strict symbol/function checking: CLI Option Reference Option Type Description --- --- --- --dir string Target directory to scan (default: current directory). --base string Path to Obsidian-style .base YAML file. --yaml string Inline YAML text. --view string View name to run (default: first view). --format string Output format (default: json ). --out string Write serialized output to file instead of stdout. --strict flag Enable strict mode (default behavior). --no-strict flag Disable strict mode for unknown symbols/functions. -","default_branch":null,"files":null,"tree":[],"storefront":"/r/intellectronica","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/intellectronica/mdbasequery/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}