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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| paste_cli-0.2.1.tar.gz | 24.3 kB | Without provenance | Details for paste_cli-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| paste_cli-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for paste_cli-0.2.1-py3-none-any.whl |
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
|
Security for paste-cli 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.