<?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>DEV Community: Bao_Chill_Chill</title>
    <description>The latest articles on DEV Community by Bao_Chill_Chill (@baochillchill).</description>
    <link>https://dev.to/baochillchill</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%2F3932613%2F9ad1970a-d448-46f7-9df7-87bac1769067.png</url>
      <title>DEV Community: Bao_Chill_Chill</title>
      <link>https://dev.to/baochillchill</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/baochillchill"/>
    <language>en</language>
    <item>
      <title>I built a zero-dependency markdown folder viewer for AI context engineering (one .html file)</title>
      <dc:creator>Bao_Chill_Chill</dc:creator>
      <pubDate>Fri, 15 May 2026 07:35:27 +0000</pubDate>
      <link>https://dev.to/baochillchill/i-built-a-zero-dependency-markdown-folder-viewer-for-ai-context-engineering-one-html-file-21ip</link>
      <guid>https://dev.to/baochillchill/i-built-a-zero-dependency-markdown-folder-viewer-for-ai-context-engineering-one-html-file-21ip</guid>
      <description>&lt;h2&gt;
  
  
  The problem nobody talks about
&lt;/h2&gt;

&lt;p&gt;Everyone's excited about context engineering — CLAUDE.md files, structured docs/ folders, per-developer "current state" files. But as your project grows, you end up with something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docs/
├── architecture.md          (8,200 tokens)
├── decisions.md             (12,400 tokens)
├── tech_debt.md             (6,100 tokens)
├── api-patterns.md          (4,300 tokens)
├── context/
│   ├── current_state_alice.md
│   ├── current_state_bob.md
│   └── feature_index.md
└── history/
    ├── 2026-04-auth-rewrite.md
    └── 2026-03-migration.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now you have two problems:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;You can't see the forest for the trees&lt;/strong&gt; — browsing .md files in a terminal or IDE one at a time doesn't give you a sense of the whole&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Token bloat is invisible&lt;/strong&gt; — you don't know which files are eating your context budget until Claude starts truncating things&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What I built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;human-context&lt;/strong&gt; — a single &lt;code&gt;.html&lt;/code&gt; file that turns your docs folder into a browsable knowledge base. No server. No npm install. No build step. Just open it in Chrome or Edge.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/zzgiabaozzbui/human-context" rel="noopener noreferrer"&gt;https://github.com/zzgiabaozzbui/human-context&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  How it works
&lt;/h3&gt;

&lt;p&gt;It uses the &lt;strong&gt;File System Access API&lt;/strong&gt; (Chrome/Edge) — you click "Open Folder", select your docs directory, and instantly get:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📁 &lt;strong&gt;File tree&lt;/strong&gt; with folder expand/collapse&lt;/li&gt;
&lt;li&gt;🔢 &lt;strong&gt;Token count per file&lt;/strong&gt; (cl100k tokenizer, runs in-browser)&lt;/li&gt;
&lt;li&gt;📖 &lt;strong&gt;Rendered markdown&lt;/strong&gt; with syntax-highlighted code blocks&lt;/li&gt;
&lt;li&gt;📋 &lt;strong&gt;Auto-generated TOC&lt;/strong&gt; with scroll spy&lt;/li&gt;
&lt;li&gt;🌙 &lt;strong&gt;Dark/light mode&lt;/strong&gt; toggle&lt;/li&gt;
&lt;li&gt;🔍 &lt;strong&gt;Search&lt;/strong&gt; to filter the file tree in real-time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Firefox fallback uses &lt;code&gt;&amp;lt;input webkitdirectory&amp;gt;&lt;/code&gt; for broad browser support.&lt;/p&gt;

&lt;h2&gt;
  
  
  The workflow it enables
&lt;/h2&gt;

&lt;p&gt;My team now does a weekly "context audit":&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open human-context, point it at &lt;code&gt;docs/&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Sort by token count — anything over 6k gets reviewed&lt;/li&gt;
&lt;li&gt;Archive stale sections to &lt;code&gt;docs/history/&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Update the relevant current_state file&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The AI sessions get faster and more accurate because the context is tighter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why single-file HTML?
&lt;/h2&gt;

&lt;p&gt;Because I wanted something that works across the team with zero setup friction. You drop the file in the repo, team members open it in their browser. Done. No "works on my machine" npm issues, no Docker, no localhost.&lt;/p&gt;

&lt;p&gt;The whole thing is ~750 lines of HTML/CSS/JS with two CDN libraries (marked.js for rendering, highlight.js for code blocks).&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/zzgiabaozzbui/human-context
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open &lt;code&gt;docs/md-folder-viewer.html&lt;/code&gt; in Chrome/Edge and point it at any folder full of .md files.&lt;/p&gt;

&lt;p&gt;If you're doing context engineering for AI-assisted development, this fits right into the workflow. Would love feedback on what features matter most — token budget visualization, fuzzy search, or something else entirely?&lt;/p&gt;

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