Skip to main content

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

Project description

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

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

clipvault_cli-0.1.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

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

clipvault_cli-0.1.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file clipvault_cli-0.1.0.tar.gz.

File metadata

  • Download URL: clipvault_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for clipvault_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7f298c7eeb83e829ece70b9d6ea7d986bcbe6dd9ed11930d01761e6850211a7f
MD5 7c276ae69eb1e533f192dbb9e52e7cf6
BLAKE2b-256 23633c57a65257edd9a73beb178189cc07a10092d60d7df4735445041f95886a

See more details on using hashes here.

File details

Details for the file clipvault_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: clipvault_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for clipvault_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6cb1463535200284a6082558a5d2b796acf57415a49516c9b050911bf41f3fd
MD5 00dc4914a022308dc9a942683740bdef
BLAKE2b-256 831fe0028d1650cde89a0a4687d0fd632e83b8e0385d678f667223c2cfaaea4e

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