GitHub URLs, but make them LLM-readable
A dead-simple trick—swap 'hub' for 'ingest'—turns any repo into a prompt-friendly text dump.

What it does
Gitingest flattens Git repositories into a single text digest optimized for LLM prompts. Paste a URL, run a CLI command, or literally change github.com to gitingest.com in your browser bar. It outputs file trees, summaries, and token counts alongside the code itself.
The interesting bit The URL hack is the killer feature: zero setup, zero install, just muscle memory. The project also ships as a Python package, CLI tool, browser extension, and self-hostable web service—essentially covering every entry point a developer might have.
Key highlights
- Replace
hubwithingestin any GitHub URL for instant web-based extraction - CLI supports local directories, remote repos, subdirectories, and private repos via GitHub PAT
- Respects
.gitignoreby default; flag to override - Async Python API with Jupyter notebook support
- Docker Compose setup with MinIO for local S3-compatible storage
Caveats
- The README is thorough but front-loads badges and translations; actual feature documentation requires scrolling
- Self-hosting configuration is extensive (Sentry, Prometheus, S3) for what presents as a simple utility
Verdict
Worth a bookmark if you regularly feed codebases to LLMs. Skip it if you already have a scripted find | xargs cat pipeline that you’re happy with.