A simple Color Picker Designed for your Terminal
Here is a quick demo of what has been done so far:
- Preview any color using a truecolor terminal
- Create colors using sliders for RGB, HSL, and CMYK
- Seamlessly convert between color formats (RGB, HSL, CMYK) as you create
- Copy the color to your clipboard in various formats (RGB, HEX, HSL, CMYK, ANSI truecolor)
The keybindings are pretty simple and shown in the UI. Their description can
be expanded by pressing the ? key. The exhaustive list is available if you
RTFM :P (either termpicker --help or man termpicker if the manpage is
installed)
Via Go:
go install github.com/ChausseBenjamin/termpicker@latestFrom the aur:
Termpicker is on the AUR! 🎉 Just install it with you favourite aur package manager (yay, paru, yaourt, etc...)
yay -S termpicker-binManual Installation:
Just grab the latest release for your platform and install the binary
somewhere in your PATH. Releases also include a manpage which you can
install to your $XDG_DATA_HOME/man/man1/.
- Publish release to more mainstream repositories (Homebrew, nix, etc...)
- Unit-test color conversions near edge case colors
- Migrate to bubbletea/V2 once it comes out of beta
- Warn the user if the terminal is too small (and refuse to render)
