Version 2.1 - Now with Markdown Output & Language Detection

Transform AnyCodebaseinto AI-Ready Format

A powerful CLI tool that analyzes and ingests entire project codebases into structured text or markdown files. Perfect for AI analysis, code reviews, documentation, and team collaboration with enhanced language detection.

npm install -g git-ingest
10x
Faster than v1.0
<60s
Process 10k files
100%
Security focused

Everything You Need forCodebase Analysis

Git-Ingest v2.1 introduces markdown output format, enhanced language detection, and CI/CD integration while maintaining enterprise-grade security and performance.

Enhanced
Powerful CLI Interface
Professional command-line interface with comprehensive options, progress indicators, and colored output for enhanced user experience.
Secure
Security First
Built with security in mind - no command injection vulnerabilities, input validation, secure clipboard operations, and path traversal protection.
Performance
Lightning Fast
10x faster than v1.0 with async operations, memory-efficient streaming, and smart caching. Process 10,000+ files in under 60 seconds with p-limit concurrency control.
New in 2.1
Markdown Output Format
NEW: Generate structured, LLM-friendly markdown reports with table of contents, project overview, language statistics, and syntax highlighting.
Improved
Advanced Language Detection
Enhanced language detection module identifies file types based on extensions and filenames, providing better categorization and syntax highlighting.
DevOps Ready
CI/CD Integration
Built-in GitHub Actions workflow support with automated testing, code coverage reporting, and Codecov integration for continuous quality assurance.
Flexible
Advanced Filtering
Flexible include/exclude patterns, custom file size limits, externalized configuration files, and granular control over what gets analyzed.
Optimized
Memory Efficient
Streaming architecture prevents memory overflow, constant memory usage regardless of project size, and optimized for large codebases.
Cross-Platform

Works seamlessly on Windows, macOS, and Linux

Zero Config

Works out of the box with sensible defaults

Open Source

MIT licensed and community driven

Get Started inSeconds

Choose your preferred installation method and start analyzing codebases immediately.

Recommended
Global Installation
Install once, use anywhere on your system
npm install -g git-ingest
Quick Start
One-time Usage
Use without installing globally
npx git-ingest
For Teams
Project Dependency
Add to your project's dependencies
npm install --save-dev git-ingest

Common Usage Examples

Analyze Current Directory
Analyze the current working directory
git-ingest
Generate Markdown Report
Generate structured markdown output with syntax highlighting
git-ingest --format markdown
Copy to Clipboard
Analyze and copy results to clipboard
git-ingest --copy
Analyze Specific Directory
Analyze a specific project directory
git-ingest /path/to/project

Ready to get started?

Install Git-Ingest and analyze your first project in under a minute.

Powerful Use Cases forEvery Workflow

From AI analysis to team collaboration, Git-Ingest transforms how you work with codebases.

Security
Security & Compliance Auditing
Automatically scan codebases for security vulnerabilities, license compliance, and sensitive data exposure. Ensure your projects meet industry standards and avoid costly mistakes before deployment.

Perfect For:

  • Vulnerability detection
  • License compliance checks
  • Sensitive data scanning
  • Audit trail generation
Enhanced in 2.1
AI Analysis
Perfect for feeding entire codebases to AI tools like ChatGPT, Claude, or GitHub Copilot. The new markdown format provides structured, LLM-friendly output with syntax highlighting.

Perfect For:

  • Code review automation
  • Documentation generation
  • Refactoring suggestions
  • Bug detection patterns
New Format
Documentation & Reports
Generate comprehensive markdown reports with table of contents, project overview, and language statistics. Perfect for technical documentation and project snapshots.

Perfect For:

  • Structured project reports
  • Architecture documentation
  • Compliance documentation
  • Technical specifications
Improved
Code Reviews
Enhanced language detection and markdown formatting make code reviews more effective with better context and syntax highlighting for better readability.

Perfect For:

  • Pull request context
  • Architecture reviews
  • Security audits
  • Quality assurance
Enterprise
Project Migration
Analyze and understand legacy codebases before migration or modernization efforts, getting complete visibility into existing systems with detailed language breakdown.

Perfect For:

  • Legacy assessment
  • Modernization planning
  • Technology migration
  • Risk analysis
Collaboration
Team Collaboration
Share structured project context quickly with team members, stakeholders, or external consultants. Markdown format is perfect for wikis and documentation platforms.

Perfect For:

  • Stakeholder reports
  • Wiki documentation
  • Remote collaboration
  • Knowledge sharing

Real Results

85% Faster Reviews

Teams report significantly faster code reviews with complete context

50% Less Onboarding

New developers get up to speed twice as fast with comprehensive docs

90% Migration Success

Higher success rate for legacy system migrations with complete analysis

Built forPerformance

Git-Ingest v2.1.0 delivers exceptional performance with enterprise-grade reliability, enhanced concurrency control, and advanced language processing.

Small Projects
< 100 files
Processing Time:< 2 seconds
Memory Usage:< 50MB
Medium Projects
1,000 files
Processing Time:< 10 seconds
Memory Usage:< 100MB
Large Projects
10,000 files
Processing Time:< 60 seconds
Memory Usage:< 200MB

Version 2.1.0 Performance Improvements

Processing Speed
10x Faster
Complete rewrite with async operations, streaming architecture, and p-limit concurrency control for optimal performance
Memory Usage
Constant
Memory-efficient streaming prevents overflow regardless of project size with smart memory pool management
Concurrency Control
Smart Limiting
Advanced p-limit integration manages concurrent file operations preventing system overload while maximizing throughput
Advanced Technical Architecture
Built with modern Node.js patterns for maximum performance and reliability
Streaming Architecture
P-limit Concurrency Control
Advanced Language Detection
Markdown Output Format
Binary File Detection
Memory Pool Management
CI/CD Integration
Code Coverage Reporting

v1.0 vs v2.1.0 Comparison

Version 1.0

10,000 files:~10 minutes
Memory usage:~1GB+
Output format:Text only

Version 2.1.0

10,000 files:<60 seconds
Memory usage:<200MB
Output format:Text + Markdown

SecurityFirst Design

Git-Ingest v2.0 was built from the ground up with enterprise-grade security as the top priority.

Resolved
No Command Injection
Eliminated all command injection vulnerabilities through secure clipboard operations and input sanitization.
Enhanced
Input Validation
Comprehensive validation of all user inputs prevents malicious data from being processed.
Secured
Path Traversal Protection
Advanced path validation prevents directory traversal attacks and unauthorized file access.
Compliant
Permission Respect
Works strictly within user permissions, never attempting to access restricted areas.

Core Security Principles

Zero Trust Architecture
All inputs are validated, all operations are secured, no assumptions about safety.
Least Privilege Principle
Operates with minimal necessary permissions, reducing potential attack surface.
Secure by Default
Conservative defaults that prioritize security over convenience.
Transparent Operations
All operations are logged and can be audited for security compliance.

Security Vulnerabilities Addressed

Complete Security Audit & Remediation
All known security issues from v1.0 have been identified and resolved

Command Injection via Clipboard

CriticalFixed

Replaced shell commands with native Node.js APIs

Path Traversal Vulnerabilities

HighFixed

Added comprehensive path validation and sanitization

Unsafe File Operations

MediumFixed

Implemented secure file handling with proper error checking

Input Sanitization Missing

MediumFixed

Added input validation for all user-provided data

Security Guarantee

Git-Ingest v2.0 has undergone comprehensive security testing and follows industry best practices. We're committed to maintaining the highest security standards.

✓ Security Audited & Verified

Ready to TransformYour Workflow?

Join thousands of developers who are already using Git-Ingest to streamline their codebase analysis and boost productivity.

Get Started in Seconds

Install Git-Ingest globally and start analyzing projects immediately.

npm install -g git-ingest
10k+
Monthly Downloads
500+
GitHub Stars
99%
Satisfaction Rate

Zero Configuration

Works out of the box with sensible defaults

Cross-Platform

Works on Windows, macOS, and Linux

Open Source

MIT licensed and community driven

Join the community of developers transforming how they work with code.

Made with ❤️ byAung Myo Kyaw