Lightweight clipboard history manager for macOS
Project description
Clipsy
A lightweight clipboard history manager for macOS. Runs as a menu bar icon — no admin privileges, no code signing, no App Store required.
Features
- Clipboard history — Automatically captures text, images, and file copies
- Image thumbnails — Visual previews for copied images in the menu
- Sensitive data masking — Auto-detects API keys, passwords, SSNs, credit cards, private keys, and tokens; displays masked previews with 🔒 icon
- Search — Full-text search across all clipboard entries (SQLite FTS5)
- Click to re-copy — Click any entry in the menu to put it back on your clipboard
- Deduplication — Copying the same content twice bumps it to the top instead of creating a duplicate
- Auto-purge — Keeps the most recent 500 entries, automatically cleans up old ones
- Persistent storage — History survives app restarts (SQLite database)
- Corporate IT friendly — Runs as a plain Python process, no
.appbundle or Gatekeeper issues
Requirements
- macOS
- Python 3.10+ (Homebrew recommended:
brew install python3)
Installation
Via pip (recommended)
pip install clipsy
From source
git clone https://github.com/brencon/clipsy.git
cd clipsy
python3 -m venv .venv
.venv/bin/pip install -e .
Usage
# Run clipsy (a scissors icon appears in your menu bar)
clipsy
Then just use your Mac normally. Every time you copy something, it shows up in the Clipsy menu:
[✂️ Icon]
├── Clipsy - Clipboard History
├── ──────────────────
├── Search...
├── ──────────────────
├── "Meeting notes for Q3 plan..."
├── "https://github.com/example..."
├── 🔒 "password=••••••••"
├── [thumbnail] "[Image: 1920x1080]"
├── ... (up to 10 items)
├── ──────────────────
├── Clear History
├── ──────────────────
├── Support Clipsy
├── ──────────────────
└── Quit Clipsy
Auto-Start on Login
Run clipsy automatically when you log in — no terminal needed:
# Install as a LaunchAgent
scripts/install_launchagent.sh install
# Check status
scripts/install_launchagent.sh status
# Remove auto-start
scripts/install_launchagent.sh uninstall
Data Storage
All data is stored in ~/.local/share/clipsy/:
| File | Purpose |
|---|---|
clipsy.db |
SQLite database with clipboard entries |
images/ |
Saved clipboard images (PNG files) |
clipsy.log |
Application log |
Development
# Install with dev dependencies
.venv/bin/pip install -e ".[dev]"
# Run tests
.venv/bin/python -m pytest tests/ -v
# Run with coverage
.venv/bin/python -m pytest tests/ --cov=clipsy --cov-report=term-missing
Architecture
NSPasteboard → monitor.py → redact.py → storage.py (SQLite) → app.py (menu bar UI)
app.py—rumps.Appsubclass; renders the menu bar dropdown, handles clicks and searchmonitor.py— PollsNSPasteboard.changeCount()every 0.5s; detects text, images, and file copiesstorage.py— SQLite with FTS5 full-text search, SHA-256 deduplication, auto-purgeredact.py— Sensitive data detection and masking (API keys, passwords, SSN, credit cards, tokens)config.py— Constants, paths, limitsmodels.py—ClipboardEntrydataclass,ContentTypeenumutils.py— Hashing, text truncation, PNG dimension parsing, thumbnail generation
Dependencies
Only one external dependency:
rumps— macOS menu bar app framework (bringspyobjc-framework-Cocoatransitively)sqlite3— Built into Python
License
MIT License — see LICENSE for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clipsy-1.5.0.tar.gz.
File metadata
- Download URL: clipsy-1.5.0.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e39b44dbad50837a52c375d594da23af2fa58c89b207b6a1a5718785b93f0747
|
|
| MD5 |
98ef8fdedff3457f2b736d0b4de8b060
|
|
| BLAKE2b-256 |
b0a751e315283237c965d3393ea73b46829a52eac3b30eb38534fcec285e18c5
|
Provenance
The following attestation bundles were made for clipsy-1.5.0.tar.gz:
Publisher:
release.yml on brencon/clipsy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clipsy-1.5.0.tar.gz -
Subject digest:
e39b44dbad50837a52c375d594da23af2fa58c89b207b6a1a5718785b93f0747 - Sigstore transparency entry: 915382925
- Sigstore integration time:
-
Permalink:
brencon/clipsy@b5aecb04f7d44710dac1a63496eb2e3c786442e2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/brencon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b5aecb04f7d44710dac1a63496eb2e3c786442e2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file clipsy-1.5.0-py3-none-any.whl.
File metadata
- Download URL: clipsy-1.5.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fd01e746e7c6a70b29ffca03ac8fedb0a57da56a41c9bd8d9cfb42fa6e53f62
|
|
| MD5 |
fe45b69d3cb342e230456b837867e65e
|
|
| BLAKE2b-256 |
8362686ceacba55b45b1b49c9cc49f045a21c482b9a3b2718c02e3490e4cf673
|
Provenance
The following attestation bundles were made for clipsy-1.5.0-py3-none-any.whl:
Publisher:
release.yml on brencon/clipsy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clipsy-1.5.0-py3-none-any.whl -
Subject digest:
3fd01e746e7c6a70b29ffca03ac8fedb0a57da56a41c9bd8d9cfb42fa6e53f62 - Sigstore transparency entry: 915382977
- Sigstore integration time:
-
Permalink:
brencon/clipsy@b5aecb04f7d44710dac1a63496eb2e3c786442e2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/brencon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b5aecb04f7d44710dac1a63496eb2e3c786442e2 -
Trigger Event:
push
-
Statement type: