gitmyhub

rendergit

Python ★ 2.4k updated 11mo ago

Render any git repo into a single static HTML page for humans or LLMs

Rendergit flattens any GitHub repo into a single searchable HTML page with syntax highlighting, so you can browse or Ctrl+F a whole codebase at once instead of clicking through folders.

Pythonsetup: easycomplexity 1/5

Rendergit solves a frustrating problem: when you want to understand a codebase, GitHub's file-by-file interface forces you to click through folders and scroll endlessly. This tool takes any repository and flattens it into a single, searchable HTML page you can open in your browser. Instead of navigating a folder tree, you get everything at once—perfect for when you just want to see how a project is put together without the friction.

Here's how it works in practice. You give it a GitHub repository URL, and the tool clones the repo, reads all the source files, and generates one HTML file with everything inside. The page includes syntax highlighting (colored code), readable formatting for markdown files like READMEs, and a sidebar so you can still navigate between files if you want to. It's smart enough to skip over binary files and huge files that would clutter the view. Once you have the page open, you can search across the entire codebase with Ctrl+F—something you'd normally have to do awkwardly across multiple GitHub pages.

What makes this especially useful is the dual view toggle. The "Human View" is the clean, colorful interface meant for you to read and explore. The "LLM View" outputs the code in plain text format that you can copy-paste directly into ChatGPT, Claude, or other AI assistants to ask them questions about the codebase—like explaining what a function does or refactoring ideas. This removes the friction of feeding a large project to an LLM piece by piece.

You'd use this if you're learning from someone else's code, doing code review on an unfamiliar project, or trying to quickly understand how a library works before deciding whether to use it. It's especially handy for smaller to medium projects where you genuinely want to see the whole picture at once. The author notes this was a quick project they keep using personally, so it's shared as-is rather than as a heavily maintained product—but it does what it promises very well.

Where it fits