<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Ghazi</title>
    <description>The latest articles on Forem by Ghazi (@mgks).</description>
    <link>https://forem.com/mgks</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3404228%2Ffe6f8dbb-fb6b-4769-b3a4-a33976f4565b.jpg</url>
      <title>Forem: Ghazi</title>
      <link>https://forem.com/mgks</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mgks"/>
    <language>en</language>
    <item>
      <title>Why I rewrote my CLI tool into an Isomorphic Monorepo</title>
      <dc:creator>Ghazi</dc:creator>
      <pubDate>Mon, 16 Feb 2026 06:52:17 +0000</pubDate>
      <link>https://forem.com/mgks/why-i-rewrote-my-cli-tool-into-an-isomorphic-monorepo-592</link>
      <guid>https://forem.com/mgks/why-i-rewrote-my-cli-tool-into-an-isomorphic-monorepo-592</guid>
      <description>&lt;p&gt;I love tools like Docusaurus and Mintlify. They are powerful. But sometimes, they feel like bringing a bazooka to a knife fight.&lt;/p&gt;

&lt;p&gt;I found myself spending more time configuring Webpack, fixing hydration errors, or dealing with heavy &lt;code&gt;node_modules&lt;/code&gt; than actually writing the documentation for my side projects. I wanted something that felt like the old days of static HTML—fast, simple, robust—but with modern features like search and dark mode.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;docmd&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It started as a simple script. But with the release of &lt;strong&gt;v0.4.0&lt;/strong&gt; this week, it has evolved into something much more interesting. Here is the journey of how (and why) I refactored a Node.js CLI into an isomorphic engine that runs entirely in the browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Philosophy: Zero-Config, Zero-Hydration
&lt;/h2&gt;

&lt;p&gt;The core rule of &lt;code&gt;docmd&lt;/code&gt; is simple: &lt;strong&gt;You write Markdown. We give you HTML.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There is no React runtime. There is no hydration process. The output is pure, semantic HTML and CSS. This makes the generated sites blazing fast and perfectly SEO-friendly by default.&lt;/p&gt;

&lt;h2&gt;
  
  
  The v0.4.0 Challenge: Going Isomorphic
&lt;/h2&gt;

&lt;p&gt;For the latest release, I wanted to build a &lt;strong&gt;Live Editor&lt;/strong&gt;—a place where users could type Markdown and see the preview instantly without a server round-trip.&lt;/p&gt;

&lt;p&gt;To do this, I had to tear the project apart.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;The Monorepo Split:&lt;/strong&gt; I separated the logic into &lt;code&gt;@docmd/core&lt;/code&gt; (the CLI runner) and &lt;code&gt;@docmd/parser&lt;/code&gt; (the pure logic).&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Removing Node Dependencies:&lt;/strong&gt; The parser had to be stripped of all &lt;code&gt;fs&lt;/code&gt; (file system) calls. It now accepts strings and returns objects.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;The Browser Bundle:&lt;/strong&gt; I used &lt;code&gt;esbuild&lt;/code&gt; to bundle the parser + UI templates into a single &lt;code&gt;&amp;lt; 15kb&lt;/code&gt; file.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The result? You can now run &lt;code&gt;docmd live&lt;/code&gt; to spin up a local editor where the compilation happens &lt;strong&gt;100% in your RAM&lt;/strong&gt;. It’s instant.&lt;/p&gt;

&lt;h2&gt;
  
  
  What makes it special?
&lt;/h2&gt;

&lt;p&gt;Aside from the architecture, here are the features I’m most proud of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Offline Search:&lt;/strong&gt; It builds a search index at compile time. The search bar works without an internet connection and requires no API keys (looking at you, Algolia).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;AI Context (&lt;code&gt;llms.txt&lt;/code&gt;):&lt;/strong&gt; As of v0.4.6, it automatically generates an &lt;code&gt;/llms.txt&lt;/code&gt; file, making your documentation easily consumable by AI agents like Claude or Cursor.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Mermaid.js Support:&lt;/strong&gt; Built-in. Just use a code fence, and it renders the diagram.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Self-Closing Buttons:&lt;/strong&gt; I hated the verbose syntax for containers, so I wrote a custom parser rule for buttons. &lt;code&gt;::: button "Click Me" /link&lt;/code&gt; is all you need.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where we are going
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;docmd&lt;/code&gt; isn't trying to replace Docusaurus for enterprise-scale apps with complex dynamic needs. It’s for library authors, API documenters, and developers who just want to &lt;strong&gt;ship docs&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It is 100% Open Source (MIT). I’d love for you to try it out, break it, and tell me what you think.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; @docmd/core
docmd init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Repo:&lt;/strong&gt; &lt;a href="https://github.com/docmd-io/docmd" rel="noopener noreferrer"&gt;github.com/docmd-io/docmd&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://live.docmd.io" rel="noopener noreferrer"&gt;live.docmd.io&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Suggestions will surely improve the project potential.</title>
      <dc:creator>Ghazi</dc:creator>
      <pubDate>Sat, 02 Aug 2025 20:48:21 +0000</pubDate>
      <link>https://forem.com/mgks/suggestions-will-surely-improve-the-project-potential-5916</link>
      <guid>https://forem.com/mgks/suggestions-will-surely-improve-the-project-potential-5916</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" class="crayons-story__hidden-navigation-link"&gt;Best Lightweight Docusaurus Alternative? I Think It’s "docmd" - A Refreshingly Minimal Docs Generator&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/bsprout431" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3406735%2Facef912e-b40f-4a03-90cb-ec29c6703904.jpg" alt="bsprout431 profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/bsprout431" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Brian Sprout
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Brian Sprout
                
              
              &lt;div id="story-author-preview-content-2747076" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/bsprout431" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3406735%2Facef912e-b40f-4a03-90cb-ec29c6703904.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Brian Sprout&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Aug 1 '25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" id="article-link-2747076"&gt;
          Best Lightweight Docusaurus Alternative? I Think It’s "docmd" - A Refreshingly Minimal Docs Generator
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/documentation"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;documentation&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/javascript"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;javascript&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/productivity"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;productivity&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/raised-hands-74b2099fd66a39f2d7eed9305ee0f4553df0eb7b4f11b01b6b1b499973048fe5.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;6&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              1&lt;span class="hidden s:inline"&gt; comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            2 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>documentation</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Interesting.</title>
      <dc:creator>Ghazi</dc:creator>
      <pubDate>Sat, 02 Aug 2025 20:47:27 +0000</pubDate>
      <link>https://forem.com/mgks/interesting-2jmd</link>
      <guid>https://forem.com/mgks/interesting-2jmd</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" class="crayons-story__hidden-navigation-link"&gt;Best Lightweight Docusaurus Alternative? I Think It’s "docmd" - A Refreshingly Minimal Docs Generator&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/bsprout431" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3406735%2Facef912e-b40f-4a03-90cb-ec29c6703904.jpg" alt="bsprout431 profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/bsprout431" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Brian Sprout
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Brian Sprout
                
              
              &lt;div id="story-author-preview-content-2747076" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/bsprout431" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3406735%2Facef912e-b40f-4a03-90cb-ec29c6703904.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Brian Sprout&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Aug 1 '25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" id="article-link-2747076"&gt;
          Best Lightweight Docusaurus Alternative? I Think It’s "docmd" - A Refreshingly Minimal Docs Generator
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/documentation"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;documentation&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/javascript"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;javascript&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/productivity"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;productivity&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/raised-hands-74b2099fd66a39f2d7eed9305ee0f4553df0eb7b4f11b01b6b1b499973048fe5.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;6&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              1&lt;span class="hidden s:inline"&gt; comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            2 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>documentation</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Surely people are picking it up now. A well written and analyzed piece for a very early release project.</title>
      <dc:creator>Ghazi</dc:creator>
      <pubDate>Sat, 02 Aug 2025 20:46:39 +0000</pubDate>
      <link>https://forem.com/mgks/surely-people-are-picking-it-up-now-a-well-written-and-analyzed-piece-for-a-very-early-release-58l6</link>
      <guid>https://forem.com/mgks/surely-people-are-picking-it-up-now-a-well-written-and-analyzed-piece-for-a-very-early-release-58l6</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" class="crayons-story__hidden-navigation-link"&gt;Best Lightweight Docusaurus Alternative? I Think It’s "docmd" - A Refreshingly Minimal Docs Generator&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/bsprout431" class="crayons-avatar  crayons-avatar--l  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3406735%2Facef912e-b40f-4a03-90cb-ec29c6703904.jpg" alt="bsprout431 profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/bsprout431" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Brian Sprout
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Brian Sprout
                
              
              &lt;div id="story-author-preview-content-2747076" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/bsprout431" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3406735%2Facef912e-b40f-4a03-90cb-ec29c6703904.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Brian Sprout&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Aug 1 '25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" id="article-link-2747076"&gt;
          Best Lightweight Docusaurus Alternative? I Think It’s "docmd" - A Refreshingly Minimal Docs Generator
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/documentation"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;documentation&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/javascript"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;javascript&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/productivity"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;productivity&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/raised-hands-74b2099fd66a39f2d7eed9305ee0f4553df0eb7b4f11b01b6b1b499973048fe5.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;6&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/bsprout431/best-lightweight-docusaurus-alternative-i-think-its-docmd-a-refreshingly-minimal-docs-47da#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              1&lt;span class="hidden s:inline"&gt; comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            2 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>documentation</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Docmd: Markdown to Docs, No Bullshit Documentation Generator</title>
      <dc:creator>Ghazi</dc:creator>
      <pubDate>Thu, 31 Jul 2025 22:14:34 +0000</pubDate>
      <link>https://forem.com/mgks/docmd-markdown-to-docs-no-bullshit-documentation-generator-5893</link>
      <guid>https://forem.com/mgks/docmd-markdown-to-docs-no-bullshit-documentation-generator-5893</guid>
      <description>&lt;p&gt;Writing documentation shouldn’t require a framework, a theme system, and a master's in YAML. Markdown is simple. So the output should be too.&lt;/p&gt;

&lt;p&gt;Docmd is a Node.js-based static site generator for documentation. It takes a folder of .md files and spits out a responsive HTML site — with themes, sidebars, nested components, the usual stuff — without touching React, Vue, or anything that thinks hydration is necessary to show text.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Docmd?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Here’s the reality:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Docusaurus is bloated.&lt;/li&gt;
&lt;li&gt;MkDocs is Python-based.&lt;/li&gt;
&lt;li&gt;Mintlify wants a subscription.&lt;/li&gt;
&lt;li&gt;GitHub’s own markdown rendering is mid.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;So I built something for developers who just want this:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install -g @mgks/docmd
docmd init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That’s it. You get a working documentation site.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Features (aka what actually works):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multiple themes (sky/ruby/retro)&lt;/li&gt;
&lt;li&gt;Nested custom containers: &lt;code&gt;:::tabs&lt;/code&gt;, &lt;code&gt;:::card&lt;/code&gt;, &lt;code&gt;:::steps&lt;/code&gt;, etc.&lt;/li&gt;
&lt;li&gt;Sidebar config, breadcrumb, favicon, metadata, theme-modes&lt;/li&gt;
&lt;li&gt;GitHub Pages support&lt;/li&gt;
&lt;li&gt;Local dev server (docmd dev)&lt;/li&gt;
&lt;li&gt;Zero client-side JS frameworks (no React, no Bootstrap, no clutter)&lt;/li&gt;
&lt;li&gt;Built-in plugins (SEO, sitemap, GA)&lt;/li&gt;
&lt;li&gt;Pure markdown + YAML frontmatter - no templating drama&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Built For People Who:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Write code, not content for marketing&lt;/li&gt;
&lt;li&gt;Prefer folders over CMSes&lt;/li&gt;
&lt;li&gt;Want to deploy docs to GitHub Pages without 30 extra steps&lt;/li&gt;
&lt;li&gt;Hate “init” scripts that install 200MB of dependencies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Not For:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;People who want live search, Algolia (sorry dev.to team), or page transitions&lt;/li&gt;
&lt;li&gt;Anyone emotionally attached to React&lt;/li&gt;
&lt;li&gt;Marketing teams with a Figma addiction&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try docmd
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;a href="https://docmd.mgks.dev" rel="noopener noreferrer"&gt;docmd.mgks.dev&lt;/a&gt;&lt;br&gt;
📦 &lt;a href="https://www.npmjs.com/package/@mgks/docmd" rel="noopener noreferrer"&gt;@mgks/docmd&lt;/a&gt;&lt;br&gt;
🔧 &lt;a href="https://github.com/mgks/docmd" rel="noopener noreferrer"&gt;github.com/mgks/docmd&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No setup wizard. No plugins just to get tabs. No weird templating syntax.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Just markdown in → docs out.&lt;/p&gt;

&lt;p&gt;That’s the whole pitch.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>node</category>
      <category>markdown</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
