<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[KeepThread Engineering]]></title><description><![CDATA[KeepThread Engineering]]></description><link>https://keepthread.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6b0fb39c57e57bfad86f06e8/32dfbb71-d0e7-476d-8cf4-e841f7c494db.png</url><title>KeepThread Engineering</title><link>https://keepthread.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Dec 2026 19:40:59 GMT</lastBuildDate><atom:link href="https://keepthread.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Shipping a 100% Local AI-Chat-to-Obsidian Extension Across Chrome MV3 and Firefox (Without showDirectoryPicker)]]></title><description><![CDATA[How KeepThread v1.4.6 syncs AI chats to Obsidian locally across Chrome (showDirectoryPicker) and Firefox (offline image ZIP) with safe LaTeX.]]></description><link>https://keepthread.hashnode.dev/shipping-a-100-local-ai-chat-to-obsidian-extension-across-chrome-mv3-and-firefox-without-showdirectorypicker</link><guid isPermaLink="true">https://keepthread.hashnode.dev/shipping-a-100-local-ai-chat-to-obsidian-extension-across-chrome-mv3-and-firefox-without-showdirectorypicker</guid><category><![CDATA[obsidian]]></category><category><![CDATA[Firefox]]></category><category><![CDATA[chrome extension]]></category><category><![CDATA[markdown]]></category><category><![CDATA[local first]]></category><dc:creator><![CDATA[Jackie Ding]]></dc:creator><pubDate>Wed, 02 Dec 2026 06:10:15 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b0fb39c57e57bfad86f06e8/7762092e-48d8-4c29-94f6-7b177ed0c25c.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Bringing web conversations from ChatGPT, Claude, Perplexity, Gemini, or DeepSeek into a local Obsidian Vault (<code>raw/</code> -&gt; <code>wiki/</code> or alongside <code>obsidian-skills</code>) usually breaks in three places: re-exports overwrite handwritten notes and <code>[[backlinks]]</code>, regex math converters corrupt <code>$</code> inside code fences, and Firefox lacks Chromium's <code>File System Access API</code> (<code>window.showDirectoryPicker</code>).</p>
<p>With <strong>KeepThread <code>v1.4.6</code></strong> now live on both the <strong>Chrome Web Store</strong> and <strong>Firefox Add-ons (AMO)</strong> (and available on Microsoft Edge Add-ons), here is how we kept the entire pipeline 100% local in the browser with <strong>zero cloud servers</strong> and <strong>no <code>&lt;all_urls&gt;</code> permission</strong>:</p>
<h3>1. Dual Browser Storage Paths (Chrome/Edge vs. Firefox MV3)</h3>
<ul>
<li><strong>On Chrome &amp; Edge</strong>: KeepThread links directly to your local Obsidian Vault folder via <code>showDirectoryPicker</code>, wrapping persisted <code>IndexedDB</code> directory handles in bounded timeouts so stale OS handle checks never hang the UI. Continued threads merge in-place by <code>conversation_id</code> between HTML comment markers—leaving handwritten notes, custom YAML, <code>#tags</code>, and <code>[[backlinks]]</code> untouched.</li>
<li><strong>On Firefox (<code>v1.4.6</code> AMO)</strong>: Instead of showing broken folder pickers, feature detection switches cleanly to one-click <code>.md</code> download, <code>obsidian://</code> URI handoff, and a <strong>free single-thread offline <code>.zip</code></strong> that bundles authenticated/blob chat images locally as <code>![[assets/keepthread/...]]</code> with raster magic-byte validation.</li>
</ul>
<h3>2. Code-Fence Immunity &amp; Anti-Truncation Guards</h3>
<ul>
<li><strong>Math &amp; Citations</strong>: Delimiter normalization (<code>\[ \]</code> -&gt; <code>$$</code>, <code>\( \)</code> -&gt; <code>$</code>), embedded KaTeX/MathML deduplication, and <code>## Sources</code> footnote remapping run strictly outside top-level, blockquote-nested, and list-nested code fences. <em>(Standalone zero-upload parser: <a href="https://keepthread.jianlanzhiwei.com/tools/fix-ai-latex.html">Free AI LaTeX to Obsidian Fixer</a>)</em></li>
<li><strong>Virtualized Long Chats</strong>: Open-tab scans compare turn signatures against saved archives and flag partial DOM windows under <strong>Needs Full Capture</strong> rather than silently overwriting earlier turns.</li>
</ul>
<h3>Links</h3>
<ul>
<li><strong>Website &amp; 50s Demo</strong>: <a href="https://keepthread.jianlanzhiwei.com">keepthread.jianlanzhiwei.com</a></li>
<li><strong>Chrome Web Store (<code>v1.4.6</code> Live)</strong>: <a href="https://chromewebstore.google.com/detail/mgoimbdbkbfkkobhbbfflmhjklfppkaf">Install for Chrome</a></li>
<li><strong>Firefox Add-ons / AMO (<code>v1.4.6</code> Live)</strong>: <a href="https://addons.mozilla.org/en-US/firefox/addon/keepthread/">Install for Firefox</a></li>
<li><strong>Microsoft Edge Add-ons (<code>v1.3.0</code> Live; <code>v1.4.6</code> in review)</strong>: <a href="https://microsoftedge.microsoft.com/addons/detail/egenkjkggankklhmildnhiccfgjepani">Install for Edge</a></li>
</ul>
<p>Single-thread Markdown &amp; image <code>.zip</code> exports, Full Capture, and <code>"Only"</code> single-turn cherry-picking are free forever; optional $19 one-time Lifetime Pro (no subscription) unlocks unlimited direct Vault sync and bulk operations.</p>
]]></content:encoded></item></channel></rss>