{"full_name":"tobi/qmd","owner":"tobi","name":"qmd","shard":"1","url":"https://github.com/tobi/qmd","description":"mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local","homepage":"","topics":[],"tag_pages":[],"language":"TypeScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/347?u=7960534ac523f60d241bb7c7ef986d263ea96170&v=4","created_at":"2025-12-08T14:22:57Z","pushed_at":"2026-11-15T12:40:44Z","metrics":{"stars":31142,"forks":1953,"watchers":106,"issues":465,"prs":653,"releases":14,"issues_open":131,"issues_closed":334,"prs_open":127,"prs_closed":313,"prs_merged":213,"discussions":0},"growth":{"day":{"stars":18,"forks":3,"base_day":"2026-11-15"},"week":{"stars":293,"forks":9,"base_day":"2026-11-04"},"month":{"stars":700,"forks":39,"base_day":"2026-10-17"}},"history":{"dates":["2026-09-06","2026-09-07","2026-09-08","2026-09-09","2026-09-10","2026-09-11","2026-09-12","2026-09-13","2026-09-14","2026-09-15","2026-09-16","2026-09-17","2026-09-18","2026-09-19","2026-09-20","2026-09-21","2026-09-22","2026-09-23","2026-09-24","2026-09-25","2026-09-26","2026-09-27","2026-09-28","2026-09-29","2026-09-30","2026-10-01","2026-10-02","2026-10-03","2026-10-04","2026-10-05","2026-10-06","2026-10-07","2026-10-08","2026-10-09","2026-10-10","2026-10-11","2026-10-12","2026-10-13","2026-10-14","2026-10-15","2026-10-16","2026-10-17","2026-10-18","2026-10-19","2026-10-20","2026-10-21","2026-10-22","2026-10-23","2026-10-24","2026-10-25","2026-10-26","2026-10-27","2026-10-28","2026-10-29","2026-10-30","2026-10-31","2026-11-01","2026-11-02","2026-11-03","2026-11-04","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[29536,29561,29581,29607,29633,29658,29671,29691,29708,29737,29760,29788,29823,29845,29866,29896,29929,29959,29988,30007,30032,30061,30067,30089,30106,30120,30137,30159,30176,30191,30213,30231,30249,30274,30295,30315,30332,30349,30372,30395,30412,30442,30462,30471,30490,30508,30530,30556,30587,30609,30633,30656,30671,30714,30737,30762,30778,30794,30817,30849,31025,31053,31071,31081,31104,31124,31142],"forks":[1839,1840,1841,1839,1840,1842,1843,1843,1846,1851,1854,1856,1859,1859,1860,1864,1868,1868,1868,1873,1874,1877,1879,1881,1883,1884,1881,1883,1883,1888,1891,1891,1895,1897,1902,1904,1907,1908,1910,1912,1914,1914,1915,1914,1915,1918,1919,1923,1925,1926,1929,1928,1930,1932,1935,1936,1937,1938,1941,1944,1948,1948,1948,1949,1949,1950,1953],"watchers":[105,106,106,106,106,106,106,106,107,107,106,106,105,105,105,105,105,104,104,104,104,104,104,104,104,104,104,105,105,106,107,107,107,107,106,106,106,106,106,106,106,106,107,107,107,107,107,107,107,102,102,102,103,103,103,103,103,103,104,104,null,104,105,106,106,106,106],"issues_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,128,129,129,129,129,131],"prs_open":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,126,126,126,126,126,127]},"boards":{},"same_owner":[{"full_name":"tobi/disktree","name":"disktree","shard":"1","boards":{"new":170}},{"full_name":"tobi/walgit","name":"walgit","shard":"1","boards":{}}],"issues":[{"number":952,"title":"vsearch takes ~70 s on an 11k-vector collection: exact scan runs per expanded query, expansions not deduplicated","comments":9,"created_at":"2026-09-14T10:26:26Z"},{"number":897,"title":"Embedding inputs at/over the context's physical batch boundary (512 tokens) silently store deterministic garbage vectors","comments":7,"created_at":"2026-08-15T00:01:24Z"},{"number":717,"title":"Lossy path normalization breaks QMD_EDITOR_URI for files with spaces","comments":4,"created_at":"2026-06-08T23:06:40Z"},{"number":735,"title":"qmd embed deadlocks at 0% CPU on Apple M5 Max + macOS 26.4 — Metal shader JIT compile failure in bundled llama.cpp b8390 (distinct from #673/#724)","comments":5,"created_at":"2026-06-14T14:33:48Z"},{"number":724,"title":"qmd embed cannot complete large collections in one run — session maxDuration (10 min) aborts mid-run with mass \"LLM session expired before embedding chunk\" failures","comments":2,"created_at":"2026-06-11T05:03:23Z"},{"number":685,"title":"Return multiple results per file","comments":3,"created_at":"2026-05-25T19:26:25Z"},{"number":679,"title":"qmd embed hangs indefinitely on \"Gathering information\" on Windows","comments":2,"created_at":"2026-05-25T06:28:34Z"},{"number":971,"title":"stdio MCP server: `status` racing a model-loading `query` never answers on stdout","comments":3,"created_at":"2026-09-20T11:16:48Z"}],"discussions":[],"latest_release":{"name":"v2.8.3","tag":"v2.8.3","published_at":"2026-08-16T22:30:34Z","body":"## [2.8.3] - 2026-08-16\n\n### Security\n\n- `qmd update` no longer runs a project-local `.qmd/index.yml`'s `update:`\n  commands without approval (#886). That file arrives with a `git clone` and is\n  adopted automatically for any command run inside the tree, so cloning a\n  repository and running `qmd update` executed shell commands chosen by whoever\n  wrote it. On a terminal QMD now lists the commands and asks; with nobody to\n  ask it skips them and keeps indexing. Approvals are recorded per config file\n  and per command set in `<config dir>/trusted.json`, so editing a command — or\n  a `git pull` that rewrites one — asks again. New `qmd trust`,\n  `qmd trust list` and `qmd trust revoke` manage approvals, and\n  `QMD_TRUST_UPDATE_HOOKS=1` opts unattended runs back in. Commands in your own\n  `~/.config/qmd/*.yml`, including anything `qmd collection update-cmd` writes,\n  are unaffected.\n\n- The same project-local trust gate now covers collection `path` values that\n  resolve outside the project and non-default `models.embed` / `models.rerank`\n  / `models.generate` URIs (#889). In-project paths still index unattended;\n  out-of-project directories are skipped until `qmd trust`, and custom model\n  URIs are not loaded or downloaded. `QMD_TRUST_LOCAL_CONFIG=1` opts unattended\n  runs back in (and `QMD_TRUST_UPDATE_HOOKS=1` still does). `qmd collection\n  add` records trust as it writes, the same way `update-cmd` does.\n\n- Indexing no longer follows file symlinks or glob `../` / absolute patterns\n  out of the collection directory. `fast-glob` already skipped symlinked\n  directories, but a file symlink (or a mask like `../**/*.md`) still resolved\n  via `realpath` and ingested the target. `qmd://` filesystem resolution uses\n  the same containment check, so `qmd://collection/../../../etc/passwd` no\n  longer produces a path outside the collection.\n\n- `qmd mcp --http` now validates the `Origin` and `Host` headers on every\n  request and answers `403` when they name anything but a loopback address\n  (#881). Binding to localhost is no defence against the user's own browser:\n  a page can re-point its hostname at `127.0.0.1` (DNS rebinding) and read\n  the indexed corpus through `POST /query` or `POST /mcp`. Requests with no\n  `Origin` (curl, MCP clients, editors) are unaffected. Extend the allowlists\n  with `QMD_ALLOWED_ORIGINS` / `QMD_ALLOWED_HOSTS`, or set\n  `QMD_ALLOWED_ORIGINS=*` behind your own authenticating proxy. A wildcard\n  bind (`--host 0.0.0.0`) skips the host check and warns at startup.\n\n### Changed\n\n- Dependencies: `node-llama-cpp` 3.18.1 → **3.20.0** (llama.cpp b8390 → b10361, 2026-08-11). Also safe patch/minors: `picomatch` 4.0.4 → 4.0.5, `web-tree-sitter` 0.26.8 → 0.26.12, `tsx` 4.21.0 → 4.23.12, `vitest` 3.2.4 → 3.2.7. No zod/vitest major; `@modelcontextprotocol/server` stays 2.0.0 (no 2.x patch). `flake.nix` FOD hashes are not updated here.\n- `generate` and query expansion now await `LlamaContextSequence.dispose()` before disposing the parent context. node-llama-cpp 3.20 made sequence dispose async; the library's context-onDispose path does not wait.\n\n- MCP server now speaks protocol revision **2026-07-28** via the official\n  TypeScript SDK 2.x (`@modelcontextprotocol/server`). HTTP is sessionless\n  (no `Mcp-Session-Id`, no initialize handshake, no idle-session TTL / #816\n  reaper). Clients send version and capabilities in `_meta`; `server/discover`\n  is implemented; Streamable HTTP POST requires `Mcp-Method` / `Mcp-Name`\n  (mismatch → `-32020`); `tools/list` is deterministic and carries `ttlMs` /\n  `cacheScope`. 2025-era stdio clients still work (`serveStdio` dual-speak);\n  2025-era HTTP `initialize` is answered per-request without minting a\n  session. Existing tools (`query` / `get` / `multi_get` / `status`), stdio\n  EOF shutdown, and named-index daemon PIDs are unchanged. No release.\n\n- `qmd pull` (and implicit model downloads in `embed`/`query`) no longer print\n  node-llama-cpp's download progress bar. The bar redraws every few kilob","is_prerelease":false},"readme":true,"readme_zh":false,"news":[{"title":"QMD - Quick Markdown Search","url":"https://github.com/tobi/qmd","hn":"https://news.ycombinator.com/item?id=46689289","source":"Hacker News","lang":"en","date":"2026-01-20","points":25,"comments":7},{"title":"QMD - A local search engine for your Markdown notes","url":"https://korben.info/en/qmd-local-search-engine-markdown-notes.html","source":"korben","lang":"en","date":"2026-03-23"},{"title":"Getting Started with Local AI Search using qmd — From Hybrid Search Mechanisms to Claude Code Integration","url":"https://note.com/timakin/n/nbaa645e013c5?hl=en","source":"note","lang":"en","date":"2026-01-30"},{"title":"对话马骁：当AI可以量产证明，对数学家是好事吗？","url":"https://news.google.com/rss/articles/CBMiV0FVX3lxTFBHWUlJU3JWQUJGUjRGcWF1Ujhzd2xBa3V2Wk5weFJmbzBDSVNUelQ5eUlwSkNMMXFzdmZzdDlrX0hDUXJ1azJWUXB0aTlLeGcwRDlXS0R1UQ?oc=5","source":"麻省理工科技评论","lang":"zh","date":"2026-08-02"},{"title":"How I Built a Self-Maintaining Knowledge Base for 6 Projects Using Claude Code & Karpathy's LLM Wiki","url":"https://news.google.com/rss/articles/CBMiwgFBVV95cUxOdzZ6MnY3bHQxSGtQVTBTck5WWGZlYkdqWElMTms0SzhwMWI4cmhBZVRsQTJNdzJmcWU4eUgyNzhxbVRxUTFPaGdyQzlqcUR2WDNUaG5ZcWtzZl9QaWRQSWdwQW1OdklWM0JjR0N1Skk1R2FkMnpEQTJTOUZNbUx3M1pBNm9ka0xxeG0tcEs5RHBORWFOYVhYYTZiZjlBcmZQRVZ1UGh1aVd3Tm5nbTRISHhXVmlWdFoyY2dqdjBOdGNCQQ?oc=5","source":"HackerNoon","lang":"en","date":"2026-04-20"},{"title":"万字详解：OpenClaw龙虾“高替” Hermes Agent的Skills系统","url":"https://news.google.com/rss/articles/CBMiY0FVX3lxTE8td0VMYXU5djF1dWFPbl93dHZEZk1oVGJMWjkxOXN0ZzhsNzdZZkQ0QUFyUHBTQ3RxakVOblBRNGhOZUhWaHYtdHlvNTdnd3pJS0V3NlRRUWlZa1puTGdLRlBWMA?oc=5","source":"53AI","lang":"zh","date":"2026-04-15"},{"title":"AI大神Karpathy 又搞事了！拒绝传统 RAG，打造“会进化的知识库”","url":"https://news.google.com/rss/articles/CBMiV0FVX3lxTE95LWV4RFJBX1N0OHJJYl9SSExUNnNLTXliMnRoRldROTA4bDdHQzVQLUk4eDZoTmxqc1lvR2E5NDUxV1VoQ0hQdnZlZDZscEpjRm9hS2JiRQ?oc=5","source":"腾讯新闻","lang":"zh","date":"2026-04-14"},{"title":"Andrej Karpathy Open-Sources ‘Autoresearch’: A 630-Line Python Tool Letting AI Agents Run Autonomous ML Experiments on Single GPUs","url":"https://news.google.com/rss/articles/CBMi_AFBVV95cUxQTk9IM25McmRTMnBRY1VQM0JEMzlUUmVfbjdyZ3hWcXNFY0dHeGFaSGl3OHdkbzhxbDdMOUdobTZRb2w0c3RrYjRZSGhiQ2hCaXgwZWxrOVFLLWdQSXRVdlZwMGRuU0JWZHFJM3o2Ti04VExIVV9LRDkxSlpvdGtWMlZqSER6dXlCT3NHY2VWS3U3a1NEVGFhcHV6RXExSVZFWE1vaHJWM1ZQTUpRZUpvQUdKcGR2YVp4RUJwQ3JTbExuQ0RVMDFtNzd3ZmhtSzhmMXdVcFhsdFlQemJ0a2hnZXVYMjNvTUVhTmZKNTBzX3dqQ3RHeFlRVmlDUzXSAfwBQVVfeXFMUE5PSDNuTHJkUzJwUWNVUDNCRDM5VFJlX243cmd4VnFzRWNHR3hhWkhpdzh3ZG84cWw3TDlHaG02UW9sNHN0a2I0WUhoYkNoQml4MGVsazlRSy1nUEl0VXZWcDBkblNCVmRxSTN6Nk4tOFRMSFVfS0Q5MUpab3RrVjJWakhEenV5Qk9zR2NlVkt1N2tTRFRhYXB1ekVxMUlWRVhNb2hyVjNWUE1KUWVKb0FHSnBkdmFaeEVCcENyU2xMbkNEVTAxbTc3d2ZobUs4ZjF3VXBYbHRZUHpidGtoZ2V1WDIzb01FYU5mSjUwc193akN0R3hZUVZpQ1M1?oc=5","source":"MarkTechPost","lang":"en","date":"2026-03-08"},{"title":"qmd：让 AI agent 精准回忆、几乎零 token 成本（本地语义搜索）","url":"https://news.google.com/rss/articles/CBMiZkFVX3lxTFBIblcwUUR3N3dNXzhiOHQwdUxSejJ6X3JNNnc4TEFJNjJlVFFTMHRWc1VxaUVkajl5N2RVY3dXQWZFYjV2TnBIaDRtbTN5WTJBOHBQcVRIdFYwd2RSbGJHTXlQaDgwdw?oc=5","source":"80aj.com","lang":"zh","date":"2026-02-02"},{"title":"Create a free data dictionary with R","url":"https://news.google.com/rss/articles/CBMiiwFBVV95cUxQQ1NtV0p6SDdXck1DLVB3UmNaMGZYZk93cmE1UzkxUS1rNkdsRDB0TjRxU0wtbVRoeENBS1FVMUl0UHFOWFVmd0RoZUFPb2kwdlh5S0NyUUthUllkVGVlbzhQWDRpcElRTkIxVFAwdVF6Vm1lZnJkYVhNMVQ0a09zT2hQSVA3VzBuc19B?oc=5","source":"InfoWorld","lang":"en","date":"2023-04-27"}],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}