Skip to main content

clipvault

Encrypted clipboard history manager with AES-256 encryption and fuzzy search.

PyPI Python License Stars


clipvault is a powerful, security-first CLI tool that keeps an encrypted history of everything you copy to the clipboard. All entries are protected with AES-256-GCM encryption using a master password — even if someone steals your database file, they can't read your clipboard history without the key.

  • AES-256-GCM Encryption — Every clipboard entry encrypted at rest with authenticated encryption
  • Auto-detect Sensitive Data — Flags credit cards, API keys, JWTs, SSH keys, passwords automatically
  • Fuzzy Search — Find past clipboard entries even if you only remember a few words
  • Categories — Organize entries as code, url, secret, note, work, personal
  • Daemon / Watch Mode — Automatically capture everything you copy in the background
  • Export — Decrypt and export your vault to JSON or plain text
  • Purge Controls — Delete entries older than N days or clear the entire vault
  • Rich Terminal UI — Beautiful tables, panels, and progress indicators via Rich

Installation

pip install clipvault-cli

Or install from source:

git clone https://github.com/shazeus/clipvault
cd clipvault
pip install -e .

Usage

# Set your master password (or enter it interactively each time)
export CLIPVAULT_PASSWORD="your-master-password"

# Add current clipboard contents
clipvault add

# Add specific text
clipvault add "my secret text" --category secret

# Add from stdin
echo "hello world" | clipvault add --stdin

# List recent history
clipvault list
clipvault list --limit 50 --category code

# Get and optionally copy a specific entry
clipvault get 42
clipvault get 42 --copy

# Fuzzy search
clipvault search "github token"
clipvault search "api key" --copy   # copies top result

# Watch clipboard in daemon mode
clipvault watch
clipvault watch --interval 0.5 --category work

# Show vault statistics
clipvault stats

# Delete an entry
clipvault delete 42

# Purge old entries
clipvault purge --days 7
clipvault purge --all

# Export vault
clipvault export output.json
clipvault export output.txt --format txt --category code

Commands

Command Description
add [TEXT] Encrypt and save text to the vault (reads clipboard if no text given)
list Display clipboard history in a formatted table
get ID Decrypt and display a specific entry; optionally copy to clipboard
search QUERY Fuzzy-search entries by content
delete ID Remove an entry from the vault
watch Daemon mode — auto-capture clipboard changes in real time
stats Show vault statistics and category breakdown
purge Remove old entries (by age or clear all)
export FILE Decrypt and export the vault to JSON or plain text

Configuration

Environment Variable Description Default
CLIPVAULT_PASSWORD Master encryption password (prompt)
CLIPVAULT_DB Path to the SQLite database file ~/.clipvault/history.db

Sensitive Data Detection

clipvault automatically detects and flags the following:

  • Credit card numbers (Visa, Mastercard, Amex)
  • API keys (sk-, pk-, api_key, etc.)
  • AWS access key IDs (AKIA…)
  • SSH/RSA private keys
  • JWT tokens
  • Password fields (password=…)
  • Email addresses and phone numbers
  • Keywords: secret, token, credential, auth

Sensitive entries are marked with a red ⚠ badge in the list view.

License

MIT © shazeus

Metadata

Release files for clipvault-cli 0.1.0

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

Source distribution (sdist)

Source distribution for clipvault-cli 0.1.0
File Size Uploaded Provenance Actions
clipvault_cli-0.1.0.tar.gz 13.5 kB Without provenance Details for clipvault_cli-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clipvault-cli 0.1.0
File Interpreter ABI Platform Actions
clipvault_cli-0.1.0-py3-none-any.whl Python 3 none any Details for clipvault_cli-0.1.0-py3-none-any.whl

Total release size: 26.3 kB

Release files / clipvault_cli-0.1.0.tar.gz

Download URL clipvault_cli-0.1.0.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7f298c7eeb83e829ece70b9d6ea7d986bcbe6dd9ed11930d01761e6850211a7f
BLAKE2b-256 checksum
How to use checksums
23633c57a65257edd9a73beb178189cc07a10092d60d7df4735445041f95886a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / clipvault_cli-0.1.0-py3-none-any.whl

Download URL clipvault_cli-0.1.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6cb1463535200284a6082558a5d2b796acf57415a49516c9b050911bf41f3fd
BLAKE2b-256 checksum
How to use checksums
831fe0028d1650cde89a0a4687d0fd632e83b8e0385d678f667223c2cfaaea4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for clipvault-cli 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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