{"repo":"niedzielski/cb","free":true,"listed":false,"github":"https://github.com/niedzielski/cb","clone":"git clone https://github.com/niedzielski/cb.git","description":"📋 Universal command-line clipboard with automatic copy and paste detection. Eg, `cb|sort|cb`. The missing link between GUIs and CLIs!","language":"Shell","stars":136,"topics":["cli","clipboard","gui"],"license":"Unlicense","category":"cli-tools","readme_excerpt":"📋 cb Universal command-line clipboard with automatic copy and paste detection. Eg, cb sort cb . Purpose cb is a clipboard for working between graphical and command-line interfaces (GUIs and CLIs). The clipboard is a surprisingly convenient integration between the two and doesn't use temporary files. cb automatically performs a copy or a paste based on the context. Why you don't need cb If any of the following are true, you do not need cb: - You use GUIs exclusively. - You use CLIs exclusively. - You can use the system equivalent copy-and-paste CLIs directly. Eg, XSel or pbcopy / pbpaste . - You prefer using temporary files when working across GUIs and CLIs. All cb provides is a consistent interface across operating systems. Any clipboard CLI will do. What's important is how you use the tool. Usage Supply standard input to copy : Supply no input to paste : Both copy and paste can appear in the same command: Contents on the clipboard can be used bidirectionally with other GUIs like graphical text editors or web browsers using the usual shortcut (control-c/v or command-c/v). Installation cb also supports sourcing in Almquist-like shells like . cb or source ./cb . The heart of cb is tiny so edit it however you like and discard the rest! Dependencies cb requires the following dependencies to be installed: - Linux: xclip on X (eg, sudo apt install xclip ) and wl-clipboard on Wayland ( sudo apt install wl-clipboard ). - macOS: none ( pbcopy / pbpaste are installed by default). - Wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/niedzielski","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/niedzielski/cb/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."}