Created
August 9, 2024 20:21
-
-
Save Sardonyx001/dbb4479302350a31a7ae173555a44efe to your computer and use it in GitHub Desktop.
Grab a random anime girl photo and display it in the terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s https://api.waifu.pics/sfw/waifu \ | |
| jq '.url' \ | |
| xargs wget -nv 2>&1 \ | |
| perl -npe 's/.*"([^"]+)".*/$1/' \ | |
| xargs wezterm imgcat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment