https://github.com/shuhei/colortty
🎨 A utility to generate color schemes for alacritty
https://github.com/shuhei/colortty
alacritty cli color-scheme command-line-tool
Last synced: 9 months ago
JSON representation
🎨 A utility to generate color schemes for alacritty
- Host: GitHub
- URL: https://github.com/shuhei/colortty
- Owner: shuhei
- License: mit
- Created: 2017-01-15T12:13:58.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-09-26T20:42:06.000Z (over 2 years ago)
- Last Synced: 2024-04-15T12:19:19.361Z (about 2 years ago)
- Topics: alacritty, cli, color-scheme, command-line-tool
- Language: Rust
- Homepage:
- Size: 234 KB
- Stars: 67
- Watchers: 3
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# colortty
colortty is a utility to generate color schemes for [alacritty](https://github.com/jwilm/alacritty). It also supports the following conversions:
- iTerm 2 -> alacritty
- [mintty](https://github.com/mintty/mintty) -> alacritty
- [Gogh](https://github.com/Gogh-Co/Gogh) -> alacritty

## Installation
```sh
cargo install colortty
```
## Usage
```sh
colortty - color scheme converter for alacritty
USAGE:
# List color schemes at https://github.com/mbadolato/iTerm2-Color-Schemes
colortty list
colortty list -p iterm
colortty list -u # update cached color schemes
# List color schemes at https://github.com/Gogh-Co/Gogh
colortty list -p gogh
colortty list -p gogh -u # update cached color schemes
# Get color scheme from https://github.com/mbadolato/iTerm2-Color-Schemes
colortty get
colortty get -p iterm
# Get color scheme from https://github.com/Gogh-Co/Gogh
colortty get -p gogh
# Convert with implicit input type
colortty convert some-color.itermcolors
colortty convert some-color.minttyrc
colortty convert some-color.sh
# Convert with explicit input type
colortty convert -i iterm some-color-theme
colortty convert -i mintty some-color-theme
colortty convert -i gogh some-color-theme
# Convert stdin (explicit input type is necessary)
cat some-color-theme | colortty convert -i iterm -
cat some-color-theme | colortty convert -i mintty -
cat some-color-theme | colortty convert -i gogh -"
```
## Development
Install:
```sh
cargo install --path .
```
Build:
```sh
cargo build
```
Test:
```sh
cargo test
```
## License
MIT