Skip to content

Releases: georgemandis/copycat

v0.4.4

30 May 05:15

Choose a tag to compare

v0.4.3

30 May 04:07

Choose a tag to compare

Full Changelog: v0.4.2...v0.4.3

v0.4.2

30 May 03:41

Choose a tag to compare

Full Changelog: v0.4.1...v0.4.2

v0.4.1

30 May 03:33

Choose a tag to compare

Full Changelog: v0.4.0...v0.4.1

v0.4.0

30 May 01:01

Choose a tag to compare

Full Changelog: v0.3.1...v0.4.0

v0.3.1

21 May 19:21

Choose a tag to compare

Full Changelog: v0.3.0...v0.3.1

v0.3.0

21 May 18:34

Choose a tag to compare

Full Changelog: v0.2.0...v0.3.0

v0.2.0

02 May 04:43

Choose a tag to compare

What's New

Web Clipboard Container Parsing

Browsers store rich clipboard data inside opaque container formats (com.apple.WebKit.custom-pasteboard-data, org.chromium.web-custom-data, application/x-moz-custom-clipdata). Copycat can now parse all three and expose their inner MIME types and values.

The default introspect view now expands these containers automatically:

$ copycat
  com.apple.WebKit.custom-pasteboard-data    4821 bytes
  [WebKit/Safari container, origin: https://docs.google.com]
    text/plain    340 bytes
    "The software on your computer reads and writes..."
    text/html    2100 bytes
    "<span style=\"font-size:11pt;...<br>..."

Sub-Type Reading

Read a specific sub-type from within a container using two-arg syntax:

$ copycat read com.apple.WebKit.custom-pasteboard-data text/plain

The list command shows sub-types inline:

$ copycat list
public.html
public.utf8-plain-text
com.apple.WebKit.custom-pasteboard-data
  com.apple.WebKit.custom-pasteboard-data/text/plain
  com.apple.WebKit.custom-pasteboard-data/text/html

Shell Completions

New completions command generates completion scripts for fish, bash, and zsh — with two-stage tab completion that completes format names first, then sub-type names:

$ copycat completions fish | source                                          # load for session
$ copycat completions fish > ~/.config/fish/completions/copycat.fish         # persist
$ eval "$(copycat completions bash)"                                         # bash

Other Changes

  • list --sub-types <format> lists sub-type names for a container (used by completion scripts)
  • Firefox container format parser with big-endian marker/sentinel framing
  • WebKit/Safari container format parser (WTF::Persistence encoding with Latin-1/UTF-16 strings)

Full Changelog: v0.1.1...v0.2.0

v0.1.1

19 Apr 04:54

Choose a tag to compare

Full Changelog: v0.1.0...v0.1.1

v0.1.0

19 Apr 04:27

Choose a tag to compare