mirror of
https://github.com/akadeepesh/contextzip.git
synced 2026-10-20 08:36:20 +02:00
822d5264e7d1f7479759125985c28b2a01afeaf2
- Update CLI documentation to reflect completion of Phase 5 - Enhance filters to include .gitignore support and improve file resolution - Modify packager to accept ResolveResult and report skipped files
contextzip
Intelligently package your codebase for AI tools — no noise, just signal.
Install
pip install -e .
# or once published:
pip install contextzip
Usage
# Run from your project root
contextzip
# Preview what would be included (no ZIP created)
contextzip --dry-run
# See every file decision
contextzip --dry-run --verbose
# Only include specific folders
contextzip --include src app routes
# Add extra exclusions on top of auto-rules
contextzip --exclude "*.log" "*.sqlite" temp.js
# Save ZIP to a specific path
contextzip --output ~/Desktop/myproject.zip
# Create ZIP without clipboard copy
contextzip --no-clipboard
What gets auto-excluded
Always (base rules)
.git/, .env, *.log, editor files, OS artifacts, binaries, media
Node.js / Next.js
node_modules/, .next/, dist/, package-lock.json, yarn.lock
Python
__pycache__/, .venv/, .pytest_cache/, *.pyc, migrations/
Rust
target/, Cargo.lock
Go
vendor/, go.sum
Status
| Phase | Feature | Status |
|---|---|---|
| 1+2 | Scaffold + Detection | ✅ Done |
| 3 | ZIP creation | 🔜 Next |
| 4 | Clipboard integration | 🔜 Planned |
| 5 | Rich output polish | 🔜 Planned |
Description
No description provided
ai-toolsautomationchatgptclaude-aiclicode-packagingcontext-windowdeveloper-toolsdevtoolsgitgithubllmpythonzip
Readme
MIT
658 KiB
Languages
Python
100%