Skip to main content

A lightweight macOS clipboard manager with history, search, and an interactive picker.

Project description

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+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paste_cli-0.2.1.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paste_cli-0.2.1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file paste_cli-0.2.1.tar.gz.

File metadata

  • Download URL: paste_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for paste_cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 83d6480defcad0b0d569d051344314d01cedc2042e02891c7dfdef8ba9c6578b
MD5 09879eeda983fbe32299e6cdcbb9c76f
BLAKE2b-256 6243eaf03d380fd236b17ba35314ce7a3ca2838d05a10d609d48732527d40f53

See more details on using hashes here.

File details

Details for the file paste_cli-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: paste_cli-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for paste_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c54d3c5be536e616b431e64a99fb6d0ec2eec6a79d8ead3941fe8b7a31fd311
MD5 b87db4847699ffc9b9379b4de6b0f8bd
BLAKE2b-256 236725c75e3e9de08d7e6435a2e333433ca55524353b9f28579f020e23c6f399

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page