gitingest
Gitingest is a tool that converts Git repositories into text summaries suitable for LLM prompts. Users can obtain a text extraction of a codebase by replacing "hub" with "ingest" in a GitHub URL, or by using the command-line tool, Python package, browser extension, and other methods. It provides intelligently formatted output, including statistics such as file and directory structure, extraction size, and token counts, supports private repositories (requires a GitHub PAT), and can be self-hosted via Docker.