textchat is a terminal chat cli.
Simple example is below.
$ textchat Hello
.------. .---------.
| 福本 | < hello |
`------' `---------'
$ textchat -r Hello
.---------. .------.
| Hello > | 野中 |
`---------' `------'
You can set icon AA file.
$ textchat -i testdata/block.txt Hello
.-----. .--------------.
| 123 | < こんにちは |
| 456 | `--------------'
| 789 |
`-----'
You can set a chat text from stdin.
$ seq 5 | textchat
.------. .-----.
| 村田 | < 1 |
`------' | 2 |
| 3 |
| 4 |
| 5 |
`-----'
You can set a your name.
$ textchat -n jiro こんにちは
.------. .--------------.
| jiro | < こんにちは |
`------' `--------------'
Other examples.
$ textchat -i <(cat testdata/block.txt) Hello world
$ textchat -w 100 -r Right
go get github.com/jiro4989/textchat
or
Download binary from Releases.
go version go1.12 linux/amd64
You run below.
make build
You run below if you want to do cross compiling.
make bootstrap
make xbuild
You run below.
make test
textchat is a terminal chat cli.
Usage:
textchat [options]
textchat [options] <word>...
textchat -h | --help
textchat -v | --version
Options:
-h --help Show this screen.
-v --version Show version.
-r --right Say word on the right side.
-i --icon=<textfile> Set icon AA file.
-w --width=<width> Set chat screen width. [default: 80]
-p --pad=<pad> Padding string. [default: ]
-n --name=<name> Set speakers name.