Metadata-Version: 2.4
Name: repoview
Version: 1.1.0
Summary: Turn any codebase into LLM-ready context — in seconds.
Author-email: Your Name <you@example.com>
License: MIT
Project-URL: Homepage, https://github.com/yourname/repoview
Keywords: llm,context,code,ai,cli,developer-tools,chatgpt,claude
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: tiktoken>=0.7.0
Requires-Dist: pathspec>=0.12.1
Requires-Dist: questionary>=2.0.1
Requires-Dist: rich>=13.0.0
Requires-Dist: typer>=0.12.0
Requires-Dist: pyperclip>=1.8.2
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"
Requires-Dist: pytest; extra == "dev"

# repoview

> Turn any codebase into LLM-ready context — in seconds.

```bash
pip install repoview
```

---

## Usage

```bash
# Interactive wizard (recommended)
repoview
repoview "C:\Users\Prateek\Desktop\myproject"

# Skip all questions — sensible defaults
repoview --quick
repoview --quick ./my-project

# Version
repoview --version
```

---

## What it does

1. **Scans** your project — shows file count, size, top extensions
2. **Asks** a few quick questions (only what's relevant to your project):
   - Skip docs? (`.md`, `.txt`, `.rst`)
   - Skip test files? *(only asked if tests are found)*
   - Respect `.gitignore`? *(only asked if `.gitignore` exists)*
   - Output filename and location
3. **Generates** a single `.txt` file with all your code, intelligently trimmed to fit within the token budget
4. **Post-menu** — copy text, copy file, open folder, run again

---

## After it's done

```
❯  What do you want to do next?

  📋  Copy text to clipboard   (paste into Claude / ChatGPT)
  📄  Copy file to clipboard   (paste the file itself)
  📁  Open output folder       (in Explorer / Finder)
  🔁  Run again                (same project, new settings)
  ❌  Exit
```

---

## Requirements

- Python 3.9+
- `tiktoken` — token counting
- `pathspec` — `.gitignore` parsing
- `questionary` — interactive prompts
- `rich` — terminal UI
- `typer` — CLI framework
- `pyperclip` — clipboard support

---

## Publishing a new version

```bash
# 1. Bump version in repoview/__init__.py and pyproject.toml
# 2. Clean old builds
rm -rf dist/ build/ *.egg-info
# 3. Build
python -m build
# 4. Upload
twine upload dist/*
```

---

## License

MIT
