grace/tpb

Tee your Paste Board

git clone https://git.gae.moe/grace/tpb

Grace Yoderbump: version and readme7d77039

0.1.4
709 B24 linesraw

TPB

Pronounced tee pee bee or tee pasteboard

TPB is a super simple, small program to "tee" into my clipboard using OSC 52 codes, native objc code, and linux clipboard providers.

Download Static Binaries

Usage

command | tpb
tpb path/to/file

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.

1# TPB
2
3> Pronounced `tee pee bee` or `tee pasteboard`
4
5TPB is a super simple, small program to "tee" into my clipboard using OSC 52
6codes, native objc code, and linux clipboard providers.
7
8[Download Static Binaries](https://artifacts.gae.moe/grace/tpb)
9
10## Usage
11
12```sh
13command | tpb
14tpb path/to/file
15```
16
17---
18
19I was somewhat fed up with `pbcopy` eating stdout making it impossible to see
20the output of what I was doing without pasting it. While, yes, this could just
21be a shell script, I decided to write in a systems language because its more fun
22and I like the idea of it being super low latency. Originally, I was going to
23write this in Rust but decided that Zig was a better fit for something like
24this.