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

Luxury Yacht is a desktop app for managing Kubernetes clusters

Luxury Yacht is a desktop app for managing Kubernetes clusters

Zirgen: Compiler for a Domain-Specific Language

Zirgen: Compiler for a Domain-Specific Language

Show HN: Miditui – a terminal app/UI for MIDI composing, mixing, and playback

Show HN: Miditui – a terminal app/UI for MIDI composing, mixing, and playback

PgX – Debug Postgres performance in the context of your application code

PgX – Debug Postgres performance in the context of your application code

No other tools from this source yet.