SKIP TO CONTENT
Monospace

06 / CLIPBOARD MANAGER

PASTRY

Everything you copy lands in the same slot and vanishes on the next Cmd-C. Pastry keeps the history, recognizes what each clip is, and hands it back a keystroke later.

OUTCOME
A local-first Mac clipboard on Tauri and SQLite. It reads the type of every clip — colors, code, JSON, images — redacts anything sensitive, and turns the pile into a keyboard-first surface with tags, pinboards, and a paste stack.
STACK
Tauri · Rust · React
Local-first, and local-only
Clipboard history is among the most sensitive data on a machine: passwords, tokens, private messages, all of it passing through one buffer. Pastry keeps history in local SQLite on the device. There is no account, no sync, and no server, because the safest place for this data is the machine that produced it.
Typed clips, not strings
Every clip is classified as it arrives — colors, code, JSON, file paths, images — and the type determines how it is previewed, searched, and pasted. Treating the clipboard as a typed store rather than a list of strings is what makes tags, pinboards, and a paste stack useful rather than just more history.
Redaction before storage
Content that looks sensitive is redacted on the way in rather than filtered on the way out. The distinction matters: a filter that hides a secret in the interface has still written it to disk. Redacting at capture means the secret was never persisted in the first place.
STORAGE
LOCAL · SQLITE
CLIPS
TYPE-AWARE
PLATFORM
NATIVE macOS