Gitingest logo

Gitingest

Free

Turn any Git repository into a simple text digest of its codebase so it can be fed into any LLM. [#opensource](https://github.com/cyclotruc/gitingest)

FreeFree tier
Type
Open Source

About Gitingest

Gitingest is a free, open-source tool that converts any Git repository into a simple, LLM-friendly text digest. It allows users to paste a GitHub repository URL and instantly receive a summarised text version of the entire codebase, including directory structure and file contents. The tool supports file inclusion/exclusion filters, a 50kB file size limit, and private repository access via a personal access token (PAT) that is never stored and discarded after use. Cloned repositories are automatically deleted after processing. Gitingest is designed for developers who need to feed codebases into large language models (LLMs) for analysis, documentation, or code review.

Key Features

Convert any GitHub repository into a plain text digest of its codebase
Supports file inclusion/exclusion filtering
Private repository support using a GitHub personal access token (PAT) that is never stored or cached
File size limit of 50kB for included files
Cloned repositories are deleted immediately after processing
Simple URL manipulation: replace 'hub' with 'ingest' in any GitHub URL
Copy all files, download as a single file, view directory structure, and copy file contents

Pros & Cons

Pros
  • Completely free and open source (available on GitHub)
  • Privacy-focused: PAT is never stored, cached, or logged; repos are deleted after processing
  • Extremely easy to use – just paste a URL or replace 'hub' with 'ingest'
  • Provides both directory structure and file contents in a single digest
  • No account or signup required; instant results
Cons
  • Currently only supports GitHub repositories (based on URL pattern)
  • File size limit of 50kB may exclude larger files from the digest
  • Requires a GitHub PAT for private repositories, which adds an extra step
  • No support for other Git hosting platforms like GitLab or Bitbucket

Best For

Feed an entire codebase into an LLM for context-aware code analysis and generationGenerate documentation or summaries of a repository for onboarding or code reviewsPrepare codebases for AI-assisted refactoring or debuggingQuickly share a readable snapshot of a repository with collaborators or AI tools

FAQ

How do I use Gitingest?
Simply paste the URL of a GitHub repository into the input field, or replace 'hub' with 'ingest' in any GitHub URL. The tool will generate a text digest of the codebase.
Is Gitingest free?
Yes, Gitingest is completely free to use and open source. The source code is available on GitHub at https://github.com/cyclotruc/gitingest.
Can I use Gitingest with private repositories?
Yes. Enter your GitHub personal access token (PAT) in the provided field. The PAT is used only for cloning and is immediately discarded from memory; it is never stored or cached on the backend.
What is the file size limit?
Files larger than 50kB are excluded from the digest by default. You cannot increase this limit through the interface.
What happens to my cloned repository?
After processing, the cloned repository is deleted from the server. No code persists on Gitingest's servers.