Skip to content

v0.4.0

Latest

Choose a tag to compare

@nakabonne nakabonne released this 29 Apr 08:59
454e5ab

What's Changed

Clipboard history support

pbgopy now supports clipboard history on the server side.

To keep multiple entries, start the server with --history-limit:

pbgopy serve --history-limit 20

Each successful copy creates a history entry. paste still returns the latest entry by default:

pbgopy copy < first.txt
pbgopy copy < second.txt

pbgopy paste > latest.txt

You can list stored entries with the new history command:

pbgopy history

Example output:

ID                                AGE  TYPE                       SIZE   LATEST  PREVIEW
fcd0bc9afd9586c4544c377024d4e3b1  4s   text/plain; charset=utf-8  6B     *       "world"
f9db4d7b8befb5d8b86b39e58b695126  9m   image/jpeg                 1.6MB          JPEG image 3144x4192

You can paste a specific entry by ID:

pbgopy paste --id f9db4d7b8befb5d8b86b39e58b695126 > foo.jpg

Use --history-limit 0 for unlimited in-memory history.

Notes

The default history limit is 1, so existing latest-only workflows continue to work as before.

Changelog