Metadata-Version: 2.4
Name: ai-repopack
Version: 1.0.0
Summary: Pack any git repository into clean, security-sanitized LLM prompt context with token counting.
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: tokens
Requires-Dist: tiktoken>=0.7.0; extra == "tokens"
Dynamic: license-file

# 📦 AI-Repopack

**Pack any repository into clean, security-sanitized context for Claude, ChatGPT, and Cursor.**

---

## ⚡ Features

- **Automated PII & Secret Redaction**: Automatically scrubs API keys, auth tokens, AWS credentials, and `.env` values before sending to LLMs.
- **Token Estimation**: Built-in accurate OpenAI/Anthropic token counting.
- **Smart Filtering**: Automatically ignores lockfiles, images, binaries, caches, and build artifacts.
- **XML / Markdown Context Structure**: Industry-standard `<repository>` hierarchy with CDATA blocks to prevent prompt injection.

---

## 🚀 Usage

```bash
pip install .
repopack . -o codebase.xml
```
