Skip to content

ChausseBenjamin/termpicker

Repository files navigation

Termpicker

A simple Color Picker Designed for your Terminal

Here is a quick demo of what has been done so far:

Termpicker Demo

Features:

  • 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)

Usage:

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)

Installation

Via Go:

go install github.com/ChausseBenjamin/termpicker@latest

From the aur:

Termpicker is on the AUR! 🎉 Just install it with you favourite aur package manager (yay, paru, yaourt, etc...)

yay -S termpicker-bin

Manual 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/.

Roadmap

  • 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)

About

A color picker for the terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5