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 20Each 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
- 454e5ab Set up Buildx for release Docker images (#40)
- 01c66e5 Disable Docker SBOM attestation (#39)
- ed6740f Prepare release workflow for v0.4.0 (#38)
- df6e07d Add clipboard history support (#37)
- 90269e2 Fix CI: update Go versions and golangci-lint (#36)
- 6674985 Fix how to install via Go
- b6f80e7 Update README.md
- 21b29a5 Bump Go to 1.16
- 356c589 Add info on how to use command-line options