#clipboard #multiple #content #command-line-tool #cli #directory #copying

app clipcat

A command line tool for copying the contents to clipboard of multiple files in one go

2 releases

0.1.1 May 24, 2024
0.1.0 May 20, 2024

#1 in #copying

Download history 259/week @ 2024-05-20 5/week @ 2024-05-27 6/week @ 2024-06-03

270 downloads per month

MIT license

12KB
95 lines

ClipCat

A fast and simple CLI tool to copy multiple files with a single command.

Why this tool?

The reason for this tool is to make it easier to copy a large amount of your source code or text files to the clipboard. This can be useful when you want to give your LLM some context on what you are asking about.

Usage

Give it a directory and it will copy all the contents of the files in that directory and subdirectories that have a valid UTF-8 encoding to the clipboard.

clipcat path/to/directory

Installation

You can either download a pre-built binary or install the tool using Cargo.

Install using Cargo

If you have Rust installed, you can build the tool from source using Cargo.

cargo install clipcat

Pre-built binaries

You can visit the releases page to download the latest binary for your platform.

Building from source

If you want to build the tool from source, you can do so using Cargo.

git clone https://github.com/dcodesdev/clipcat
cd clipcat
cargo build --release

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~14–20MB
~123K SLoC