{"repo":"vaibhav-mattoo/cxt","free":true,"listed":false,"github":"https://github.com/vaibhav-mattoo/cxt","clone":"git clone https://github.com/vaibhav-mattoo/cxt.git","description":"Rust CLI to extract relevant codebase context to clipboard with XML tagging for web AI","language":"Rust","stars":50,"topics":["ai","ai-assistant","best","chatgpt","code-sharing","developer-experience","developer-productivity","developer-tools","file-aggregation","perplexity"],"license":"MIT","category":"dev-tools","readme_excerpt":"cxt: Context Extractor Aggregate files and directories quickly into a single clipboard-ready context block, tuned for feeding code to AI assistants. https://github.com/user-attachments/assets/a8953c2f-f888-46a2-a514-4317ab511b04 --- Installation Install script (all platforms) If prompted, add /.local/bin to your PATH: export PATH=\"$HOME/.local/bin:$PATH\" Cargo Homebrew (macOS / Linux) AUR (Arch Linux) From source --- Quick Start --- Usage Input sources Output destination Output format XML (default) Markdown rust fn main() { … } Path headers Filtering Language and extension filters Supported languages include: rust , python , javascript , typescript , go , java , c , cpp , csharp , ruby , swift , kotlin , shell , html , css , sql , markdown , yaml , json , toml , nix , terraform , graphql , dockerfile , and more. Ignore paths and glob patterns ( -i is repeatable) Binary files are detected automatically and skipped with a warning. --- TUI Mode Launch with cxt or cxt --tui to browse and select files interactively. Key Action ----- -------- ↑ / ↓ / j / k Move cursor → / l / Enter Expand directory ← / h / Backspace Collapse / go to parent directory Space Select / unselect file or directory / or ctrl-f Enter fuzzy search ? Toggle keybinding help overlay r Toggle relative path headers n Toggle no path headers c Confirm selection → copy to clipboard q / Ctrl-c Quit --- All Options Flag Description ------ ------------- -p, --print Print to stdout (also copies to clipboard) -w, --write","default_branch":null,"files":null,"tree":[],"storefront":"/r/vaibhav-mattoo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vaibhav-mattoo/cxt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}