Clipper is a lightweight command-line tool written in Go for copying contents to the clipboard. Quickly and easily copy the contents of any file, command output, or even directly pass text to your clipboard inside your favorite terminal, streamlining your workflow and saving you time.
You can install Clipper using the following command:
curl -sSL https://raw.githubusercontent.com/supitsdu/clipper/main/install.sh | sh
Or:
wget -qO- https://raw.githubusercontent.com/supitsdu/clipper/main/install.sh | sh
[!NOTE] If you prefer not to use
curl ... | sh
, you can manually download and install Clipper as described below.
To use Clipper, download the appropriate binary for your operating system from the releases page and place it in your desired location.
[!IMPORTANT] Add the location of the binary to your system's PATH environment variable to access Clipper from anywhere on your system.
Copy the contents of a file to the clipboard:
clipper ~/.ssh/id_ed25519.pub
Copy the output of any command:
go version | clipper
Directly copy text:
clipper -c "My awesome content!"
clipper -Mime -Markdown path/to/your-file.js
Contributions to Clipper are welcome! Here are a few ways you can contribute:
To build Clipper from source, you'll need to have Go installed on your system and the Make tool.
Once you have the requirements installed, clone the repository and run the following command in the project directory:
make
This command will build Clipper for Windows, Linux, and macOS inside the bin
directory.
Clipper is licensed under the MIT License. Feel free to use, modify, and distribute it for any purpose.