Turn any codebase into LLM-ready context — in seconds.
Project description
repoview
Turn any codebase into LLM-ready context — in seconds.
pip install repoview
Usage
# 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
- Scans your project — shows file count, size, top extensions
- 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.gitignoreexists) - Output filename and location
- Skip docs? (
- Generates a single
.txtfile with all your code, intelligently trimmed to fit within the token budget - 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 countingpathspec—.gitignoreparsingquestionary— interactive promptsrich— terminal UItyper— CLI frameworkpyperclip— clipboard support
Publishing a new version
# 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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
repoview-1.1.0.tar.gz
(15.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
repoview-1.1.0-py3-none-any.whl
(16.6 kB
view details)
File details
Details for the file repoview-1.1.0.tar.gz.
File metadata
- Download URL: repoview-1.1.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b08ffc62ef49e327a0c4ca46f100a67f0f2f1f0002b8b30a46eaeaead96dfb3c
|
|
| MD5 |
f46c34c014a6eaa7c4643da4f2c0dbe1
|
|
| BLAKE2b-256 |
3e7f8bff84b1533595afaf8ec5b830cfe3b22d886b6d43d2d54e6cfe8fb78596
|
File details
Details for the file repoview-1.1.0-py3-none-any.whl.
File metadata
- Download URL: repoview-1.1.0-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63d81b8c5260861a102aa593016c8f0220e5fc08ceded9a499e7a1fa96159123
|
|
| MD5 |
f18957883c1b85c732981717eb900194
|
|
| BLAKE2b-256 |
2ec42ffe9bc9e1256aed2f06f67c4a33c00d07fcbf39118cff36a2938a6fee25
|