Show HN: Clippy – a better pbcopy for macOS that handles files properly
2 nberkman 0 7/16/2025, 1:42:04 AM github.com ↗
I made clippy because pbcopy can't do something I needed every day: copy files to paste into GUI apps. When you pbcopy < image.png, you get raw bytes instead of a file that Slack or email can use. copying files to paste into GUI apps. When you pbcopy < image.png, you can't paste it into Slack - apps get raw bytes instead of the file.
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
No comments yet