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

I rebuilt the archived repo-visualizer as a zero-dependency, theme-aware codebase map

说明与用途

repocarto 是一个零依赖、主题感知的 SVG 代码库地图生成工具,自动适配 GitHub 的浅色和深色主题,简化 README 集成并减少 git 差异噪声。

问题

The original repo-visualizer was archived, leaving a gap for a lightweight, theme-aware codebase map tool that could be easily integrated into README files without external dependencies.

结果

repocarto delivers a deterministic, theme-aware SVG codebase map with zero dependencies, reducing git diff noise and simplifying README integration.

工作流

  • 1. Run npx repocarto (optionally with -o to specify output path).
  • 2. The tool walks the repository respecting .gitignore.
  • 3. It generates a single SVG where each file is a circle sized by lines of code, colored by language, and nested by folder structure.
  • 4. The SVG uses @media (prefers-color-scheme) to switch background and text colors for light/dark themes.
  • 5. Optionally use the provided GitHub Action to regenerate and commit the map only when the code changes.

证据

repocarto is built and maintained by me — I read and act on its issues and PRs myself.

来源

It walks your repo (respecting .gitignore), and writes a single SVG where every file is a circle — size = lines of code, color = language, nesting = folders.

来源

  • 记录日期: 2026-09-22T18:45:40.028Z