Show HN: Clippy – a better pbcopy for macOS that handles files properly
34 points| nberkman | 7 months ago |github.com
Clippy fixes this:
- clippy report.pdf → ⌘V into any app uploads the file
- curl image.png | clippy → pipes become pasteable files
- clippy *.jpg → multiple files at once
- Text files still work like pbcopy
Technical: Direct Objective-C bindings via CGo. Copies file references (like Finder), not contents. Auto-cleans temp files. No AppleScript hacks.
Install: brew install neilberkman/clippy/clippy
feraldidactic|7 months ago
winkelmann|7 months ago
Rust's linter is also called Clippy, and they don't seem to have any issues.
aae42|7 months ago
https://github.com/aae42/clippy-clippy/
moek|7 months ago
nocsi|7 months ago
Something worth implementing is multiple layers to the pasteboard content, so you're at least maintaining the original raw bytes. That and I always wanted a pasteboard that let you append contents to it. Just some ideas to consider
nberkman|7 months ago
donatj|7 months ago
Be kind of nice if this also worked as a library rather than having all the workings in internal where they can't be called.
Unrelated: Is yo.txt in the root just junk?
nberkman|7 months ago
https://github.com/neilberkman/clippy?tab=readme-ov-file#usi...
nberkman|7 months ago
SamInTheShell|7 months ago
https://github.com/Clipy/Clipy
physPop|7 months ago
jdmg94|7 months ago
wut42|7 months ago