<?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: Yash Kumar Gupta</title>
    <description>The latest articles on DEV Community by Yash Kumar Gupta (@ykgup).</description>
    <link>https://dev.to/ykgup</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%2F3664672%2F92b7280a-eb1c-45a0-9df5-24f2209eec59.jpg</url>
      <title>DEV Community: Yash Kumar Gupta</title>
      <link>https://dev.to/ykgup</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ykgup"/>
    <language>en</language>
    <item>
      <title>Stop getting lost in the Next.js App Router: I built an open-source visualizer</title>
      <dc:creator>Yash Kumar Gupta</dc:creator>
      <pubDate>Tue, 16 Dec 2025 10:39:35 +0000</pubDate>
      <link>https://dev.to/ykgup/stop-getting-lost-in-the-nextjs-app-router-i-built-an-open-source-visualizer-5dbp</link>
      <guid>https://dev.to/ykgup/stop-getting-lost-in-the-nextjs-app-router-i-built-an-open-source-visualizer-5dbp</guid>
      <description>&lt;p&gt;I love the Next.js App Router, but let's be honest: once your project grows beyond 10 pages, the file structure gets messy.&lt;/p&gt;

&lt;p&gt;You end up with deeply nested folders, page.tsx files everywhere, and it becomes impossible to visualize the actual user flow just by looking at the file explorer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Problem:&lt;/strong&gt; VS Code shows you a list of files. It doesn't show you the architecture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Solution:&lt;/strong&gt; Troql I spent the weekend building a tool to fix this. Troql parses your GitHub repository and generates an interactive node-map of your entire application structure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🗺️ Visualizes Layouts vs Pages: See exactly which layouts wrap which routes.&lt;/p&gt;

&lt;p&gt;⚡ Direct VS Code Integration: Click any node in the map to instantly open that specific file directly in your VS Code editor.&lt;/p&gt;

&lt;p&gt;🔒 100% Client-side: It uses Babel AST to parse the code securely in your browser.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it's built (The Tech Stack):&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Framework: Next.js (obviously)&lt;/p&gt;

&lt;p&gt;Parsing: Babel AST (to read the file structure)&lt;/p&gt;

&lt;p&gt;Visualization: React Flow (for the node graph)&lt;/p&gt;

&lt;p&gt;It’s fully open-source. I’m looking for feedback on the visualization logic—does it handle your (groups) and [dynamic] routes correctly?&lt;/p&gt;

&lt;p&gt;🔗 Try it live: &lt;a href="https://www.troql.com/demo" rel="noopener noreferrer"&gt;https://www.troql.com/demo&lt;/a&gt; &lt;br&gt;
💻 Source Code: &lt;a href="https://github.com/yashkr321/troql" rel="noopener noreferrer"&gt;https://github.com/yashkr321/troql&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let me know what you think in the comments! 👇&lt;/p&gt;

&lt;p&gt;⚠️ &lt;strong&gt;Note on Performance (Groq API)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To keep this project open and free, the live demo is currently running on the Groq Free API.&lt;/p&gt;

&lt;p&gt;The Good: It's blazing fast ⚡&lt;/p&gt;

&lt;p&gt;The Bad: You might hit a rate limit if too many people use it at once.&lt;/p&gt;

&lt;p&gt;If it stalls, please give it a minute and try again! I plan to upgrade to the Pro tier soon for better stability.&lt;/p&gt;

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