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
- Host: GitHub
- URL: https://github.com/info-mono/colortest
- Owner: info-mono
- License: gpl-3.0
- Created: 2022-08-16T02:31:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-22T06:21:47.000Z (over 2 years ago)
- Last Synced: 2025-01-06T05:25:17.161Z (4 months ago)
- Topics: ansi, cli, colortest, curl, posix-sh, shell, terminal
- Language: Shell
- Homepage:
- Size: 96.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Colortest
Customizable Colortest
## ๐ก 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
>
>