惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
Apple Machine Learning Research
Apple Machine Learning Research
宝玉的分享
宝玉的分享
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
爱范儿
爱范儿
罗磊的独立博客
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
N
Netflix TechBlog - Medium
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
U
Unit 42
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
T
Tailwind CSS Blog
H
Help Net Security
博客园_首页
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
人人都是产品经理
人人都是产品经理

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - fragmede/pbi
fragmede · 2026-06-19 · via Hacker News: Show HN

pbi clipboard icon

What is this?

pbi is a command line utility for the mac that copies stdin to the pasteboard when stdin is piped or redirected. When stdin is a terminal, it pastes the current pasteboard content.

why is this better?

pbcopy and pbpaste` already exist, but to their detriment, they're separate binaries. We can just have one command because the process can detect if it's being used as input or output.

Oh, it's also image aware.

The macOS pasteboard has type information, so that you can paste formatting as well as the text. Or you can copy images. With pbpaste though, you can't use pbpaste to dump the image on your pasteboard to where you are in the terminal, because pbpaste (and pbcopy) just silently fail if they don't find text.

So you can't right click, copy image, and then pbpaste that to a file in the terminal.

With pbi, you can.

Installing

From crates.io:

cargo install pbi --locked

From a checkout:

cargo install --path . --locked

Usage

Show command help:

Options:

  • --debug prints clipboard and terminal diagnostics to stderr.
  • -h, --help prints usage and exits without clipboard access.

Right click on an image in your web browser, copy image, and then your terminal, do:

or

There's also the other direction, so you can

and then ⌘+N into preview.app will get you the image in preview.

Also you can do

cat nyan.png | pbi

(`pbi < nyan.png` if you must)

If you use a modern terminal that has Kitty graphics protocol or sixel support, with an image on your paste board you can also do:

and the image will display directly in your terminal.

If you override TERM because of TERMCAP distribution delay, and terminal image auto-detection fails, force the protocol explicitly:

export PBI_IMAGE_PROTOCOL=sixel

Pasteboard vs clibpard

Fun fact!

Apple’s APIs call it a pasteboard (NSPasteboard, UIPasteboard) rather than a clipboard. The term comes from old publishing workflows where designers literally cut out text and images and pasted them onto layout boards before printing. Copy/paste wasn’t originally a computer metaphor, it came from the world of publishing.