wrapr-0.1.8 is not a library.
Wrapr
██ ██ ██ ██████ ██████ ██████ ██████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██████ ████████ ██████ ██████
████████ ██ ██ ██ ██ ██ ██ ██
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.