# ๐ rscopy
**A lightning-fast ๐ฆ Rust implementation of macOS's `pbcopy`!**
---
## โจ What is `rscopy`?
`rscopy` is a simple, no-fuss command-line tool that copies input from **standard input (stdin)** straight to your system clipboard ๐ โ just like `pbcopy`, but written in Rust for speed โก๏ธ and reliability ๐ช.
---
## ๐ง How it works
```bash
Whatever you pipe into `rscopy` will instantly be available on your clipboard, ready to paste wherever you like ๐.
---
## ๐ ๏ธ Installation
### ๐ฃ Build from source
Make sure you have [Rust installed](https://www.rust-lang.org/tools/install) ๐ฆ, then:
```bash
git clone https://github.com/yourusername/rscopy.git
cd rscopy
cargo build --release
```
Then copy the binary to somewhere in your `PATH`:
```bash
cp target/release/rscopy /usr/local/bin/
```
โจ Done!
---
## ๐งช Usage
| `echo "text" \| rscopy` | Copies `"text"` to your clipboard โ๏ธ |
| `cat file.txt \| rscopy` | Copies the contents of `file.txt` ๐ |
| `rscopy < file.txt` | Another way to copy a file's contents ๐ |
Example:
```bash
---
## ๐ฆ Dependencies
* [`clipboard`](https://crates.io/crates/clipboard) crate โ handles the clipboard operations for you.
---