Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

RepoGraph: Sub-0.1s Codebase Architecture Explorer Powered by Google Gemma

说明与用途

RepoGraph 使用开源 Gemma 2 LLM 在不到 0.1 秒内自动分析 Python 代码库,生成交互式架构图并提供循环依赖的可操作重构方案。

问题

Developers must manually analyze unfamiliar legacy Python repositories, spending hours navigating directories, tracing imports, and fixing circular import bugs.

结果

RepoGraph delivers a deterministic, sub‑0.1 s architecture scan and AI‑generated architectural narrative, pattern detection, and circular‑dependency refactoring recipes, all locally with zero external dependencies.

工作流

  • Clone RepoGraph repository
  • Run python repograph.py ./my-project (optionally with --serve to open browser)
  • (Optional) Run local Gemma via Ollama with ollama run gemma2:2b python repograph.py ./my-project --ai-provider ollama

证据

RepoGraph deterministically parses your code's Abstract Syntax Tree (AST), clusters your modules into architectural tiers, feeds the topology to Google Gemma, and produces an interactive, zoomable blueprint in your browser with circular dependency refactoring recipes.

来源

With a single terminal command: python repograph.py ./my-project

来源

RepoGraph operates as an end-to-end, zero-dependency pipeline: ... < 0.1s execution (Zero external pip deps)

来源

  • 记录日期: 2026-10-22T15:11:18.950Z