Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/traviscampbell/gocat

Gocat just sits around getting schwifty on Nip all day, because it makes his world a more colorful place. (a.k.a. colorized cat using Chroma for highlighting)
https://github.com/traviscampbell/gocat

chroma go golang highlighting nip terminal

Last synced: 2 months ago
JSON representation

Gocat just sits around getting schwifty on Nip all day, because it makes his world a more colorful place. (a.k.a. colorized cat using Chroma for highlighting)

Awesome Lists containing this project

README

        

# GoCat

![](img/usage.png)

GoCat just sits around with his homies from the [Chroma](https://github.com/alecthomas/chroma) package getting schwifty on Nip, and then endlessly raving about how it's made his life soo much more colorful...

I guess another way to think about it would be to say it's just a colorized version of cat, that uses the Chroma package for highlighting.

Attempts have been made to override fallback style/lexer with the intent that everyfile gocat'd should have at least something highlighted in it. Whether the highlighting is in anyway useful is, just like your opinion man. On that note, other attempts were made to try and normalize/tweak how the styles are rendered in the terminal.

---

## Install

```shell
$> go get github.com/traviscampbell/gocat
```

## Usage

Should function like the `cat` command, provide file(s) as argument or use '-' to signify shit is on stdin.

![](img/example.png)