frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

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

https://github.com/neilberkman/clippy
33•nberkman•1d ago
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

Comments

feraldidactic•17h ago
A certain large software concern might take issue with the name. Mac users of a certain age might just run…
winkelmann•14h ago
> the name

Rust's linter is also called Clippy, and they don't seem to have any issues.

moek•11h ago
i like the name, it is easy to remember for this use case :)
aae42•7h ago
they'd love my little clipboard/AI project name, then

https://github.com/aae42/clippy-clippy/

donatj•12h ago
Neat, I was actually looking for something like this a few months ago to help automate part of a workflow.

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•12h ago
Removed, thanks!
nberkman•8h ago
Added a library:

https://github.com/neilberkman/clippy?tab=readme-ov-file#usi...

jdmg94•12h ago
linux compat would've been nice
wut42•9h ago
already exists, xsel and xclip does that, iirc.
nberkman•8h ago
clippy is a bit different from these - rather than requiring manual flags for MIME types, it automatically detects the content type. The idea is to make the CLI's copy/paste feel as intuitive as the GUI's.

I might tackle Linux (and Windows) at some point, but contributions are definitely welcome!

SamInTheShell•7h ago
Probably worth knowing, there’s already a popular clipboard manager in the wild for MacOS called Clipy.

https://github.com/Clipy/Clipy

nocsi•7h ago
So technically the OS is supposed to be handling this, or at the least whatever app you're in is supposed to signal the MIME to the pasteboard. They even updated the APIs for it this year. I'm not complaining, just giving away loose headsup that they might rugpull you. Apple is particularly not a fan of oblique data transformations, especially since malware keeps going after the user's pasteboards.

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•5h ago
Thanks. I just released a new version with UTI based MIME type detection as the primary method with a fallback to the existing content-based detection.

Show HN: A 'Choose Your Own Adventure' written in Emacs Org Mode

https://tendollaradventure.com/sample/
68•dskhatri•3h ago•3 comments

Show HN: Improving search ranking with chess Elo scores

https://www.zeroentropy.dev/blog/improving-rag-with-elo-scores
136•ghita_•11h ago•44 comments

Show HN: 0xDEAD//TYPE – A fast-paced typing shooter with retro vibes

https://0xdeadtype.theden.sh/
62•theden•3d ago•17 comments

Show HN: The HTML Maze – Escape an eerie labyrinth built with HTML pages

https://htmlmaze.com/
57•kyrylo•2d ago•16 comments

Show HN: Visualize Wikipedia link graph, opensourced

https://galaxy.wikiloop.org/
3•xinbenlv•1h ago•0 comments

Show HN: BloomSearch – Keyword search with hierarchical Bloom filters

https://github.com/danthegoodman1/bloomsearch
52•dangoodmanUT•3d ago•12 comments

Show HN: Bash.org MOTD for Terminal

https://github.com/graydot/bashorg-motd
2•graydot•2h ago•0 comments

Show HN: An MCP server that gives LLMs temporal awareness and time calculation

https://github.com/jlumbroso/passage-of-time-mcp
72•lumbroso•10h ago•35 comments

Show HN: Timep – a next-gen profiler and flamegraph-generator for bash code

https://github.com/jkool702/timep
18•jkool702•1d ago•1 comments

Show HN: DataRamen, a Fast SQL Explorer with Automatic Joins and Data Navigation

https://dataramen.xyz/
43•oleksandr_dem•14h ago•49 comments

Show HN: Shoggoth Mini – A soft tentacle robot powered by GPT-4o and RL

https://www.matthieulc.com/posts/shoggoth-mini
571•cataPhil•1d ago•103 comments

Show HN: I built this to talk Danish to my girlfriend – works with any language

https://menerdu.vercel.app/
200•lil_csom•3d ago•107 comments

Show HN: Beyond Z²+C, Plot Any Fractal

https://www.juliascope.com/
97•akunzler•1d ago•26 comments

Show HN: We made our own inference engine for Apple Silicon

https://github.com/trymirai/uzu
174•darkolorin•1d ago•45 comments

Show HN: GitGuard - Painless GitHub PR Automations

https://gitguard.dev/
10•habosa•10h ago•4 comments

Show HN: Reviving a 20 year old OS X App

https://andrewshaw.nl/blog/reviving-genius
68•shawa_a_a•4d ago•31 comments

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

https://github.com/neilberkman/clippy
33•nberkman•1d ago•13 comments

Show HN: Doctor

https://merkoba.github.io/Doctor/
2•complex_city•7h ago•2 comments

Show HN: Achieves Perfect 100 Score Across 6 Leading AI Model Evaluations

https://github.com/onestardao/WFGY/blob/main/OS/BlahBlahBlah/README.md
5•TXTOS•9h ago•3 comments

Show HN: VS Code extension to edit the filesystem like a text buffer

https://github.com/ahrm/voil
67•hexomancer•3d ago•46 comments

Show HN: Display Photos on a World Map

https://worldsnap.surge.sh/
4•stagas•9h ago•1 comments

Show HN: ArchGW – An intelligent edge and service proxy for agents

https://github.com/katanemo/archgw/
114•honorable_coder•4d ago•15 comments

Show HN: Ten years of running every day, visualized

https://nodaysoff.run
926•friggeri•6d ago•480 comments

Show HN: I Made a Simple Tool to Get English IPA Pronunciation Fast

https://phonetic-spelling.com
4•combineimages•16h ago•1 comments

Show HN: Fast word game to test your vocab and speed

https://www.chain-the-words.com/
3•martianmanhunt•11h ago•0 comments

Show HN: Bedrock – An 8-bit computing system for running programs anywhere

https://benbridle.com/projects/bedrock.html
218•benbridle•6d ago•68 comments

Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

https://vidmix.app/ffmpeg-in-plain-english/
175•bjano•6d ago•46 comments

Show HN: Git Blame Made Interactive – Ask Your Git Repo Who Did What and When

https://github.com/AbhinavArora95/git-log-search
3•abhinav95•13h ago•0 comments

Show HN: Infinite Canvas for Notes

https://infinote.surge.sh/
3•stagas•14h ago•5 comments

Show HN: Android SDK easter egg showcase

https://github.com/TrianguloY/isUserAMonkey
2•TrianguloY•14h ago•0 comments