avatarsay

Crates.ioavatarsay
lib.rsavatarsay
version0.1.1
sourcesrc
created_at2024-09-29 22:51:26.6462
updated_at2024-09-30 01:59:59.17366
descriptionBeautiful quotes from Avatar: The Last Airbender
homepagehttps://github.com/dotzenith/AvatarSay
repositoryhttps://github.com/dotzenith/AvatarSay
max_upload_size
id1391154
size380,228
zenith (dotzenith)

documentation

README

━━━━ ❖ ━━━━



❖ 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


Commit count: 13

cargo fmt