<?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[Istiqur IT Consultant]]></title><description><![CDATA[Every Istiqur IT Consultant post, including category — AI, Workflow, Windows, Linux, Self-Hosting, and Tech Journey. No tags, just real reading lists.]]></description><link>https://istiqur-it-consultant.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6a8d1fe2dad5fe90ac1c1e8d/27f3619e-6555-4155-9b1e-548e6200520a.svg</url><title>Istiqur IT Consultant</title><link>https://istiqur-it-consultant.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 07:16:07 GMT</lastBuildDate><atom:link href="https://istiqur-it-consultant.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Docx to Markdown Converter for Power Users: Migrate a Word Folder to Astro or Hugo in One Pass]]></title><description><![CDATA[Docx to Markdown Converter for Power Users tutorial: move a Word folder into an Astro or Hugo content directory, frontmatter included.]]></description><link>https://istiqur-it-consultant.hashnode.dev/docx-to-markdown-converter-for-power-users-migrate-word-folder-astro-hugo</link><guid isPermaLink="true">https://istiqur-it-consultant.hashnode.dev/docx-to-markdown-converter-for-power-users-migrate-word-folder-astro-hugo</guid><category><![CDATA[Astro]]></category><category><![CDATA[Hugo]]></category><category><![CDATA[markdown]]></category><category><![CDATA[Tutorial]]></category><category><![CDATA[webdev]]></category><category><![CDATA[productivity tools]]></category><dc:creator><![CDATA[Md. Istiqur Rahman]]></dc:creator><pubDate>Wed, 07 Oct 2026 10:14:09 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a8d1fe2dad5fe90ac1c1e8d/8a0b7ef7-5d57-434d-be8c-f7d3146d0faf.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>Docx to Markdown Converter for Power Users lets you move a folder of Word .docx files into an Astro or Hugo content directory in one pass: drop the batch into the free browser tool, download one zip, unzip into your content folder, then add frontmatter with a small script. Nothing is uploaded, and v2.0.0 handles the bulk step.</em></p>
<p>Docx to Markdown Converter for Power Users covers the hard half of a content migration: turning Word files into Markdown. The other half is frontmatter and structure, and that is what this tutorial adds. The release story is on the <a href="https://remoteseoconsultant.com/docx-to-markdown-converter-for-power-users/">main post</a>.</p>
<h2>How Do You Migrate Word Files With the Docx to Markdown Converter for Power Users?</h2>
<p>You need a folder of <code>.docx</code> files, an Astro or Hugo project, and about an hour for the first run.</p>
<ol>
<li><p>Prepare the Word source.</p>
</li>
<li><p>Convert the batch.</p>
</li>
<li><p>Unzip into the content directory.</p>
</li>
<li><p>Add frontmatter.</p>
</li>
<li><p>Build and check.</p>
</li>
</ol>
<img src="https://cdn.hashnode.com/uploads/covers/6a8d1fe2dad5fe90ac1c1e8d/53922e87-fd95-4b29-baf9-2b405b736507.jpg" alt="Flow diagram from a folder of Word files through the converter and a frontmatter script into an Astro or Hugo content directory" style="display:block;margin:0 auto" />

<p><em>The four-stage path from Word folder to site content.</em></p>
<h3>Step 1: Prepare the Word source</h3>
<p>Apply real Heading 1 to 6 styles and simplify any merged table cells. If you have legacy .doc files, resave them as .docx in Word or LibreOffice. The converter accepts .doc as a text-only beta, but a site migration wants headings and tables.</p>
<h3>Step 2: Convert the batch with the Docx to Markdown Converter for Power Users</h3>
<p>Open the free converter, select every file (or drag the folder's contents in), and wait for each result card. Read each fidelity badge. When two or more files finish, click Download All (.zip).</p>
<p>The tool maps Word structure to GitHub Flavored Markdown through mammoth.js, a table-cleanup pass and Turndown with the GFM plugin. Headings, nested lists, links and pipe tables survive. Visual formatting is dropped on purpose.</p>
<h3>Step 3: Unzip into your content directory</h3>
<pre><code class="language-plaintext"># Astro (content collections)
unzip path/to/your-download.zip -d src/content/docs/

# Hugo
unzip path/to/your-download.zip -d content/docs/
</code></pre>
<img src="https://cdn.hashnode.com/uploads/covers/6a8d1fe2dad5fe90ac1c1e8d/91f35aae-bf50-46cf-ad0f-c4ca07c356da.jpg" alt="Before and after file tree comparing a folder of .docx files with a content directory of .md files carrying frontmatter" style="display:block;margin:0 auto" />

<p><em>Same documents, now version-controlled text.</em></p>
<h3>Step 4: How do you add frontmatter after a Docx to Markdown Converter for Power Users run?</h3>
<p>The converter outputs the document body. Astro collections and Hugo sections want frontmatter. This small Node script adds a title taken from the first heading and marks each file as a draft:</p>
<pre><code class="language-javascript">// add-frontmatter.mjs
import { readdirSync, readFileSync, writeFileSync } from 'node:fs';
import { join } from 'node:path';

const dir = process.argv[2] ?? 'src/content/docs';
for (const name of readdirSync(dir).filter(n =&gt; n.endsWith('.md'))) {
  const path = join(dir, name);
  const body = readFileSync(path, 'utf8');
  if (body.startsWith('---')) continue;
  const h1 = body.match(/^#\s+(.+)$/m);
  const title = (h1 ? h1[1] : name.replace(/\.md$/, '')).replace(/"/g, '\\"');
  writeFileSync(path, `---\ntitle: "${title}"\ndraft: true\n---\n\n${body}`);
</code></pre>
<p>Run it with <code>node add-frontmatter.mjs src/content/docs</code>. Check your own content schema first: Astro collections validate frontmatter, and Hugo archetypes differ per theme.</p>
<h3>Step 5: Build and check</h3>
<p>Run your dev server and open three pages: one with a table, one with a nested list, one with links. Fix relative links and image references, then flip <code>draft</code> to <code>false</code> page by page.</p>
<h2>What Should You Watch For in a Docx to Markdown Converter for Power Users Migration?</h2>
<ul>
<li><p><strong>Heading levels.</strong> Many sites reserve H1 for the page title, so a converted H1 may duplicate it. Demote or remove it in your template.</p>
</li>
<li><p><strong>Relative links.</strong> Word links to other documents will not resolve. Rewrite them to site paths.</p>
</li>
<li><p><strong>File names.</strong> Zip entries match source names. Rename to slugs your router expects.</p>
</li>
<li><p><strong>Images.</strong> Verify how images come through in your sample and plan them separately.</p>
</li>
</ul>
<h3>Key Takeaways</h3>
<ul>
<li><p>Convert in bulk with the browser tool, then add frontmatter with a script.</p>
</li>
<li><p>Resave .doc files as .docx before a site migration.</p>
</li>
<li><p>Check headings, relative links and file names after unzipping.</p>
</li>
<li><p>Keep the diff reviewable: one conversion commit, one frontmatter commit.</p>
</li>
</ul>
<img src="https://cdn.hashnode.com/uploads/covers/6a8d1fe2dad5fe90ac1c1e8d/dfc57053-3ea6-4ce2-a5f4-5f3adf0b3fd0.jpg" alt="Roadmap infographic of the Docx to Markdown Converter for Power Users migration to Astro or Hugo" style="display:block;margin:0 auto" />

<p><em>The migration roadmap for the Docx to Markdown Converter for Power Users. Save it for your next site move.</em></p>
<h2>Conclusion</h2>
<p>A Word-to-site migration is four repeatable steps and one review. The <a href="https://www.openpr.com/news/4646405/docx-to-markdown-converter-for-power-users-v2-0-0-adds-bulk">OpenPR announcement</a> is there if you need a citation, and the Docx to Markdown Converter for Power Users is there for the conversion.</p>
<h3>FAQ</h3>
<p><strong>Can I move Word documents into Astro?</strong></p>
<p>Yes. Convert the Word files to Markdown, unzip them into a content collection folder, add the frontmatter your collection schema requires, then build and check pages. The converter handles the Word-to-Markdown step, and a short script can add titles and draft flags afterward.</p>
<p><strong>Can I move Word documents into Hugo?</strong></p>
<p>Yes. Convert the files, unzip them into a content section, add frontmatter that matches your archetype, then run Hugo. Heading levels may need adjusting to fit your theme, because many themes already render the page title as the top-level heading.</p>
<p><strong>Does the converter add frontmatter?</strong></p>
<p>No. The converter outputs the document body only. Add frontmatter afterward, manually or with a short script like the one in this tutorial, which reads the first heading as the title and marks each converted file as a draft until you review it.</p>
<p><strong>How do I convert many Word files at once?</strong></p>
<p>Select all files in the file picker or drag them in together. Each file converts independently into its own card, and Download All (.zip) bundles the results once two or more finish, so a whole folder becomes one archive you can unzip into your project.</p>
<p><strong>Is the converter free?</strong></p>
<p><mark class="bg-yellow-200 dark:bg-yellow-500/30">Yes. It is a free Docx to Markdown tool with no signup, no install and no watermark. Sponsorship placements on the page help cover upkeep, so the converter stays free for developers who use it for site migrations and docs work.</mark></p>
<p><strong>Are my files uploaded?</strong></p>
<p>No. Conversion runs in your browser with JavaScript on your device. Nothing is uploaded, tracked or stored, and the Download All zip is built locally too, so you can convert a whole content folder without any document leaving your machine.</p>
<p><strong>What happens to old .doc files?</strong></p>
<p>They are accepted as a beta with text-only extraction, so headings, lists and tables are not preserved. For a site migration, resave the file as .docx in Word or LibreOffice first so the converter can map real headings and tables into Markdown.</p>
<p><strong>Do tables survive?</strong></p>
<p>For .docx files, yes, as GitHub Flavored Markdown pipe tables. Merged or very complex cells can need a manual check, so open one converted page with a table in your Astro or Hugo dev server and confirm that it renders correctly before you flip the draft flag.</p>
<p><strong>Why do I get two H1 headings on a page?</strong></p>
<p>Your template probably renders the page title as an H1, and the converted document also starts with an H1. Demote or remove the body H1 in the content or in the template so each page keeps a single top-level heading for readers and search engines.</p>
<p><strong>How do I fix relative links?</strong></p>
<p>Word links to other files will not resolve inside a site. Search the converted Markdown for link targets, then rewrite them to your site's URL paths. A short script or an editor's find and replace is enough for a handful of documents.</p>
<p><strong>How do I convert Google Docs?</strong></p>
<p>Download the Google Doc as a Microsoft Word .docx using File, Download, Microsoft Word, then convert that file. Google Docs does not export clean Markdown by default, so the .docx step gives the converter real heading styles and tables to map.</p>
<p><strong>Can I sponsor the converter page?</strong></p>
<blockquote>
<p>Yes. Sponsorship placements on the converter page are open, first come, first served. Use the Sponsored Placements button in the footer of remoteseoconsultant.com to start the conversation. Sponsorship does not change how files are converted, which stays in the browser.</p>
</blockquote>
]]></content:encoded></item><item><title><![CDATA[OpenCode Not Working in Windows 11? I Broke Both My CLI and Desktop App With One Copy-Paste]]></title><description><![CDATA[OpenCode not working on CLI and Desktop? I traced mine to one bad YAML field in a subagent file. Full error text, fix, and verification steps inside.]]></description><link>https://istiqur-it-consultant.hashnode.dev/opencode-not-working-in-windows-11-postmortem</link><guid isPermaLink="true">https://istiqur-it-consultant.hashnode.dev/opencode-not-working-in-windows-11-postmortem</guid><category><![CDATA[opencode]]></category><category><![CDATA[ai agents]]></category><category><![CDATA[windows 11]]></category><category><![CDATA[Microsoft Windows]]></category><category><![CDATA[technical debug]]></category><dc:creator><![CDATA[Md. Istiqur Rahman]]></dc:creator><pubDate>Fri, 18 Sep 2026 14:28:32 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a8d1fe2dad5fe90ac1c1e8d/f9e870ed-d549-45d4-a667-682d9ff3c7c5.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>OpenCode not working in Windows 11 is the kind of bug that makes you feel a specific flavor of stupid — not because it's hard, but because you did it to yourself, in about thirty seconds, without thinking twice.</p>
<p>Here's the full story: what broke, why it took down two separate applications at once, and the one-line fix that ended it.</p>
<h2>Setting the Scene</h2>
<p>I run a small AI-assisted content workflow. Nothing exotic — a laptop, a few coding assistants I lean on for repetitive work, and OpenCode handling part of my blog pipeline.</p>
<p>I decided to add five custom subagents to speed things up: a writer, an SEO checker, a reviewer, a researcher, a translator. I had files sitting around already, built for a different AI coding assistant I also run daily. Same surface shape — Markdown, YAML frontmatter, a <code>tools:</code> field.</p>
<p>I copied them straight into OpenCode's config folder. Closed the terminal. Moved on with my day.</p>
<p><em>That was the entire mistake.</em></p>
<h2>Two Apps, Same Moment, Same Failure</h2>
<p>A few minutes later I reopened my terminal to keep working.</p>
<p>Nothing. Not a slow load, not a hang — a flat, immediate refusal to start, every single time.</p>
<p>I opened OpenCode's Desktop app next, half-expecting it to just work. It didn't. Same dead-on-arrival behavior, and this is a genuinely separate application: different installer, different version number (1.18.23 for the CLI, 1.18.25 for Desktop).</p>
<p>Two apps, same instant, same failure, for a reason neither one explained clearly up front.</p>
<h3>What the CLI Told Me (Everything)</h3>
<p>Running <code>opencode</code> directly in the terminal produced this before any interface even rendered:</p>
<pre><code class="language-plaintext">Configuration is invalid at C:\Users\istiqur\.config\opencode\agents\blog-writer.md
↳ Expected object | undefined, got ["Read","Write","Edit","Grep","Glob"] tools
</code></pre>
<p>That's a genuinely well-designed error. It names the file. It names the field. It tells you what type it expected versus what it actually got. If I'd read it carefully the first time, this would've been a five-minute fix instead of a proper investigation.</p>
<h3>What the Desktop App Told Me (Almost Nothing)</h3>
<p>Curious whether the GUI would be equally specific, I checked its logs too:</p>
<pre><code class="language-plaintext">[2026-08-30 14:11:29.555] [error]  Failed to load sessions Error: ConfigInvalidError
[2026-08-30 14:11:29.580] [error]  Failed to load sessions Error: ConfigInvalidError
[2026-08-30 14:11:36.928] [error]  Failed to finish bootstrap instance Error: ConfigInvalidError
</code></pre>
<p>No file. No field. Just a bare error class, repeated, then a hard stop. Same underlying failure as the CLI — wildly different diagnostic value depending on which surface happened to be in front of me.</p>
<h2>Why One File Took Down Two "Separate" Apps</h2>
<p>Here's the part worth actually remembering past this one incident.</p>
<p>OpenCode's CLI and Desktop app are not the same binary. Different installers, different data folders, different version numbers. But they share one thing that matters more than any of that: the same config directory on disk, <code>~/.config/opencode/</code>, and the same local sidecar server spun up at startup.</p>
<p>Desktop's own startup log proved the server itself was healthy:</p>
<pre><code class="language-plaintext">[info]  spawning sidecar { url: 'http://127.0.0.1:11956' }
[info]  server ready { url: 'http://127.0.0.1:11956' }
</code></pre>
<p>Clean startup. It only failed once it tried to actually enumerate my agents folder and hit the malformed file. If a CLI tool and its GUI counterpart share a config directory, breaking one from the command line breaks the other — no separate installer changes that.</p>
<h3>Root Cause: A List Where a Map Was Expected</h3>
<p>The five files I'd added declared their allowed tools as a YAML <strong>list</strong> — the format a different AI coding assistant uses for its own subagents:</p>
<pre><code class="language-yaml">yaml
tools:
  - Read
  - Write
  - Edit
</code></pre>
<p><a href="https://opencode.ai/docs/config/"><strong>OpenCode's config schema</strong></a> <strong>requires the same field as a YAML map instead, tool name to boolean:</strong></p>
<pre><code class="language-yaml">yaml
tools:
  read: true
  write: true
  edit: true
</code></pre>
<p>Both are completely valid YAML on their own terms. <a href="https://yaml.org/spec/1.2.2/">The YAML 1.2.2 specification</a> treats a sequence and a mapping as fundamentally different node types, so a file can parse cleanly and still fail a schema check the moment a stricter tool inspects its shape.</p>
<p>All five files I'd added carried the identical defect:</p>
<ul>
<li><p><a href="http://blog-writer.md"><code>blog-writer.md</code></a></p>
</li>
<li><p><a href="http://blog-seo.md"><code>blog-seo.md</code></a></p>
</li>
<li><p><a href="http://blog-reviewer.md"><code>blog-reviewer.md</code></a></p>
</li>
<li><p><a href="http://blog-researcher.md"><code>blog-researcher.md</code></a></p>
</li>
<li><p><a href="http://blog-translator.md"><code>blog-translator.md</code></a></p>
</li>
</ul>
<p>Not one typo. A whole batch, carried over from the wrong source, without translating the schema.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a8d1fe2dad5fe90ac1c1e8d/deb2407a-f0ee-42d8-bc1f-e8ecec52c2a2.png" alt="Diagram comparing the YAML list format that caused OpenCode not working against the YAML map format OpenCode actually expects" style="display:block;margin:0 auto" />

<p><em><strong>Full breakdown on video:</strong></em></p>
<p><a class="embed-card" href="https://www.youtube.com/watch?v=jZcRgkG01Gg">https://www.youtube.com/watch?v=jZcRgkG01Gg</a></p>

<h2>The Fix Took One Line Per File</h2>
<pre><code class="language-yaml">diff
 tools:
-  - Read
-  - Write
-  - Edit
+  Read: true
+  Write: true
+  Edit: true
</code></pre>
<p>Repeat that pattern across all five files, save, relaunch. No reinstall, no cache clear, no forum thread required. The CLI came up clean on the first try — zero matches for "invalid" or "error" in the captured output.</p>
<h3>Verifying the Desktop App (Where I Almost Fooled Myself)</h3>
<blockquote>
<p>I checked OpenCode Desktop's log folder right after the fix and still saw the old errors. Ten seconds of quiet panic followed.</p>
</blockquote>
<p>Then I noticed the timestamp. That log session had started <em>before</em> my fix was even saved — stale evidence, not a failed fix. Comparing a log session's own start time against your fix's file-modification time before trusting it is a small habit that saves a lot of confusion. Force-relaunching Desktop and checking the fresh session confirmed zero errors across both <code>renderer.log</code> and <code>main.log</code>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a8d1fe2dad5fe90ac1c1e8d/f3122c2d-6182-46a3-9455-665f6f9bb6ff.png" alt="Before and after bar chart showing OpenCode not working errors dropping from six to zero once the tools field was fixed" style="display:block;margin:0 auto" />

<h2>One More Thing, Unrelated to the Bug</h2>
<p><mark class="bg-yellow-200 dark:bg-yellow-500/30">While digging through my own config, I noticed </mark> <code>opencode.json</code> <mark class="bg-yellow-200 dark:bg-yellow-500/30">stores live API keys for a couple of MCP services in plain text. Not a crash risk — a quiet one. Worth checking your own setup for the same thing, regardless of which AI tools you run.</mark></p>
<h3>What I'm Keeping From This</h3>
<ol>
<li><p>Subagent formats don't travel between AI coding tools automatically — a list and a map can look almost identical and still be incompatible underneath.</p>
</li>
<li><p>Eager, whole-config validation has a real blast radius — one bad file took down every entry point.</p>
</li>
<li><p>A CLI and its GUI sibling can share failure modes invisibly, even with separate installers and version numbers.</p>
</li>
<li><p>Error message quality is inconsistent even within one product — reproduce in the CLI first when a GUI app goes quiet.</p>
</li>
<li><p>Never trust a log without checking its timestamp against your fix.</p>
</li>
</ol>
<img src="https://cdn.hashnode.com/uploads/covers/6a8d1fe2dad5fe90ac1c1e8d/54419f10-f0a9-41df-9a85-7c6ec83871a2.png" alt="Three lessons learned from OpenCode not working, covering subagent format mismatches, blast radius, and stale log timestamps" style="display:block;margin:0 auto" />

<h2>Why I Wrote This One Specifically</h2>
<p>I asked my newsletter subscribers to vote on what I'd write about next — three real incidents from my own machine, one vote each. This one, the OpenCode Not Working postmortem, won with 69% of the vote, ahead of a GPU driver crash on charger-plug (13%) and a <code>vmmem</code> memory leak after using WSL (18%). If you want a say in what gets picked next, <a href="https://istiquritconsultant.com/no-spam-tech-newsletter/">the newsletter</a> is free, has no spam, and anyone can join or leave anytime.</p>
<p>The complete technical write-up — every log, table, and diff — lives at <a href="http://istiquritconsultant.com">istiquritconsultant.com</a>, if you want the full reference version — or browse the <a href="https://istiquritconsultant.com/workflow-optimization-blogs/">full Workflow Optimization archive</a>.</p>
<p>If you're dealing with OpenCode Not Working in Windows 11 right now: check the CLI first, check your <code>tools:</code> field's shape second, and don't trust a stale log third. That's genuinely the whole fix.</p>
<h3>Find Me Elsewhere</h3>
<ul>
<li><p><a href="http://Dev.to">Dev.to</a></p>
</li>
<li><p><a href="https://x.com/mdistiqurrahman">X (Twitter)</a></p>
</li>
<li><p><a href="https://remoteseoconsultant.medium.com/">Medium</a></p>
</li>
<li><p><a href="https://istiquritconsultant.substack.com/">Substack</a></p>
</li>
<li><p><a href="https://remoteseoconsultant.blogspot.com/">Blogger</a></p>
</li>
<li><p><a href="https://sites.google.com/view/remotegtmmanager/">Google Sites</a></p>
</li>
<li><p><a href="https://pastebin.com/u/remotegtmmanager">Pastebin</a></p>
</li>
<li><p><a href="https://github.com/istiquritconsultant/blog-archive">GitHub</a></p>
</li>
<li><p><a href="https://www.linkedin.com/in/md-istiqur-rahman-rabby/">LinkedIn</a></p>
</li>
<li><p><a href="https://coderlegion.com/user/remoteseoconsultant">CoderLegion</a></p>
</li>
</ul>
]]></content:encoded></item></channel></rss>