Thanks to visit codestin.com
Credit goes to github.com

Skip to content

izeperson/waifu-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

waifu-cli

prints things in a terminal, kinda cool. built using rust and uses waifu.pics api
waifu-cli

Installation (Arch Linux)

  1. Install an AUR helper, yay for this example.
  2. Run yay -S waifu
  3. Press enter on the prompts and wait for it to build.
  4. After installation is completed, use the waifu command to use the program.

Installation (Other Distros + macOS)

  1. Clone the git repository git clone https://github.com/izeperson/waifu-cli
  2. cd into "waifu-cli"
  3. Run chmod +x run.sh to give executable perms to the sh file
  4. Use sh run.sh or ./run.sh to start setup. (If you are using macOS you will need to manually install rust)
  5. After setup is completed, use the waifu command to use the program.

Usage

Commands:

  -c, --category (name)   Fetch an image from a specific category
  -l, --list              List all available categories
  -s, --stats             Show request performance statistics
  -t, --test              Test API connectivity
  -h, --help              Show the help message

kitty is the preferred terminal due to its ability to display images and animated GIFs.

When running the program it will show a random (SFW) image based on the category you chose.

Images are provided by the waifu.pics API

You can use 's' to save the image (the image will be put in your current directory), 'n' to see another image and enter or 'q' to quit.
example of waifu -c smug

About

prints images :3

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •