Render any git repo into a single static HTML page for humans or LLMs
Render any git repo into a single static HTML page for humans or LLMs
Just show me the code.
Tired of clicking around complex file hierarchies of GitHub repos? Do you just want to see all of the code on a single page? Enter rendergit. Flatten any GitHub repository into a single, static HTML page with syntax highlighting, markdown rendering, and a clean sidebar navigation. Perfect for code review, exploration, and an instant Ctrl+F experience.
Install and use easily with uv:
uv tool install git+https://github.com/karpathy/rendergit
rendergit https://github.com/karpathy/nanogptAlternatively, more manual pip install example:
git clone https://github.com/karpathy/rendergit
cd rendergit
pip install -e .
rendergit https://github.com/karpathy/nanoGPTThe code will:
Once open, you can toggle between two views:
There's a few other smaller options, see the code.
I vibe coded this utility a few months ago but I keep using it very often so I figured I'd just share it. I don't super intend to maintain or support it though.
BSD0 go nuts
No open issues yet, or sync has not completed.