An open API service indexing awesome lists of open source software.

https://github.com/info-mono/colortest

๐Ÿณ๏ธโ€๐ŸŒˆ Customizable Colortest
https://github.com/info-mono/colortest

ansi cli colortest curl posix-sh shell terminal

Last synced: 3 months ago
JSON representation

๐Ÿณ๏ธโ€๐ŸŒˆ Customizable Colortest

Awesome Lists containing this project

README

        

Colortest


Customizable Colortest




License: GPL-3.0
Development completed

## ๐Ÿ’ก About

**Colortest** is a tool to quickly show all your terminal colors.

Try it:

```sh
sh -c "$(curl -fsLS https://info-mono.github.io/colortest)"
```

```sh
sh -c "$(curl -fsLS https://info-mono.github.io/colortest)" --
```

You can just `curl` some pre-made colortest:

```sh
curl -fsLS https://info-mono.github.io/colortest/
```

E.g:

```sh
curl -fsLS https://info-mono.github.io/colortest/default
```

> **Note** The full list of pre-made colortest files can be found [here](https://github.com/info-mono/colortest/tree/main/docs).

## ๐Ÿš€ Setup

### ๐Ÿงพ Dependencies

- [POSIX compliance shell (`sh`, `bash`, `zsh`, ...)](https://wikipedia.org/wiki/Unix_shell)

### ๐Ÿ“ฅ Installation

#### ๐Ÿ”ง Manually

Option 1: using `curl`

```sh
curl https://raw.githubusercontent.com/info-mono/colortest/main/bin/colortest > ~/.local/bin/colortest
chmod +x ~/.local/bin/colortest
```

Option 2: using `git`

```sh
git clone https://github.com/info-mono/colortest.git ~/.local/share/colortest
ln -s ~/.local/share/colortest/bin/colortest ~/.local/bin/colortest
```

#### ๐Ÿ“ฆ Package manager

For [Bpkg](https://github.com/bpkg/bpkg) user:

```sh
bpkg install info-mono/colortest
```

For [Basher](https://github.com/basherpm/basher) user:

```sh
basher install info-mono/colortest
```

## โŒจ๏ธ Usage

Run `colortest` in the terminal:

```sh
colortest
```

```console
Options:
-h, --help Print this help message
-s, --string Set print string
-S, --separator Set separator string
-f, --fg-modes Set foreground modes list
(normal, bright, bold, both)
-b, --bg-modes Set background modes list
(normal, bright)
-F, --fg-colors Set foreground colors list
(0, 1, 2, 3, 4, 5, 6, 7, none, label)
-B, --bg-colors Set background colors list
(0, 1, 2, 3, 4, 5, 6, 7, none, label)
```

> **Note** List are separated by space.





---

>

Made with โค๏ธ by @info-mono


>
>

Buy Me a Coffee