- π― What is GitIngest?
- β¨ Key Features
- π Quick Start
- π Usage Guide
- π Understanding Your Analysis
- βοΈ Configuration & Settings
- β Troubleshooting
- π‘οΈ Privacy & Security
- π€ Contributing
GitIngest is a code editor extension that analyzes your entire codebaseβGit repos or local foldersβso you can explore structure, detect patterns, and export insights without leaving your editor.
|
π§ Zero Setup Required
|
π Universal Compatibility
|
|
|
|
|
Before getting started, ensure you have:
- VS Code 1.54.0 or higher
- Python 3.x installed and added to your system PATH
π‘ Quick Check: Open a terminal and run
python --versionorpython3 --versionto verify installation
-
π¦ Install the Extension
- Open Editor Extensions (Ctrl/Cmd + Shift + X)
- Search for "GitIngest"
- Click Install
-
π― Analyze Your First Repository
- Open any project folder in your editor
- Right-click on the folder in Explorer
- Select "GitIngest: Analyze This Folder"
- View results in the webview panel!
π±οΈ Right-Click Analysis
Perfect for immediate analysis of any folder
- Right-click on any folder in your editor Explorer
- Choose "GitIngest: Analyze This Folder" for immediate analysis
- View results in the automatically opened webview panel
π― Cherry-Pick Your Files
Ideal for large codebases where you only need specific parts analyzed
- Right-click on files/folders while holding Ctrl/Cmd
- Select "GitIngest: Add To Ingest" for each item
- Once you've selected all desired items, run the analysis
- Optionally enable auto-cleanup in settings
β¨οΈ Keyboard-First Approach
- Press
Ctrl/Cmd + Shift + Pto open Command Palette - Type and select "GitIngest: Analyze Repository"
- Follow the prompts and review your analysis
Your analysis results are presented in three comprehensive panels:
π Repository Overview
βββ π Files Analyzed: 156
βββ π Estimated Tokens: 12,450
βββ ποΈ Directory Structure
βββ π File Content Analysis
Interactive tree view with smart filtering:
- β Source code files included
- β Build artifacts excluded
- β Node_modules filtered out
- β IDE-specific files hidden
Detailed breakdown including:
- Code snippets and key functions
- Documentation and README files
- Configuration files
- Dependencies and imports
Available Export Formats:
- π Copy to Clipboard - Quick sharing
- πΎ Save as Text - Local backup
GitIngest handles these automatically:
- β Python environment detection
- β GitIngest package verification
- β Platform-specific command execution
- β Intelligent process management
Access via File > Preferences > Settings > Extensions > GitIngest:
- Ingest Folder Name β Folder name used to stage files when using "Add to Ingest" (default:
gitingest-ingest). - Delete After Ingest β When enabled, the staging folder is removed after a successful analysis.
- File Exclusions β Glob patterns to exclude from ingestion (e.g.
**/node_modules,**/*.min.js). Applied in addition to.gitignoreand.gitingestignore.
You can add a .gitingestignore file in the root of the folder you are analyzing. It uses the same format as .gitignore. Files and folders listed there are excluded from ingestion but remain in version control, so you don't need to add them to .gitignore just to keep them out of the digest.
The engine respects both .gitignore and .gitingestignore by default. A recent version of the gitingest Python package (e.g. 0.3.x) is required for .gitingestignore support.
π Python Not Found Error
Problem: Extension can't locate Python installation
Quick Solutions:
- Install Python 3.x from python.org
- Ensure "Add Python to PATH" is checked during installation
- Restart your editor after installation
- Test with
python --versionin terminal
Platform-Specific Help:
- Windows: Use "Add Python to PATH" option during installation
- macOS: Install via Homebrew:
brew install python3 - Linux: Install via package manager:
sudo apt install python3
β οΈ Analysis Failing or Hanging
Problem: Analysis starts but doesn't complete
Solutions:
- Check file permissions - Ensure your editor can read project files
- Close other Python processes - Free up system resources
- Restart your editor - Clear any stuck processes
- Try a smaller folder first - Test with a simple project
For Large Repositories:
- Use selective analysis instead of full repository scan
- Exclude large directories (node_modules, .git, build folders)
- Consider analyzing in smaller chunks
π§ Extension Not Loading
Problem: GitIngest commands not appearing in Editor
Solutions:
- Reload your editor - Use
Ctrl/Cmd + Shift + P > "Reload Window" - Check extension status - Ensure it's enabled in your Extensions panel
- Update your editor - Ensure you're using a compatible version
- Reinstall extension - Remove and reinstall from marketplace
- π Check the Developer Console:
Help > Toggle Developer Tools - π Report bugs on GitHub Issues
- π¬ Join discussions in our GitHub repository
Your privacy and security are our top priorities:
π 100% Local Execution
- All analysis happens on your machine
- No code sent to external servers
- No internet connection required
π Zero Data Collection
- We don't collect or store any of your code
- No telemetry or usage tracking
- Your intellectual property stays private
π‘οΈ Safe Operation
- Read-only analysis of your files
- No modifications to your codebase
- Optional cleanup features with user consent
GitIngest is open source and we welcome contributions.
- π Star the repository β Help others discover GitIngest
- π Report bugs β Open an issue
- π‘ Suggest features β Share ideas via GitHub Discussions or issues
- π§ Contribute code β See CONTRIBUTING.md for development setup, code style, and how to submit pull requests
This project is licensed under the MIT License. See the LICENSE file for complete details.
π GitIngest β Core engine.
π VS Code API β Enabling smooth integration.
Made with β€οΈ for developers worldwide.
β If this extension helped you, please consider giving it a star on the GitHub and marketplace!




