0.8.0
版本发布时间: 2023-06-03 22:32:30
Slackadays/Clipboard最新发布版本:0.9.0.1(2023-12-17 23:43:24)
New
- Basically UNLIMITED clipboard history! :rocket:🤩 You can't say that about CopyQ, Maccy, Flycut, Clipboard Indicator, GPaste, Alfred, clipster, Raycast non-Pro, Clipboard Manager Electron, Clipped, Parcellite, Budgie Clipboard, Clipboard Master, Clippy, or Pano.
- Customizable clipboard entry history range from 1 to 2^32 - 1 with the
CLIPBOARD_HISTORY
environment variable. So, go ahead. Crank that b*tch up to a billion. It's all up 2 you! 😎 - You can also choose a date range by putting
y
,m
,w
,d
, orh
after the number instead to specify years, months, weeks, days, or hours respectively to only keep that old content, like6m
or2w
. - Alternatively, you can also add
tb
,gb
,mb
,kb
, orb
instead to specify a maximum data size to keep, like100gb
or5mb
. - Remote clipboard sharing! You can now seamlessly share copied text across SSH sessions, and you only need CB installed on the remote system. To my knowledge, NO other clipboard manager has this feature. :1st_place_medal:
https://github.com/Slackadays/Clipboard/assets/69403549/4533b48c-efcc-4cda-98b1-97c595d1bfec
- Added
CLIPBOARD_NOREMOTE
to disable remote clipboard reading/writing - Added the Edit action which lets you edit your clipboard text content right from the command line in one step!
https://github.com/Slackadays/Clipboard/assets/69403549/9597aa91-6d6f-4a6a-9eb8-908bfb6a0335
- Added the
CLIPBOARD_EDITOR
environment variable to choose which editor to use. Note: CB will automatically search for a couple fallbacks if it can't get an editor from theCLIPBOARD_EDITOR
,EDITOR
, orVISUAL
environment variables - Added clipboard searching! Now you can search either one clipboard or all of them with one or many queries of your choosing. CB will automagically sort the top results for you with what clipboard they're in and what entry each result is so you can quickly get to them.
https://github.com/Slackadays/Clipboard/assets/69403549/c071e4bd-01a8-4935-922d-f85da2738456
- A new option for Linux users: Flatpak! There are now zero (0) excuses to not get Clipboard even if your system is older than otherwise required. Go grab that Flatpak from the Assets list below, unzip it, and install it with
flatpak install clipboard-flatpak-amd64.flatpak
. - Added focus notifications that will play a sound for you if you're looking at a different window while CB is running a long task
- Added History action to show entire history, or queue up certain entries by adding those entries after the action, like
cb history 10 42
- Added history entry capabilities to the clipboard name selector, so now you can specify clipboard 5, entry 10 by doing an action like
paste5-10
- Added
--entry
flag to specify the entry by itself like--entry 10
. This means you can now effortlessly rewrite history by copying content into an existing entry! - Added total item size in Info action for regular files and directories
- Added total clipboard size to Info
- Show binary content type and size in Status and History actions
- Added locking to Status action
- Added the eye candy :lollipop: treatment to the Show action
- Added documentation to the website at getclipboard.app/docs
- Separated all the actions out into their own compilable .cpp files to increase build speed
- Added more MIME types to the inference system
Fixed
- Fixed improper JSON escaping
- Show the real size of directories when calculating total sizes on non-Windows platforms
- Fixed a crash that could happen due to assuming there are clipboard contents when there aren't
- Simplified and made directory size calculations slightly more correct
- Fixed X11 sometimes not working (AGAIN!)
- Added terminal size sanity check for CI and broken terminal situations
- Fixed total size calculations failing due to bad symlinks
Changed
- Changed Easter Egg from undocumented
--ee
flag to--bachata
flag in readme - Don't show raw binary content in JSON outputs
- Switch from TMPDIR to XDG_RUNTIME_DIR in temporary filepath logic
- The Juice website template is now bundled to prevent future availability issues
- Renamed a couple JSON parameters for clarity
- Replaced an emoji with a Unicode version
:rotating_light: WARNING!
The new history feature makes CB incompatible with how older versions stored clipboard contents. If you have existing content when you upgrade, then it might not appear in CB, although it won't be deleted. To fix this, take everything stored in the data
folder of your existing clipboards and move them to a "0" subfolder within data
. So, if you have the file Foobar
stored under data
, the new setup will look like the folder 0
under data
, and 0
stores the file Foobar
. To find where CB keeps your clipboards, use the cb info
command and check the line that says Stored in...
.
If you don't already have content stored with CB, then this warning doesn't apply to you.
📝 Note
Because the new History action is highly optimized, if you store a lot of entries in your clipboard history, then it may overload your terminal with too much content to handle at once. To fix this, please use a GPU accelerated terminal like Kitty or Alacritty.
The remote clipboard feature depends on OSC 52 which is a feature only a few terminals support, some being Kitty and Alacritty again. You'll also need to enable clipboard reading in the terminal for this feature to read the content remotely. If your favorite terminal doesn't support OSC 52, then go complain to them for not being standards-compliant.
1、 clipboard-flatpak-amd64.zip 176.69KB
2、 clipboard-freebsd-amd64.zip 240.53KB
3、 clipboard-linux-amd64.zip 265.13KB
4、 clipboard-linux-arm64.zip 210.38KB
5、 clipboard-linux-armhf.zip 196.1KB
6、 clipboard-linux-ppc64el.zip 223.57KB
7、 clipboard-linux-riscv64.zip 238.09KB
8、 clipboard-macos-arm64-amd64.zip 400.37KB
9、 clipboard-netbsd-amd64.zip 196.84KB
10、 clipboard-openbsd-amd64.zip 284.68KB
11、 clipboard-openbsd-arm64.zip 302.65KB
12、 clipboard-windows-amd64.zip 269.22KB
13、 clipboard-windows-arm64.zip 249.34KB