gitmyhub

Clipboard

C++ ★ 5.8k updated 2mo ago

😎🏖️🐬 Your new, 𝙧𝙞𝙙𝙤𝙣𝙠𝙪𝙡𝙞𝙘𝙞𝙤𝙪𝙨𝙡𝙮 smart clipboard manager

A command-line clipboard manager called cb that replaces fragmented tools like xclip, letting you copy, store, and paste text, files, and directories across multiple named clipboards in a terminal.

C++HomebrewScoopFlatpakNixsetup: easycomplexity 2/5

The Clipboard Project is a command-line clipboard manager written in C++. It is a tool you run in a terminal to copy, store, and paste content without the limitations of the single-item clipboard that most operating systems provide by default. You can maintain multiple separate clipboards at once, each with its own history, and each capable of holding text, files, directories, or binary data.

The command you use is called cb. Basic usage looks like running cb copy to put something in the clipboard and cb paste to retrieve it. The project emphasizes speed and positions itself as a replacement for fragmented clipboard tools on Linux like xclip, which require remembering different flags depending on what type of content you are copying. The README includes several user quotes describing it as useful for shell scripting and terminal work.

Installation is available through a wide range of package managers: Homebrew for macOS, Scoop for Windows, and on Linux through Alpine, the Arch AUR, Conda, Flatpak, Gentoo, Nix, Pacstall, and Snap. One-line install scripts are also provided for all platforms except Windows (curl-based) and for Windows separately (PowerShell). The tool integrates with existing graphical clipboard systems so copied content can also be pasted in regular applications.

The interface supports several languages including Spanish, Portuguese, Turkish, and French. A scriptable API is available for use in automated workflows and shell scripts. The README notes that as of the time it was written, the project was seeking a C++ contributor to continue active development.

The license is free and open source. The project is sponsored by Warp, a terminal application. The full README is longer than what was shown.

Where it fits