Find the files that cause most of your bugs.

repoheat reads your git history and shows the hotspots: complex code that keeps changing. Any language, one command, nothing leaves your machine.

$ npx repoheat
repoheat heatmap of the Vite repository

🔥 Hotspots

Files ranked by churn × complexity. The short list of places where refactoring pays off.

🗺️ Interactive heatmap

A zoomable treemap of your repo in a single offline HTML file. Export a PNG in one click.

🐛 Bug magnets

See which files keep attracting fix commits, so you know where tests are missing.

🚌 Bus factor

Spot hot files that only one person understands, before they go on holiday.

⇄ Hidden coupling

Files that always change together, even though nothing in the code says so.

🤖 Agent-ready

--md produces a summary for AGENTS.md or CLAUDE.md, so AI agents tread carefully in hot files.

Where do the bugs live in popular open source?

Hotspot heatmaps of React, Vue, Django, Rails, Ollama and more, refreshed every week.

Open the gallery →

Use it everywhere

Terminal

npx repoheat --open
Ranked hotspots plus the interactive map.

CI

uses: ebxc-7s13/repoheat@v0
Hotspot summary on every run, heatmap as an artifact.

AI agents

npx repoheat --md > HOTSPOTS.md
Tell Claude, Copilot or Cursor where to be careful.