Tee your Paste Board
Find a file
2026-06-25 16:42:38 -06:00
src refactor: split OSC52 off into different interface 2026-06-25 16:42:38 -06:00
.gitignore init: create tpb 2026-06-25 16:42:38 -06:00
build.zig init: create tpb 2026-06-25 16:42:38 -06:00
build.zig.zon init: create tpb 2026-06-25 16:42:38 -06:00
LICENSE init: create tpb 2026-06-25 16:42:38 -06:00
README.md init: create tpb 2026-06-25 16:42:38 -06:00

TPB

Pronounced tee pee bee or tee pasteboard

TPB is a super simple, small program to "tee" into my clipboard using OSC 52 codes.

Usage: command | tpb

I was somewhat fed up with pbcopy eating stdout making it impossible to see the output of what I was doing without pasting it. While, yes, this could just be a shell script, I decided to write in a systems language because its more fun and I like the idea of it being super low latency. Originally, I was going to write this in Rust but decided that Zig was a better fit for something like this.