Repo Visualizer: watch how your codebase evolved over time

Repo Visualizer is an open-source tool that turns a repository's git history into an animation: files, imports and features appearing commit by commit.

You know when you’re so tired that the only reasonable thing left to do is go to bed, and instead your brain decides it’s the perfect time for a brand new idea? That’s pretty much how Repo Visualizer happened.

Patcherly started as a proof of concept for my Computer Science dissertation, a small demo with a handful of files. 8 months of day and night work later, it’s a full SaaS with several hundred files, hundreds of dependencies and thousands of imports stitching everything together.

I was proud of it, but I had also reached the point where I couldn’t keep all of it in my head anymore. So I started wondering what those 8 months would look like, if I could actually watch them: not a flat dependency graph frozen at a single moment in time (we’ve all seen those, they look like a plate of spaghetti thrown at a whiteboard), but a film. The whole story from the first commit to today, with every file showing up on the day it was actually written, and every import drawn the moment two files started talking to each other.

Every repository has a story after all: the first commit, the week the auth module landed, the refactor that split one feature into three, the slow pile of tests growing around the parts everyone was scared to touch.

So, being already exhausted, I did the obvious thing and started a second project… and then I open-sourced it.

Live demo: repovisualizer.netlify.app
Source: github.com/Jany-M/repo-visualizer

Repo Visualizer animating the git history of a repository


Every file in the repo is a node (or a star, if you’re using the Galaxy theme, which you should). Every import between two files is an edge, and each top-level directory becomes its own cluster (auth, payments, api, ui), laid out on a soft ring by a d3-force simulation.

Press play and the timeline walks the git log, commit by commit. Files pop into existence the day they were first committed, and a ripple spreads out from every file that a commit touched. You get to watch features arrive in real time, see which areas get changed the most (yes, that one file you keep “quickly fixing” will be very easy to spot), and notice when a new module gets adopted by the rest of the system.

The feature I actually use the most: the file inspector

I’ll be honest, I built this for the animation. I wanted something pretty to look at, and something I could finally show to friends and family, who had no idea what I had been obsessing over for months.

Then I added a small thing: click any node and you see Depends on and Imported in for that file, plus the recent commits that touched it. Guess which part I open every day now?

For a codebase the size Patcherly has grown into, it’s how I quickly answer “what breaks if I change this?” without grepping through hundreds of files. You can also click a cluster in the legend and that whole folder lights up while everything else dims, which is handy when you’re asking yourself “what does payments actually talk to?” and want the answer at a glance.

So the animation is the pretty part, and the inspector is the part that earns its keep… which was never the plan.

Four themes, switchable live

Same data, four completely different looks, because once the engine was built it would have been a crime not to (and because apparently I didn’t have enough to do already).

  • Galaxy: deep space, glowing stars, supernova ripples. It’s the default, and my favourite.
  • Organic: bioluminescent cells breathing in soft cyan, light particles flowing along filaments.
  • Neural: sharp neon geometry on a circuit-board grid, hexagonal shockwaves on every commit.
  • Minimal: cream paper, restrained ink, fine typography. The “serious” one, for when you need to show it in a meeting.

What else is in the box

  • Timeline scrubber with play/pause, variable speed, and a one-click jump to the final state of the repository.
  • Auto-fit camera that keeps the growing graph in view, plus pinch-zoom and pan on desktop and mobile.
  • WebGL fallback when the graph gets large (Patcherly territory), and Canvas for the prettier glow on smaller repos.
  • Export the animation as a WebM video or animated GIF, with the repo name, commit date, and primary author burned in. Great for a tweet, a board deck, or for finally explaining to your non-dev friends what it is that you do all day.

Try it on your own repo

The live demo ships with a synthetic dataset, so you can play with the themes right away. To point it at your own code, it only takes a minute:

git clone https://github.com/Jany-M/repo-visualizer
cd repo-visualizer
npm install
npm run analyze -- /path/to/your/repo
npm run dev

The analyzer walks the entire git history, parses imports across JS/TS, Python, Go, Rust, Java/Kotlin, Ruby, PHP, and CSS/SCSS, and writes the result to public/data/history.json . The web app picks it up on the next refresh.

There’s no server, nothing leaves your machine, and a repovisualizer.config.json lets you exclude the paths you don’t want in the picture.

It’s GPL3-licensed, so go ahead and point it at your repo, and if it looks beautiful send me a clip! I’d love to see your codebase as a galaxy.


The codebase that started all this, Patcherly, is out! Catch live production bugs and fix them in real time, in seconds.

Jany Martelli · Shambix

Written by the CTO of the Shambix engineering team: custom apps, AI agents, WordPress & WooCommerce, cloud and private AI since 2009.

Jany Martelli builds the systems behind digital businesses: cloud architecture, e-commerce platforms, and AI agents that do real work. 17+ years and 250+ projects at Shambix, for teams from Xiaomi to Hilton. Computer scientist, professor, and creator of Patcherly, the AI that fixes production bugs on its own.

Custom Apps

Have a project in mind? Let's build it right.

Tell us about your goals. We will take care of the rest.

  • A senior engineer reads every brief
  • If we are not the right fit, we say so
  • info@shambix.com
Name

We usually reply within 24 hours. No newsletter, no spam.