I wanted to share a tool I've been building called API Shadow. I got tired of jumping through dozens of modules, nested routers, and controller decorators just to map out the actual URL path of an endpoint in large codebases.
• Reads your local source code using real AST parsers to map out every HTTP endpoint (Express, Fastify, Koa, NestJS, and Spring Boot) into a dedicated VS Code sidebar view.
• Calculates absolute paths with global prefixes, router mounts, constants, and string concatenations applied.
• Catches unreachable/swallowed routes (like an Express `/:id` route declared before `/me`) and flags them in the Problems panel.
• Lets you Ctrl+click a frontend fetch or axios call to jump straight to the backend controller handling it.
Why I built it this way (Engineering & Privacy):
• 100% Local & Private: No remote servers, no tracking, and no AI wrappers. It never executes your code—it strictly parses it, so it works completely offline and in VS Code's Restricted Mode.
• Incremental Re-analysis: It caches structural facts and only re-analyzes the specific files you change when you save, taking a fraction of a second even in massive monorepos.
It's completely free and open-source. I'm really looking forward to getting your honest feedback on the path resolution accuracy, performance limitations, or what frameworks you think I should add next. I'll be in the comments to answer any questions about the parsing mechanics!
1
u/omairsaad Oct 22 '26
Hey everyone,
I wanted to share a tool I've been building called API Shadow. I got tired of jumping through dozens of modules, nested routers, and controller decorators just to map out the actual URL path of an endpoint in large codebases.
GitHub Repository: https://github.com/OmairSaad/api-shadow
What it actually does:
• Reads your local source code using real AST parsers to map out every HTTP endpoint (Express, Fastify, Koa, NestJS, and Spring Boot) into a dedicated VS Code sidebar view.
• Calculates absolute paths with global prefixes, router mounts, constants, and string concatenations applied.
• Catches unreachable/swallowed routes (like an Express `/:id` route declared before `/me`) and flags them in the Problems panel.
• Lets you Ctrl+click a frontend fetch or axios call to jump straight to the backend controller handling it.
Why I built it this way (Engineering & Privacy):
• 100% Local & Private: No remote servers, no tracking, and no AI wrappers. It never executes your code—it strictly parses it, so it works completely offline and in VS Code's Restricted Mode.
• Incremental Re-analysis: It caches structural facts and only re-analyzes the specific files you change when you save, taking a fraction of a second even in massive monorepos.
It's completely free and open-source. I'm really looking forward to getting your honest feedback on the path resolution accuracy, performance limitations, or what frameworks you think I should add next. I'll be in the comments to answer any questions about the parsing mechanics!