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

https://github.com/arsham/rainbow

Tasty rainbows for your terminal! (lolcat clone)
https://github.com/arsham/rainbow

go golang lolcat terminal-app

Last synced: 4 months ago
JSON representation

Tasty rainbows for your terminal! (lolcat clone)

Awesome Lists containing this project

README

          

# Rainbow

[![PkgGoDev](https://pkg.go.dev/badge/github.com/arsham/rainbow)](https://pkg.go.dev/github.com/arsham/rainbow)
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/arsham/rainbow)
[![Build Status](https://github.com/arsham/rainbow/actions/workflows/go.yml/badge.svg)](https://github.com/arsham/rainbow/actions/workflows/go.yml)
[![Coverage Status](https://codecov.io/gh/arsham/rainbow/branch/master/graph/badge.svg)](https://codecov.io/gh/arsham/rainbow)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/9d181f84a8ab4ab3a07201e37d9a218b)](https://www.codacy.com/app/arsham/rainbow?utm_source=github.com&utm_medium=referral&utm_content=arsham/rainbow&utm_campaign=Badge_Grade)
[![Go Report Card](https://goreportcard.com/badge/github.com/arsham/rainbow)](https://goreportcard.com/report/github.com/arsham/rainbow)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Tasty rainbows for your terminal like these:

![Screenshot](/docs/rainbow.png?raw=true "Rainbow")

This app was inspired by lolcats, but written in Go.

### Table of Contents

1. [Installation](#installation)
2. [Usage](#usage)
3. [As library](#as-library)
4. [See Also](#see-also)
5. [License](#license)

## Installation

You can download the latest binary from
[here](https://github.com/arsham/rainbow/releases), or you can compile from
source:

```bash
go install github.com/arsham/rainbow@latest
```

## Usage

You can pipe the text into the app in many ways. Choose one that is suitable for
you:

```bash
# File contents:
rainbow < filename.txt

# Echo a string:
echo "Any quotes" | rainbow

# Here string:
rainbow <