https://github.com/toshimaru/nyan
Colored `cat` command.
https://github.com/toshimaru/nyan
cat go goreleaser
Last synced: about 1 year ago
JSON representation
Colored `cat` command.
- Host: GitHub
- URL: https://github.com/toshimaru/nyan
- Owner: toshimaru
- License: mit
- Created: 2019-07-08T22:19:09.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-12T09:42:29.000Z (almost 2 years ago)
- Last Synced: 2024-07-12T11:11:59.797Z (almost 2 years ago)
- Topics: cat, go, goreleaser
- Language: Go
- Homepage:
- Size: 209 KB
- Stars: 210
- Watchers: 8
- Forks: 12
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/toshimaru/nyan/releases/latest)


[](https://codeclimate.com/github/toshimaru/nyan/maintainability)
[](https://codeclimate.com/github/toshimaru/nyan/test_coverage)
# nyan
Colored `cat` command which supports syntax highlighting.

## Installation
### Homebrew
```console
$ brew install toshimaru/nyan/nyan
```
### go get
```console
$ go get github.com/toshimaru/nyan
```
### go install (requires Go 1.16+)
```console
$ go install github.com/toshimaru/nyan@latest
```
## Usage
```console
$ nyan FILE
```
### Available Options
| Option | Description |
| --- | --- |
| `-h`, `--help` | Show help |
| `-l`, `--language` lang | Specify language for syntax highlighting |
| `-T`, `--list-themes` | List available color themes |
| `-n`, `--number` | Output with line numbers |
| `-t`, `--theme` theme | Set color theme for syntax highlighting |
## Available Color Themes
- abap
- dracula
- emacs
- monokai (default)
- monokailight
- pygments
- solarized-dark
- solarized-light
- swapoff
- vim
You can list and preview available color themes with the command:
```console
$ nyan --list-themes
```

## What is nyan?
`nyan` originates from [Nyan Cat](https://www.nyan.cat/) (Music by [daniwell](https://aidn.jp/about/)).
