<?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: brovatten</title>
    <description>The latest articles on DEV Community by brovatten (@brovatten).</description>
    <link>https://dev.to/brovatten</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%2F3401463%2F2ddeed65-2c3c-46db-bf9e-cd4b115e563e.png</url>
      <title>DEV Community: brovatten</title>
      <link>https://dev.to/brovatten</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/brovatten"/>
    <language>en</language>
    <item>
      <title>CodeBoarding: Interactive Diagrams of Code</title>
      <dc:creator>brovatten</dc:creator>
      <pubDate>Sat, 02 Aug 2025 13:15:50 +0000</pubDate>
      <link>https://dev.to/brovatten/codeboarding-interactive-diagrams-of-code-2bbe</link>
      <guid>https://dev.to/brovatten/codeboarding-interactive-diagrams-of-code-2bbe</guid>
      <description>&lt;h1&gt;
  
  
  CodeBoarding
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;CodeBoarding&lt;/strong&gt; is an open-source codebase analysis tool that turns large codebases into interactive, high-level diagram representations—so both &lt;em&gt;humans&lt;/em&gt; and &lt;em&gt;soon&lt;/em&gt; &lt;em&gt;agents&lt;/em&gt; can understand them.&lt;/p&gt;

&lt;p&gt;Designed for onboarding, documentation, and system comprehension, CodeBoarding uses static analysis and LLM agents to map out your project’s structure, then turns that into diagrams you can embed in your docs, IDE, or CI pipeline.&lt;/p&gt;




&lt;h2&gt;
  
  
  Inspiration
&lt;/h2&gt;

&lt;p&gt;When I started programming, I remember spending hours drawing up diagrams for codebases just to understand the repo. Years later - I still find diagrams the best way to get a mindmap before diving into new code.&lt;/p&gt;

&lt;p&gt;So I built this (fully free) open-source project to generate those diagrams automatically. It summarizes repositories into simple, visual representations that you can explore at different levels of abstraction.&lt;/p&gt;

&lt;p&gt;Hope this helps. Please try it out and let me know what you think.&lt;/p&gt;




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

&lt;p&gt;Run CodeBoarding on your own repo:&lt;br&gt;&lt;br&gt;
🌐 &lt;strong&gt;&lt;a href="https://www.codeboarding.org/demo" rel="noopener noreferrer"&gt;www.codeboarding.org/demo&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Source code:&lt;br&gt;&lt;br&gt;
📄 &lt;strong&gt;&lt;a href="https://github.com/CodeBoarding/CodeBoarding" rel="noopener noreferrer"&gt;www.github.com/CodeBoarding/CodeBoarding&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Control Flow Graph Extraction&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
It starts with static analysis—extracting modules and their relationships based on control flow, not just import graphs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Multi-level Abstraction via LLMs&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
CodeBoarding uses an LLM agent (provider-agnostic) to organize these into conceptual modules, abstractions, and summaries.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Diagram Generation&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Outputs are rendered as Mermaid.js diagrams—interactive and embeddable in docs, IDEs, and web interfaces.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;MCP Integration (in progress)&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The generated representation can be served via a lightweight MCP server, allowing AI devtools (e.g., ClaudeCode, Cursor, VSCode agents) to query context-aware summaries and structure.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Next steps
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Support more languages&lt;/strong&gt;: Support for additional static-analysis friendly languages (e.g., Go, TypeScript, C++) is on the roadmap. Feedback on which to prioritize is very welcome!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;MCP Server&lt;/strong&gt;: An MCP server is under development to allow your dev agents to use the overview for improved codebase indexing.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>programming</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
