0.8.1
版本发布时间: 2023-07-09 04:12:48
Slackadays/Clipboard最新发布版本:0.9.0.1(2023-12-17 23:43:24)
The Clipboard Project is an advanced clipboard manager made for the terminal. It offers many useful features like unlimited history, a user friendly design, and a JSON API. That's why we like to say it's your new second brain!
In 3 Sentences
Added tons of little features and user experience improvements, as well as some huge optimizations! There's also a few bug fixes to help keep Clipboard as high quality as ever.
Like always, only the latest version is supported, so don't hesitate to upgrade to this one.
New
- Improved Flatpak builds
- Added full paths to Status and History JSON actions so that you can select them in dmenu scripts
- Prioritized Wayland clipboard writing over X11
- Optimized external clipboard syncing for Status
- Added regex support for piping into Paste
- Added automatic filesystem syncing on exit
- Added fancy schmancy sound effects when completing after losing focus or upon an error (currently Linux only)
https://github.com/Slackadays/Clipboard/assets/69403549/b6906820-0c4c-4103-b055-6858bc6238b5
- Added
CLIPBOARD_NOAUDIO
to disable all sound effects (including the existing terminal bell) - Show all actions available in help message
- Added elapsed time to progress indicator
- Added creation date and owner of clipboard to Info (currently only for non-Windows)
- Added current progress to terminal title
https://github.com/Slackadays/Clipboard/assets/69403549/7338cbde-1a62-4c5f-87e7-cf113ba84793
- Added smart data pasting where the clipboard number and entry plus data type will be stored in the new file's name
- Added ability to use as a desktop app by running a custom script in the desktop entry
- Added autocorrect for bad actions in case of misspells
- Use automatically generated data from https://www.garykessler.net/library/file_sigs.html to make MIME and file extension inference a lot more complete
- Added empty clipboard editing by making a new empty file
- Added support for specifying multiple history retention limits at once
- Added support for decimal numbers in history retention limits (like 100.42069gb or 800.85w)
- Added support for history retention limits in seconds
- Removed
CLIPBOARD_NOEMOJI
because CB now uses no emoji anymore :smirk: - Optimized History action with multithreading! If you have hundreds of thousands of history entries, you'll notice that you're now getting kickASS performance here. This isn't python or webshit we're talking about here.
- Optimized History with POSIX AIO! You'll need Linux, macOS, FreeBSD, or NetBSD to use this.
- Optimized History by removing useless code! There was a little bit of fat to trim.
https://github.com/Slackadays/Clipboard/assets/69403549/0351c467-6e8b-4032-a604-437887542a7d
-
Optimized bar drawing in Status, Info, History, and Search
-
Added basic Bash and Fish completions
-
Added support for using default (English) action names even when another language is selected
-
Added Search JSON action
-
Added Snap support! Now you can use this Flatpak competitor if you want
-
Added $ORIGIN support to installs so that Snap works easier
-
Made the manpage not completely suck
-
Added smart environment variables which can tell between true and false values
-
Added compatibility with
--
to mark the end of an option list -
Optimized color formatting to be 30% faster!
-
:rotating_light: BREAKING CHANGE :rotating_light: Replaced
CLIPBOARD_ALWAYS_PERSIST
withCLIPBOARD_CUSTOMPERSIST
so that you can choose which clipboards should be persistent using regex. So, if you hadCLIPBOARD_ALWAYS_PERSIST
set to1
before, setCLIPBOARD_CUSTOMPERSIST
to.*
. -
Added ability to copy text without quotes (") if none of the arguments are files
Here's how this works. Before, you'd need to do the following to copy text directly:
$ cb copy "Hello world!"
Now, as long as each "word" is not a valid filename, you can do the following:
$ cb copy Hello world!
- Improved the whitespacing of inverse text
- Improved Spanish, Portuguese, and Turkish translations (thanks, GH Copilot for pt/tr!)
- Added French and German locale support
- Added fuzzy file searching in case you mispellll a filename
- Optimized MIME inference
- Optimized file reading for small files Technical Stuff: On Linux and FreeBSD, the pipe size is 65K bytes and on macOS, OpenBSD, NetBSD, and DragonFlyBSD, the pipe size is 16K bytes. Reading content with a size less than these sizes will now only take 3 syscalls instead of 4.
Fixed
- Fixed focus reporting characters showing up
- Fixed some box drawing characters showing up as thicker ones on certain terminals (LOOKING AT YOU, KDE KONSOLE!)
- Fixed size_t warning on macOS
- Fixed exporting clipboards which have bad symlinks
- Made Flatpak nightly instead of pinned to 0.8.0
- Improved accuracy of calculating displayed message lengths
- Fixed "last changed" date showing creation time on non-Windows in Info
- Fixed terminal colors sometimes sticking around when doing Ctrl+C
- Fixed indicator sticking around when doing Ignore with zero patterns set
- Fixed history retention limit for size not being able to go above 4GB (the size of an unsigned 32 bit integer)
- Fixed a deque access error in Search
- Fixed Search results sometimes going off screen
- Fixed Clear All showing a "Cleared XYZ clipboards" message even if canceling
- Fixed color formatting for Note action
- Improved error handling in Copy action
Changed
- :rotating_light: BREAKING CHANGE :rotating_light: Renamed Status and History JSON's "name" key to "filename"
- Changed behavior of a couple actions to prioritize argument data over piped data
- Switched builds from MinSizeRel to Release optimization
- Changed an emoji to box-drawing characters
- Made progress indicator a large and long bar with a background
- Made default color scheme a little darker
- Made top bars of output inversely colored, and they look so good now!
- Changed success/error emojis to specially formatted unicode equivalents
- Changed "(Unknown)" as default content type in Info to "text/plain"
:memo: Notes
If you're a package maintainer for CB on Linux, then you'll need to add ALSA as a dependency.
The new History multithreading optimization only works if your system has multiple CPU cores available. The more cores you have, the faster History will be.
1、 clipboard-flatpak-amd64.zip 806.58KB
2、 clipboard-freebsd-amd64.zip 923.14KB
3、 clipboard-linux-amd64.zip 1.05MB
4、 clipboard-linux-arm64.zip 971.31KB
5、 clipboard-linux-armhf.zip 953.83KB
6、 clipboard-linux-ppc64el.zip 1010.6KB
7、 clipboard-linux-riscv64.zip 1.04MB
8、 clipboard-macos-arm64-amd64.zip 655.23KB
9、 clipboard-netbsd-amd64.zip 960.81KB
10、 clipboard-openbsd-amd64.zip 950.36KB
11、 clipboard-openbsd-arm64.zip 979.7KB
12、 clipboard-snap-amd64.zip 20.24MB
13、 clipboard-windows-amd64.zip 1.06MB
14、 clipboard-windows-arm64.zip 1.04MB