
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Fast, AI-ready CLI tool that converts entire codebases into structured text files. Perfect for feeding projects to LLMs, code reviews, and documentation. Features streaming architecture, smart filtering, and cross-platform clipboard integration.
A powerful CLI tool for analyzing and ingesting project codebases into structured text files with advanced gitignore support, binary file detection, and cross-platform clipboard integration.
# Global installation
npm install -g git-ingest
# Or use with npx
npx git-ingest
# Analyze current directory
git-ingest
# Analyze specific directory
git-ingest /path/to/project
# Copy output to clipboard
git-ingest --copy
# Verbose output with progress
git-ingest --verbose
# Quiet mode
git-ingest --quiet
# Custom output filename (Markdown)
git-ingest --output my-project-analysis.md
# Generate classic text format output
git-ingest --format text --output analysis.txt
# Include only specific file patterns
git-ingest --include "*.js" "*.ts" "*.json"
# Exclude specific patterns
git-ingest --exclude "*.test.js" "*.spec.js"
# Set maximum file size (in MB)
git-ingest --max-size 5
# Generate text format with custom output
git-ingest --format text --output analysis.txt
git-ingest [options] [directory]
Arguments:
directory Target directory to analyze (default: "./")
Options:
-V, --version output the version number
-o, --output <filename> Specify output filename
-f, --format <type> Output format: markdown or text (default: "markdown")
-c, --copy Copy output to clipboard
-i, --include <patterns...> Include files matching patterns
-e, --exclude <patterns...> Exclude files matching patterns
--max-size <size> Maximum file size to include (in MB) (default: "10")
-v, --verbose Verbose output
-q, --quiet Quiet mode
-h, --help display help for command
Git-Ingest supports two output formats optimized for different use cases. Markdown is now the default output format.
The default output is a structured, semantic Markdown format designed for optimal AI/LLM processing:
git-ingest
Features:
Example markdown output structure:
# 🚀 Project Analysis Report
## 📊 Project Overview
**Language:** javascript | **Files:** 25 | **Size:** 2.3 MB
## 📈 Statistics
### 📊 File Type Distribution
| Category | Files | Percentage |
| -------------- | ----- | ---------- |
| Web Frontend | 15 | 60.0% |
| Backend/Server | 8 | 32.0% |
### 📄 `app.js`
**Path:** `src/app.js`
**Size:** 3.2 KB
**Language:** javascript (high confidence)
**Category:** Web Frontend
```javascript
// Your code here with proper syntax highlighting
```
The classic plain text format with directory tree and file contents:
git-ingest --format text
Example:
Directory structure for: /path/to/project
Generated on: 2024-01-15T10:30:00.000Z
Total items: 15
├── package.json
├── README.md
├── src/
│ ├── index.js
│ └── utils/
│ └── helpers.js
================================================
File: package.json
================================================
{
"name": "my-project",
"version": "1.0.0"
}
# Clone the repository
git clone https://github.com/AungMyoKyaw/git-ingest.git
cd git-ingest
# Install dependencies
npm install
# Run tests
npm test
# Lint code
npm run lint
# Format code
npm run format
# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Run tests in watch mode
npm run test:watch
# Lint and format
npm run lint:fix
npm run format
# Test before release
npm test
Git-Ingest respects standard .gitignore files and includes sensible defaults:
git-ingest-*.txt, git-ingest-*.json).git/)node_modules/, vendor/)dist/, build/, out/).vscode/, .idea/).DS_Store, Thumbs.db)Use include/exclude patterns to customize file selection:
# Only include JavaScript and TypeScript files
git-ingest --include "*.js" "*.ts" "*.jsx" "*.tsx"
# Exclude test files
git-ingest --exclude "*.test.js" "*.spec.js" "__tests__/"
# Complex filtering
git-ingest --include "src/**" --exclude "*.min.js" "*.bundle.js"
Generate comprehensive project overviews for code reviews, sharing complete project context in a single document.
Perfect for feeding entire codebases to AI tools like ChatGPT, Claude, or GitHub Copilot for analysis, documentation, or refactoring suggestions.
Create snapshot documentation of project structure and content for onboarding or archival purposes.
Analyze and understand legacy codebases before migration or modernization efforts.
Share project context quickly with team members or stakeholders.
Git-Ingest v2.0 delivers significant performance improvements:
| Project Size | Files | Processing Time | Memory Usage |
|---|---|---|---|
| Small | < 100 | < 2 seconds | < 50MB |
| Medium | 1,000 | < 10 seconds | < 100MB |
| Large | 10,000 | < 60 seconds | < 200MB |
Security is a top priority in Git-Ingest v2.0:
Git-Ingest v2.0 represents a complete rewrite with focus on security, performance, and user experience:
We welcome contributions! Please see our Contributing Guide for details on how to get started.
git checkout -b feature/amazing-featurenpm testnpm run lint:fixgit commit -m 'Add amazing feature'git push origin feature/amazing-featureThis project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Aung Myo Kyaw
⭐ If you find Git-Ingest useful, please star the repository!
FAQs
Fast, AI-ready CLI tool that converts entire codebases into structured text files. Perfect for feeding projects to LLMs, code reviews, and documentation. Features streaming architecture, smart filtering, and cross-platform clipboard integration.
The npm package git-ingest receives a total of 6 weekly downloads. As such, git-ingest popularity was classified as not popular.
We found that git-ingest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.