GitXplorerGitXplorer
t

tunasay

public
4 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
be8f34d7ef01cb50c6ad5fc8b5ac5f09788296d2

add credit to readme

xxavieryao committed 8 years ago
Unverified
01d877f52cb289e3e0202db32cbb45e97502c1e5

update readme

xxavieryao committed 8 years ago
Unverified
74f8e4fe65f6e057bffc2da96c60ec536601a428

Merge branch 'master' of github.com:xavieryao/cowsay

xxavieryao committed 8 years ago
Unverified
637c38677027088003ee552ea4d77fa710bacb92

Calculate padding using string-width library

xxavieryao committed 8 years ago
Unverified
d1489866b9f487a8e79db01482a1d5c95a854380

add balloon offset

xxavieryao committed 8 years ago
Unverified
2f1a4cb6adf33d0c3de455fe215050ce818892f2

add tuna.cow

xxavieryao committed 8 years ago

README

The README file for this repository.

tunasay

npm

tunasay is a fork of nodejs version of cowsay, the nodejs translation of cowsay. The original version of cowsay was written in Perl by Tony Monroe. In general, tunasay provides a configurable talking tuna.

tunasay provides two new ASCII arts created by @dotkrnl to the original cowsay and added a new option -o, balloon padding.

Usage

tunasay "TUNA Rocks!"
                               _____________
                              < TUNA Rocks! >
                               -------------
                 _ _ ___         〇
             __-         `-_    o
         ___/__        〇   \ 。
     - '     _/             /
   '      _ '             /
 / _- ---            __ -
/`     |          _ / \  \
       |       -       \ |
        \    /          V
          \  |
            \ \
              \

Advanced usage:

tunasay -W 7 "苟利国家生死以岂因祸福避趋之"  | lolcat

-W option indicates that the text should be wrapped at the 7th character.

tunsay

Install

npm install -g tunasay

Pipe from standard input

echo please repeat | tunasay