CLI tool for LLM-friendly code ingestion from Git repos
Top 4.5% on sourcepulse
Gitingest transforms Git repositories into LLM-friendly text digests, simplifying code context retrieval for developers and researchers. It offers a CLI, Python package, and browser extensions for seamless integration into workflows.
How It Works
Gitingest processes Git repositories to create a structured text output optimized for Large Language Models. It analyzes file and directory structures, calculates token counts using tiktoken
, and formats the output for efficient prompt engineering. This approach provides a concise yet comprehensive representation of a codebase, enabling LLMs to understand context more effectively.
Quick Start & Requirements
pip install gitingest
or pipx install gitingest
2 days ago
1 day