wrapr-0.2.1 is not a library.
Wrapr
█ █ █ █▀█ █▀█ █▀█ █▀█ C:\repo\wrapr
▀▄█▄█ █▀▄ █▀█ █▀▀ █▀▄ Files: 4 Tokens: 0.0k Selected: 4 | 0.0k
│ FILES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ PREVIEW ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
├ ○ expanded folder │ content of selected file or page
│ ├─ main.rs 1234 │
│ ├─ ui.rs 567
│ └─ util.rs 890
├─ ◌ collapsed folder with no files selected [empty circle gray]
├─ ● collapsed folder with all files selected [green dot]
├─ ◌ collapsed folder with no files selected [empty circle]
├─ ○ collapsed folder with some files selected [yellow circle]
└─ README.md 45
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Wrapr is a handy little tool for packaging up your code to share with LLMs like GPT or Claude. It helps format your files into Markdown so AI assistants can better understand your codebase.
What it does
- Wraps code files in nice markdown format
- Lets you pick files through a simple terminal UI
- Adds proper syntax highlighting based on file extensions
- Copies to clipboard so you can quickly paste into your AI chat
- Skips the junk (node_modules, .git, binaries, etc.)
- Keeps large files in check with optional token limits
Getting started
Install it
Or build from source:
Use it
Just run:
This opens the interactive UI where you can:
- Navigate with arrow keys
- Select files with Space
- Confirm with Enter
- Quit with q
Command stuff
# Basic usage
# Save to a file instead of clipboard
# Limit token count per file
# Grab specific files
# Show hidden files in UI
Configuration
Wrapr creates a .wrapr file in your directory to remember your preferences. It automatically ignores common stuff you don't want like:
- Version control folders
- Package manager files
- Build directories
- Binary and media files
- Lock files
How it works
- Pick some files
- Wrapr formats them with markdown code blocks
- Copy/paste into your LLM chat
- Ask better questions about your code
Output looks like this
```rust
fn main() {
}
---
Have fun wrapping! Questions or issues? Open an issue on the repo.