hot-clipboard
Modern high-performance macOS CLI written in Rust
Reengineering macOS historical pbcopy/pbpaste through direct Cocoa NSPasteboard API calls. Seamlessly bridges Unix terminal pipelines with the graphical Finder.
System standard tools drop file metadata, fail to pipe binary image formats through stdin, and incur slow process creation overhead.
- ✓Sub-15ms execution latency to avoid stalling interactive shell pipelines.
- ✓Zero heap leaks when transmitting multi-megabyte image buffers.
- ✓Seamless interoperability with standard POSIX shell scripts.
Compiled standalone binary in Rust exposing `hc` and `hp`. Leverages direct FFI bindings into Objective-C runtime classes without heavy dependencies.
Foregoes Linux/Windows portability in order to exploit macOS-specific atomic pasteboard types.
Packaged and distributed via Homebrew Tap; cut pipeline transfer latency by 40% and enabled automated binary image streaming directly to disk.