惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
GbyAI
GbyAI
M
MIT News - Artificial intelligence
美团技术团队
罗磊的独立博客
雷峰网
雷峰网
量子位
博客园 - 【当耐特】
Last Week in AI
Last Week in AI
D
Docker
小众软件
小众软件
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
阮一峰的网络日志
阮一峰的网络日志
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
WordPress大学
WordPress大学
V
V2EX
博客园_首页
腾讯CDC
The Cloudflare Blog
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I built an open-source tool that reverse-engineers any Gi...
Sidhant Kumar · 2026-05-29 · via DEV Community

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?

I did. Every single time.

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.

That's not learning. That's just wasted time.

So I built CodeAutopsy.

What it does

Paste any GitHub URL. That's it.

CodeAutopsy clones the repo, parses every file into an AST (Abstract Syntax Tree), traces every import and dependency, and gives you:

  • An interactive dependency graph showing exactly what imports what
  • The entry points — where execution actually starts
  • A blast radius map — click any file and instantly see everything that breaks if you change it
  • An AI-generated architectural summary explaining what the codebase does, how it's structured, and how to get started
  • 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.

What used to take days now takes about 10 seconds.

The real problem it solves

Every developer has been here:

  • 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.
  • You want to contribute to an open-source project. The repo has no architecture docs. You don't know where to start.
  • 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.

CodeAutopsy solves all three.

The interesting engineering problems

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.

The Serverless Timeout Hack: 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.

Streaming JSON Repair: 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.

The blast radius algorithm

This one I'm genuinely proud of.

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.

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.

What happened when I shipped it

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.

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.

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.

Try it

Free to use — no credit card, no setup. New users get 3 instant
analyses, then a free account unlocks 10 per day.

Live App: codeautopsy-lyart.vercel.app
GitHub: github.com/Sidhant0707/codeautopsy

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.