{"slug": "vaultrelink-bringing-lost-notes-back-to-life-with-local-ai", "title": "VaultRelink: Bringing Lost Notes Back to Life with Local AI", "summary": "A developer built VaultRelink, an open-source tool that scans local Markdown vaults for broken [[wiki links]] and suggests replacements using the quantized ONNX export of sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 running on CPU. The tool indexes overlapping note chunks, combines semantic similarity with lexical overlap, and outputs a local HTML report with real excerpts and scores, never editing the vault itself. In a synthetic test of 20 notes, semantic retrieval ranked the intended note first for 17 of 18 positive queries and within the top three for all 18, though the developer notes this does not establish accuracy of the final hybrid ranking.", "body_md": "*This is a submission for the [Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine](https://dev.to/challenges/hacktoberfest-week4-2026-10-26).*\n\nOld notes are little ghosts: they still contain memories, but their links can point to names that no longer exist. VaultRelink helps a person find those lost connections in a local Markdown archive. It scans `[[wiki links]]`, finds missing targets, ranks existing notes, and shows real excerpts and suggested replacements in a local HTML report. It never edits the vault; a human decides what to do.\n\n[Watch the illustrated walkthrough](https://github.com/Seranov67/VaultRelink/blob/main/vaultrelink-demo.mp4). The video illustrates the actual fictional-vault run; it is not a screen recording.\n\nThe included fictional demo has a broken link to a garden of memories. The report proposes the existing rose-stories note and preserves the link's display text in its suggested replacement.\n\n[Source code and setup instructions](https://github.com/Seranov67/VaultRelink) — MIT license.\n\nThe core is the open-weight `sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2`, using the upstream quantized ONNX export and CPU inference. VaultRelink indexes overlapping chunks of notes, compares their embeddings with the missing link and surrounding context, and combines semantic similarity with lexical overlap. Each suggestion includes an excerpt from an actual note and a score that is a ranking signal, not a probability.\n\nI first tested the model on a small synthetic dataset: 20 notes, 18 positive queries and 5 negative examples. Semantic retrieval returned the intended note first for 17 of 18 positives and within the top three for all 18. The benchmark preceded the application and does not establish the accuracy of the final hybrid ranking or performance on real vaults.\n\nThe model runs locally after its initial download, without a paid API. The user can inspect the code, retain their notes on their own machine, and replace the model in a future version. Keeping the repair as a suggestion helps a person verify the evidence before changing a memory archive.\n\nThe scanner supports a subset of Obsidian link resolution; aliases in frontmatter and heading validation are not implemented. Query context may be truncated. Ranking is fallible, and generated reports can contain sensitive note excerpts. The fictional demo is included so reviewers can explore the app without exposing private notes.\n\nModel: [multilingual MiniLM](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2), upstream model card states Apache 2.0. ONNX Runtime, NumPy and Tokenizers are third-party dependencies. AI assistance was used during development.", "url": "https://wpnews.pro/news/vaultrelink-bringing-lost-notes-back-to-life-with-local-ai", "canonical_source": "https://dev.to/member_d9f61f29/vaultrelink-bringing-lost-notes-back-to-life-with-local-ai-mjl", "published_at": "2026-10-29 18:04:36+00:00", "updated_at": "2026-10-29 18:19:21.607888+00:00", "lang": "en", "topics": ["artificial-intelligence", "machine-learning", "natural-language-processing", "ai-tools", "developer-tools"], "entities": ["VaultRelink", "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2", "ONNX Runtime", "NumPy", "Tokenizers", "Obsidian", "Hacktoberfest"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/vaultrelink-bringing-lost-notes-back-to-life-with-local-ai", "markdown": "https://wpnews.pro/news/vaultrelink-bringing-lost-notes-back-to-life-with-local-ai.md", "text": "https://wpnews.pro/news/vaultrelink-bringing-lost-notes-back-to-life-with-local-ai.txt", "jsonld": "https://wpnews.pro/news/vaultrelink-bringing-lost-notes-back-to-life-with-local-ai.jsonld"}}