Gitingest is a developer utility that converts an entire Git repository into a structured, prompt-friendly text digest suitable for use with large language models. It analyzes a repository and produces a consolidated textual representation that includes the file structure and code content in an organized format. This makes it easier to provide meaningful code context when working with AI systems that require compact, readable inputs. Developers can generate these digests from either a local directory or a remote repository by supplying a repository path or URL. The generated output is optimized for prompt usage, helping AI models understand codebases more effectively without requiring manual file aggregation. In addition to producing the code digest, Gitingest also calculates statistics about the extracted content such as repository structure, total size of the extract, and token count. Gitingest can be used as a command line utility or integrated directly into Python applications.

Features

  • Generates prompt-friendly text digests from Git repositories
  • Extracts and summarizes repository file and directory structures
  • Provides statistics such as extract size and token count
  • Supports ingestion from both local directories and remote repositories
  • Includes a command line interface for quick repository analysis
  • Can be imported as a Python package for programmatic use

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Gitingest

Gitingest Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Gitingest!

Additional Project Details

Programming Language

JavaScript, Python

Related Categories

Python Artificial Intelligence Software, JavaScript Artificial Intelligence Software

Registered

2026-03-12