#quote #avatar #terminal #last #image #display #airbender

app avatarsay

Beautiful quotes from Avatar: The Last Airbender

2 releases

0.1.1 Sep 30, 2024
0.1.0 Sep 29, 2024

#740 in Text processing

Download history 306/week @ 2024-09-27 42/week @ 2024-10-04 13/week @ 2024-10-11 2/week @ 2024-10-18

363 downloads per month

MIT and LGPL-3.0-or-later

320KB
313 lines

━━━━ ❖ ━━━━



❖ AvatarSay

Beautiful quotes from Avatar: The Last Airbender, right in your terminal

quotes gif

Note:

AvatarSay uses viuer to display the images, but it does not use the sixel feature.

This means it only supports the kitty and iTerm protocols.

AvatarSay was tested on the following terminal emulators:


❖ Requirements

AvatarSay uses AvatarAPI.rs to source the information

As such AvatarAPIBaseURL must be set:

export AvatarAPIBaseURL="http://avatarquotes.xyz/api"

❖ Installation

Shell

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dotzenith/AvatarSay/releases/latest/download/avatarsay-installer.sh | sh

Brew

brew tap dotzenith/tap
brew install avatarsay

Powershell

irm https://github.com/dotzenith/AvatarSay/releases/latest/download/avatarsay-installer.ps1 | iex

Cargo

cargo install avatarsay

Binaries

Pre-Compiled binaries for linux, mac, and windows are available in Releases

Source

  • First, install rust
git clone https://github.com/dotzenith/AvatarSay.git
cd AvatarSay
cargo build --release
./target/release/avatarsay

❖ Usage

Beautiful quotes from Avatar: The Last Airbender

Usage: avatarsay <COMMAND>

Commands:
  random     Get a random quote
  character  Get a quote from a specfic character
  nation     Get a quote from a character from a specfic nation
  bending    Get a quote from a character with specfic bending ability
  episode    Get a quote from a specfic episode
  book       Get a quote from a specfic book
  valid      Get all valid inputs for any given filter above
  help       Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

❖ What's New?

0.1.1 - Initial Release


Dependencies

~14–28MB
~429K SLoC