Skip to main content

A lightweight cross-platform clipboard manager for AI prompts and text snippets

Project description

Prompt Clipboard

PyPI version Python Version License Code style: black

A lightweight cross-platform clipboard manager designed specifically for AI prompts, templates, and frequently used text snippets.

Highlights

๐ŸŽฏ Smart & Intuitive

  • Multi-select prompts and copy them all at once
  • Automatic relation tracking: prompts used together stay together
  • Intelligent search with related prompts suggestions

โšก Fast & Efficient

  • Global hotkey access from anywhere
  • Usage-based sorting keeps your favorites on top
  • Keyboard-first interface for maximum productivity

๐Ÿ”’ Private & Secure

  • 100% local storage, no cloud required
  • No telemetry, no tracking
  • Your data stays on your machine

Features

  • ๐Ÿš€ Fast Access - Global hotkey to instantly search and insert prompts (default: Ctrl+Alt+I)
  • ๐Ÿ” Intelligent Search - Multi-word search with automatic grouping of related prompts
  • ๐Ÿ”— Smart Relations - Automatically tracks which prompts are used together
  • ๐Ÿ“Š Usage Analytics - Tracks usage count to prioritize frequently used prompts
  • โŒจ๏ธ Keyboard-First - Navigate entirely with keyboard shortcuts
    • Space - Toggle multi-selection
    • Enter - Copy selected prompt(s) to clipboard
    • โ†‘/โ†“ - Navigate between search and list
    • Esc - Close overlay
  • ๐ŸŽฏ Multi-Select - Select and copy multiple prompts at once (separated by newlines)
  • ๐Ÿ’พ Local Storage - All data stored locally in SQLite database
  • ๐ŸŽจ Modern UI - Clean interface built with PySide6
  • ๐Ÿ” Privacy-Focused - No cloud sync, no telemetry, your data stays local

Quick Start

Installation

From PyPI (Recommended)

pip install prompt-clipboard

Or using uvx:

uvx prompt-clipboard

From Source

git clone https://github.com/l0kifs/prompt-clipboard.git
cd prompt-clipboard
uv sync
uv run prompt-clipboard

Usage

  1. Launch the application:

    prompt-clipboard
    
  2. Add your first prompt:

    • Click "Add Prompt" button or press the hotkey
    • Enter your prompt text
    • Click "Save"
  3. Use the global hotkey:

    • Press Ctrl+Alt+I (default) anywhere
    • Start typing to search (all words must match)
    • Use arrow keys to navigate
    • Press Space to toggle selection (multi-select)
    • Press Enter to copy to clipboard
    • Press Esc to close
  4. Advanced features:

    • Multi-select: Use Space or Ctrl+Click to select multiple prompts
    • Related prompts: Prompts used together are automatically grouped
    • Smart search: Search results show related prompts with connection strength
    • Quick add: Type in search and press Enter to create a new prompt
  5. Configure settings:

    • Click the settings icon
    • Customize global hotkey
    • Restart application for hotkey changes to take effect

Configuration

The application stores its data in:

  • Linux: ~/.local/share/prompt-clipboard/
  • macOS: ~/Library/Application Support/prompt-clipboard/
  • Windows: %APPDATA%\prompt-clipboard\

Files:

  • prompt_clip.db - SQLite database with prompts and relations
  • logs/prompt_clipboard.log - Application logs

Keyboard Shortcuts:

  • Ctrl+Alt+I - Open/close overlay (configurable)
  • Space - Toggle prompt selection
  • Enter - Copy selected prompt(s)
  • โ†‘/โ†“ - Navigate list
  • Esc - Close overlay

See docs/CONFIGURATION.md for advanced configuration options.

Development

Prerequisites

  • Python 3.12+
  • uv package manager

Setup

# Clone repository
git clone https://github.com/l0kifs/prompt-clipboard.git
cd prompt-clipboard

# Install dependencies
uv sync

# Run application
uv run prompt-clipboard

Project Structure

prompt-clipboard/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ prompt_clipboard/
โ”‚       โ”œโ”€โ”€ main.py                 # Application entry point
โ”‚       โ”œโ”€โ”€ database.py             # SQLite database operations
โ”‚       โ”œโ”€โ”€ hotkey.py               # Global hotkey handler
โ”‚       โ”œโ”€โ”€ prompt_manager_window.py # Main window
โ”‚       โ”œโ”€โ”€ add_prompt_dialog.py    # Add prompt dialog
โ”‚       โ”œโ”€โ”€ edit_prompt_dialog.py   # Edit prompt dialog
โ”‚       โ”œโ”€โ”€ settings_window.py      # Settings dialog
โ”‚       โ””โ”€โ”€ config/
โ”‚           โ”œโ”€โ”€ settings.py         # Application settings
โ”‚           โ””โ”€โ”€ logging.py          # Logging configuration
โ”œโ”€โ”€ docs/                           # Documentation
โ”œโ”€โ”€ pyproject.toml                  # Project configuration
โ””โ”€โ”€ README.md

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Roadmap

  • Import/Export functionality (JSON/CSV)
  • Prompt templates with variable substitution
  • Cloud synchronization (optional, encrypted)
  • Prompt versioning and history
  • Custom themes (dark/light mode)
  • Multi-language UI support
  • Prompt categories/folders
  • Statistics and analytics dashboard

Support

Acknowledgments

Built with:

  • PySide6 - Qt for Python
  • SQLModel - SQL databases with Python type hints
  • pynput - Global hotkey handling
  • loguru - Python logging made simple

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

prompt_clipboard-0.1.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

prompt_clipboard-0.1.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prompt_clipboard-0.1.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for prompt_clipboard-0.1.0.tar.gz
Algorithm Hash digest
SHA256 99302ae8fe5fefea00855f34ece3eedf31b74ea4afff46ce53cf5429909781e9
MD5 7ffaaf108a4fccaba091661db4392a98
BLAKE2b-256 d32fdf1619ec2170a6f89aba0d6bfd577e6f5e76d7de5148a95ee2a680b48567

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for prompt_clipboard-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac6542a412f6e1f0924833a4d708f7c0bf4b89c369a7b5c80f90f3dc047ef1f2
MD5 27bacc25a8804844bb23d5a938f87228
BLAKE2b-256 e9abf692095ed8767bbbb14c40b885085a466df2ced34c5e220f2143f6f8b5d9

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