<?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: Sidhant Kumar</title>
    <description>The latest articles on DEV Community by Sidhant Kumar (@sidhant0707).</description>
    <link>https://dev.to/sidhant0707</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%2F3957427%2Fbf534e0f-b053-4070-bb86-d62d56dfb51f.jpeg</url>
      <title>DEV Community: Sidhant Kumar</title>
      <link>https://dev.to/sidhant0707</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sidhant0707"/>
    <language>en</language>
    <item>
      <title>I shipped a GitHub repo analyzer, it went viral in China, then everything broke</title>
      <dc:creator>Sidhant Kumar</dc:creator>
      <pubDate>Fri, 29 May 2026 00:48:29 +0000</pubDate>
      <link>https://dev.to/sidhant0707/i-shipped-a-github-repo-analyzer-it-went-viral-in-china-then-everything-broke-3bll</link>
      <guid>https://dev.to/sidhant0707/i-shipped-a-github-repo-analyzer-it-went-viral-in-china-then-everything-broke-3bll</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the GitHub Finish-Up-A-Thon Challenge&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;CodeAutopsy. You know that feeling when you clone a repo and just... &lt;br&gt;
stare at 47 folders with no idea where anything is? That's what I &lt;br&gt;
built this to fix.&lt;/p&gt;

&lt;p&gt;Paste any GitHub URL. It parses the entire codebase, builds a &lt;br&gt;
dependency graph, and tells you exactly what imports what, where &lt;br&gt;
execution starts, and what breaks if you touch a specific file.&lt;/p&gt;

&lt;p&gt;Started this a few months ago because I was tired of spending the &lt;br&gt;
first two days of every new project just figuring out where &lt;br&gt;
everything lives.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Live: &lt;a href="https://codeautopsy-lyart.vercel.app" rel="noopener noreferrer"&gt;codeautopsy-lyart.vercel.app&lt;/a&gt;&lt;br&gt;
GitHub: &lt;a href="https://github.com/Sidhant0707/codeautopsy" rel="noopener noreferrer"&gt;github.com/Sidhant0707/codeautopsy&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="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%2Farticles%2Fvvxy8tlxgbempe12211x.png" class="article-body-image-wrapper"&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%2Farticles%2Fvvxy8tlxgbempe12211x.png" alt="Interactive dependency graph showing blast radius — highlighted nodes in red show files affected by changing index.ts" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Comeback Story
&lt;/h2&gt;

&lt;p&gt;Shipped the core, posted on Reddit, someone in China tweeted it in &lt;br&gt;
Chinese and it got 7,400 views overnight. 66 stars, 262 unique &lt;br&gt;
cloners in two weeks. All organic. I was pretty stoked.&lt;/p&gt;

&lt;p&gt;Then everything broke.&lt;/p&gt;

&lt;p&gt;The AI layer was sending 40-60k tokens per analysis to a single &lt;br&gt;
provider. Groq hit its 100k daily limit in 18 runs. Switched to &lt;br&gt;
Gemini — project got permanently banned. Tried Cerebras — they &lt;br&gt;
dropped Llama entirely overnight. SambaNova had a 20 requests per &lt;br&gt;
day limit which lasted about 4 minutes.&lt;/p&gt;

&lt;p&gt;Two full days of provider roulette.&lt;/p&gt;

&lt;p&gt;The fix was rethinking the whole approach — splitting the single &lt;br&gt;
massive AI call into focused smaller calls across multiple providers, &lt;br&gt;
building a fallback chain so one 429 doesn't take the whole thing &lt;br&gt;
down, and stabilizing the streaming JSON repair so users never &lt;br&gt;
stare at a blank screen mid-analysis.&lt;/p&gt;

&lt;p&gt;The interview mode feature I'd built — where an AI interviews you &lt;br&gt;
about the codebase while nodes on the graph light up — got parked &lt;br&gt;
on a branch until the core was stable enough to actually support it.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Experience with GitHub Copilot
&lt;/h2&gt;

&lt;p&gt;Copilot was open the whole time in VSCode. The place it actually &lt;br&gt;
helped most was the partial JSON repair algorithm — I'm streaming &lt;br&gt;
incomplete JSON token by token and trying to parse it in real time. &lt;br&gt;
The edge cases are nasty: unclosed strings mid-token, mismatched &lt;br&gt;
brackets, empty chunks. Copilot kept catching the ones I missed.&lt;/p&gt;

&lt;p&gt;Also saved me a lot of time tuning the d3-force physics for the &lt;br&gt;
dependency graph. Getting node collision and link distance to feel &lt;br&gt;
right took a lot of iteration and having inline suggestions for the &lt;br&gt;
parameter values was genuinely useful instead of just guessing.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
    </item>
    <item>
      <title>I built an open-source tool that reverse-engineers any GitHub repo in 10 seconds</title>
      <dc:creator>Sidhant Kumar</dc:creator>
      <pubDate>Fri, 29 May 2026 00:26:15 +0000</pubDate>
      <link>https://dev.to/sidhant0707/i-built-an-open-source-tool-that-reverse-engineers-any-github-repo-in-10-seconds-323c</link>
      <guid>https://dev.to/sidhant0707/i-built-an-open-source-tool-that-reverse-engineers-any-github-repo-in-10-seconds-323c</guid>
      <description>&lt;p&gt;You know that feeling when you join a new project or want to contribute to an open-source repo, and you spend the first two days just trying to figure out where everything is?&lt;/p&gt;

&lt;p&gt;I did. Every single time.&lt;/p&gt;

&lt;p&gt;Clone the repo. Open the files. Stare at 47 folders. Wonder which one actually matters. Grep for the entry point. Follow imports down a rabbit hole. Give up and ask someone.&lt;/p&gt;

&lt;p&gt;That's not learning. That's just wasted time.&lt;/p&gt;

&lt;p&gt;So I built CodeAutopsy.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;Paste any GitHub URL. That's it.&lt;/p&gt;

&lt;p&gt;CodeAutopsy clones the repo, parses every file into an AST (Abstract Syntax Tree), traces every import and dependency, and gives you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An interactive dependency graph showing exactly what imports what&lt;/li&gt;
&lt;li&gt;The entry points — where execution actually starts&lt;/li&gt;
&lt;li&gt;A blast radius map — click any file and instantly see everything that breaks if you change it&lt;/li&gt;
&lt;li&gt;An AI-generated architectural summary explaining what the codebase does, how it's structured, and how to get started&lt;/li&gt;
&lt;li&gt;Live Health Telemetry: An Edge API that generates a live SVG health badge (A to F grade). Drop the markdown in your README once. Every time you refactor and re-scan, your badge updates everywhere instantly. My own CodeAutopsy repo just hit 99/100. Drop the markdown snippet once and forget about it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What used to take days now takes about 10 seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  The real problem it solves
&lt;/h2&gt;

&lt;p&gt;Every developer has been here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You're onboarding at a new job. The codebase has 200 files. Your tech lead says "just read the code." You spend a week feeling lost.&lt;/li&gt;
&lt;li&gt;You want to contribute to an open-source project. The repo has no architecture docs. You don't know where to start.&lt;/li&gt;
&lt;li&gt;You're doing a code review on a PR that touches 15 files. You have no idea what the blast radius of those changes is.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CodeAutopsy solves all three.&lt;/p&gt;

&lt;h2&gt;
  
  
  The interesting engineering problems
&lt;/h2&gt;

&lt;p&gt;The hardest part wasn't the AST parsing — it was keeping it serverless without hitting Vercel's 504 timeout limits, while making the AI analysis feel instant.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Serverless Timeout Hack:&lt;/strong&gt; Doing AST extraction, building an adjacency list, and waiting for an LLM to generate a massive response in a single API route was a guaranteed timeout crash. I split it into dual endpoints: a fast extractor for the AST graph, and a separate inference engine triggered by the client that pipes a native Web ReadableStream directly back to the frontend.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Streaming JSON Repair:&lt;/strong&gt; The LLM streams back a strict JSON object token by token. Normally you'd wait for the complete JSON before showing anything, leaving the user staring at a blank screen. Instead, I wrote a partial JSON repair algorithm that runs on every incoming chunk. It closes open strings, balances braces and brackets, and tries to parse whatever it has so far. The UI updates in real time as the analysis streams in — you can literally watch the architectural summary build itself word by word.&lt;/p&gt;

&lt;h2&gt;
  
  
  The blast radius algorithm
&lt;/h2&gt;

&lt;p&gt;This one I'm genuinely proud of.&lt;/p&gt;

&lt;p&gt;When you click a file, CodeAutopsy does a BFS traversal on the reverse adjacency list of the dependency graph. Every file that imports the file you clicked — directly or transitively — lights up red.&lt;/p&gt;

&lt;p&gt;So if you're about to refactor auth.ts, you instantly see that 14 other files depend on it. You know the blast radius before you write a single line.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happened when I shipped it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dev.tourl"&gt;&lt;iframe class="tweet-embed" id="tweet-2059229559413674120-325" src="https://platform.twitter.com/embed/Tweet.html?id=2059229559413674120"&gt;
&lt;/iframe&gt;

  // Detect dark theme
  var iframe = document.getElementById('tweet-2059229559413674120-325');
  if (document.body.className.includes('dark-theme')) {
    iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=2059229559413674120&amp;amp;theme=dark"
  }



&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I posted on Reddit. Someone in China found it, tweeted it in Chinese, and it got 7,400 views overnight. 59 people bookmarked it. Someone compared it to DeepWiki and said it looked more advanced.&lt;/p&gt;

&lt;p&gt;I found out because my GitHub traffic spiked and I went looking for the source. 66 stars. 262 unique cloners in 14 days. All organic.&lt;/p&gt;

&lt;p&gt;I'm a CS student. I built this because I was tired of being lost in codebases. Turns out a lot of other developers feel the same way.&lt;/p&gt;

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

&lt;p&gt;Free to use — no credit card, no setup. New users get 3 instant &lt;br&gt;
analyses, then a free account unlocks 10 per day.&lt;/p&gt;

&lt;p&gt;Live App: &lt;a href="https://codeautopsy-lyart.vercel.app" rel="noopener noreferrer"&gt;codeautopsy-lyart.vercel.app&lt;/a&gt;&lt;br&gt;
GitHub: &lt;a href="https://github.com/Sidhant0707/codeautopsy" rel="noopener noreferrer"&gt;github.com/Sidhant0707/codeautopsy&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback — especially on the blast radius algorithm. Currently doing BFS on the reverse adjacency list but I suspect there are smarter approaches for large monorepos. Drop a comment if you have ideas.&lt;/p&gt;

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