<?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: Ashutosh Swamy</title>
    <description>The latest articles on DEV Community by Ashutosh Swamy (@ashutoshswamy).</description>
    <link>https://dev.to/ashutoshswamy</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%2F3942981%2F60e67dcb-fcd1-4b78-b1d4-f48870be9b18.jpg</url>
      <title>DEV Community: Ashutosh Swamy</title>
      <link>https://dev.to/ashutoshswamy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ashutoshswamy"/>
    <language>en</language>
    <item>
      <title>I Got Tired of Writing READMEs, So I Built an AI Tool That Does It for Me</title>
      <dc:creator>Ashutosh Swamy</dc:creator>
      <pubDate>Wed, 20 May 2026 21:38:01 +0000</pubDate>
      <link>https://dev.to/ashutoshswamy/i-got-tired-of-writing-readmes-so-i-built-an-ai-tool-that-does-it-for-me-33em</link>
      <guid>https://dev.to/ashutoshswamy/i-got-tired-of-writing-readmes-so-i-built-an-ai-tool-that-does-it-for-me-33em</guid>
      <description>&lt;p&gt;We've all been there.&lt;/p&gt;

&lt;p&gt;You just finished building something cool. The code works, the features are solid, and you're genuinely proud of it. Then comes the part nobody talks about — writing the documentation.&lt;/p&gt;

&lt;p&gt;So you open a blank README. Stare at it. Write "## Installation" and then... nothing.&lt;/p&gt;

&lt;p&gt;Half an hour later you've got three bullet points and a vague description that doesn't really explain anything. You push it anyway and move on.&lt;/p&gt;

&lt;p&gt;I did this one too many times. So I built &lt;strong&gt;DocForge&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Is DocForge?
&lt;/h2&gt;

&lt;p&gt;DocForge is a single HTML file that reads any GitHub repository and automatically generates a complete documentation suite using Google Gemini 2.5.&lt;/p&gt;

&lt;p&gt;You paste a GitHub URL. It gives you back:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A structured, professional README&lt;/li&gt;
&lt;li&gt;API documentation (endpoints, parameters, responses)&lt;/li&gt;
&lt;li&gt;Inline code comments&lt;/li&gt;
&lt;li&gt;Setup &amp;amp; installation guide&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's it. No install. No backend. No subscription. Just one &lt;code&gt;.html&lt;/code&gt; file you open in any browser.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why a Single HTML File?
&lt;/h2&gt;

&lt;p&gt;This was a deliberate decision.&lt;/p&gt;

&lt;p&gt;Most developer tools today require: clone the repo → install dependencies → configure environment → hope it works. The friction kills adoption.&lt;/p&gt;

&lt;p&gt;I wanted DocForge to be the opposite. Download one file, get a free Gemini API key from Google AI Studio (takes 2 minutes), open the file, paste your repo URL, done.&lt;/p&gt;

&lt;p&gt;The entire tool runs client-side. Your repo data goes directly to Gemini's API — no middleman, no server costs on my end, no data stored anywhere.&lt;/p&gt;




&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;The core architecture is surprisingly simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. GitHub repo fetching&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The tool fetches your repository's file tree and reads the key source files using the GitHub API. No auth required for public repos.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Context building&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It builds a structured prompt from your codebase — file structure, key files, package.json / requirements.txt, existing partial docs — and feeds that as context to Gemini.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Gemini 2.5 generation&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Gemini 2.5 is genuinely good at understanding code structure and generating coherent documentation. The model selection matters here — earlier models produced generic output. 2.5 understands intent.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Output rendering&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Results render in a clean split-pane UI. Copy individual sections or export everything at once.&lt;/p&gt;

&lt;p&gt;The whole thing is vanilla JS, no frameworks, no build step. That's how it stays as a single file.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Learned Building This
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Prompt engineering is 80% of the work.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Getting Gemini to produce documentation that's actually useful — not just technically correct but readable, well-structured, and appropriately detailed — took way more iteration than the actual code. The difference between a mediocre and a great README is almost entirely in how you instruct the model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Single-file tools are underrated.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There's something deeply satisfying about a tool that's fully self-contained. No dependencies to update, no deployment to manage, no server to pay for. It just works.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The best tools solve your own problems.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I built this because I needed it. That meant I knew exactly what "good output" looked like, which made iterating fast. If you're thinking about what to build next — start with your own frustrations.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;strong&gt;Live demo:&lt;/strong&gt; &lt;a href="https://doc-forge.netlify.app" rel="noopener noreferrer"&gt;doc-forge.netlify.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open it, paste any public GitHub repo URL, add your Gemini API key, and watch it go. Takes about 30 seconds.&lt;/p&gt;

&lt;p&gt;If it saves you time, you can grab the file on Gumroad: &lt;a href="https://ashutosh15.gumroad.com/l/docforge" rel="noopener noreferrer"&gt;ashutosh15.gumroad.com/l/docforge&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;A few things I'm thinking about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Support for private repos (OAuth flow)&lt;/li&gt;
&lt;li&gt;Generate docs for multiple repos&lt;/li&gt;
&lt;li&gt;Export directly to the repo as a PR&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you have feature requests or feedback, drop them in the comments. And if you build something with it, I'd love to see what repos you threw at it.&lt;/p&gt;




&lt;p&gt;Built by me&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
