Show HN: Clippy – a better pbcopy for macOS that handles files properly

Hacker News (score: 12)
Found: July 16, 2025
ID: 327

Description

Other
Show HN: Clippy – a better pbcopy for macOS that handles files properly 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.

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

More from Hacker

Graphene OS: a security-enhanced Android build

Graphene OS: a security-enhanced Android build

Show HN: tsbro – TypeScript for the Browser, No Build Step

Show HN: tsbro – TypeScript for the Browser, No Build Step

Show HN: Flint – Write code your way while ensuring remote consistency

Show HN: Flint – Write code your way while ensuring remote consistency I just released my biggest project yet: Flint, a language-agnostic Git wrapper that lets developers code using their own formatting preferences locally, while automatically enforcing the project&#x27;s style on push.<p>No more fighting over tabs vs spaces or dealing with noisy diffs.<p>GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;capsulescodes&#x2F;flint">https:&#x2F;&#x2F;github.com&#x2F;capsulescodes&#x2F;flint</a> Documentation: <a href="https:&#x2F;&#x2F;flintable.com&#x2F;docs&#x2F;flint&#x2F;" rel="nofollow">https:&#x2F;&#x2F;flintable.com&#x2F;docs&#x2F;flint&#x2F;</a> Article: <a href="https:&#x2F;&#x2F;capsules.codes&#x2F;en&#x2F;blog&#x2F;flintable&#x2F;en-flintable-introducing-flint" rel="nofollow">https:&#x2F;&#x2F;capsules.codes&#x2F;en&#x2F;blog&#x2F;flintable&#x2F;en-flintable-introd...</a>

Show HN: Rust -> WASM, K-Means Color Quantization Crate for Image-to-Pixel-Art

Show HN: Rust -> WASM, K-Means Color Quantization Crate for Image-to-Pixel-Art

No other tools from this source yet.