Crate gigagei

Crate gigagei 

Source
Expand description

§ᎩᎦᎨᎢ rust

ᎩᎦᎨᎢ (IPA: [gigagei]) is a random quote fetching console utility. Written in Rust.

screenshot

§installing

  • use latest pre-built binary from releases
  • use via the flake

§options

Usage: gigagei [-b <backend>] [-l <language>] [-a] [-n] [-j] [-w <wrap-width>]

A random quote fetching console utility

Options:
  -b, --backend     quote fetching API, must be one of: forismatic, hapesire.
                    default is hapesire
  -l, --language    quote language, must be one of: en[glish], ru[ssian].
                    default is en
  -a, --ascii-quotation
                    force ASCII quotation marks
  -n, --no-colors   disables colors
  -j, --json        return quote in JSON
  -w, --wrap-width  wrap width in characters, default is terminal width
  -h, --help, help  display usage information

§building and installing manually

you need Rust to build ᎩᎦᎨᎢ.

cargo build --release

§running

gigagei

Modules§

cli
CLI module.
quote
Quotes API module.

Constants§

CURLY_QUOTES
FORISMATIC_URL
GERMAN_QUOTES
GUILLEMETS
HAPESIRE_URL

Functions§

get_quote_and_print
Prints out the quote and it’s author (if not absent) using Args.