Skip to content

[Feature] Transform Clipboard Content via User-Defined Rules #1036

Description

@futpib

Summary

Allow users to define transformations that modify clipboard content (on capture and/or on paste). Currently clipcat can filter content out (by regex / size / MIME type) or insert static snippets, but cannot modify clip text itself.

Motivation

Common transformations users want from a clipboard manager:

  • Trim leading/trailing whitespace
  • Strip URL tracking parameters (utm_*, fbclid, gclid, …)
  • Normalize line endings (CRLF → LF)
  • Convert smart quotes to ASCII
  • URL-decode / URL-encode
  • Custom regex find-and-replace

Today these require an external tool or a manual clipcat-menu edit round-trip per clip.

Prior Art

  • CopyQ — scriptable commands triggered by regex/MIME match
  • KDE Klipper — actions matching regex, running configured commands
  • Maccy (macOS) — built-in transforms (trim, case, …)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions