Skip to main content

paste-cli

A lightweight clipboard manager for macOS. Stores everything you copy, lets you search and re-paste from history.

Install

uv tool install paste-cli
# or
pip install paste-cli

Setup

pst start                # start the clipboard monitor
pst service install      # auto-start on login (never think about it again)

Usage

Press Cmd+Ctrl+V to open the picker overlay.

┌──────────────────────────────────────────────────────────────┐
│  Clipboard          ⌕ Type to search…              7 items  │
│  [All]  Text   Image   File                                 │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐        │
│ │ console  │ │ function │ │ https:// │ │ import   │  ←→    │
│ │ .log(x)  │ │ getData  │ │ example  │ │ os       │        │
│ │          │ │ () {     │ │ .com/api │ │          │        │
│ │ 24 chars │ │ 89 chars │ │ 42 chars │ │ 1 file   │        │
│ │ TXT Term │ │ TXT Code │ │ TXT Chro │ │ FILE Fin │        │
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘        │
│  ← → Navigate · Enter Paste · ⌘C Copy · Click Copy · Esc  │
└──────────────────────────────────────────────────────────────┘
Action What it does
← → Navigate cards
Enter Copy + paste into the active app
⌘C Copy to clipboard only
Click Copy to clipboard only
Tab Cycle filter (All / Text / Image / File)
Type Search history
Esc Close

CLI

pst list                    # show recent history
pst list -t image           # filter by type
pst list -a Chrome          # filter by app
pst search "TODO"           # search content
pst show 42                 # full details of an item
pst copy 42                 # re-copy item #42 to clipboard
pst pick                    # open the GUI picker
pst pick --tui              # terminal picker (curses)
pst stats                   # history stats
pst delete 42               # delete an item
pst clear                   # clear all history

What it stores

  • Text, images, and file paths (up to 100KB each)
  • Source app name (e.g. "VS Code", "Chrome")
  • Browser URL when copied from a browser
  • Timestamp, use count

Stored in SQLite at ~/.pastepy/history.db.

Requirements

  • macOS
  • Python 3.12+

Metadata

Release files for paste-cli 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for paste-cli 0.2.1
File Size Uploaded
paste_cli-0.2.1.tar.gz 24.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for paste-cli 0.2.1
File Interpreter ABI Platform
paste_cli-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 44.3 kB

Release files / paste_cli-0.2.1.tar.gz

Download URL paste_cli-0.2.1.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
83d6480defcad0b0d569d051344314d01cedc2042e02891c7dfdef8ba9c6578b
BLAKE2b-256 checksum
How to use checksums
6243eaf03d380fd236b17ba35314ce7a3ca2838d05a10d609d48732527d40f53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release files / paste_cli-0.2.1-py3-none-any.whl

Download URL paste_cli-0.2.1-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c54d3c5be536e616b431e64a99fb6d0ec2eec6a79d8ead3941fe8b7a31fd311
BLAKE2b-256 checksum
How to use checksums
236725c75e3e9de08d7e6435a2e333433ca55524353b9f28579f020e23c6f399
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page