Last active
June 29, 2020 15:34
-
-
Save timsayshey/b0e11850b10f01b3cfa4b75dda4f4e98 to your computer and use it in GitHub Desktop.
Bash Zsh Bible Verse on Open
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
# Requires bash tool jq for json parsing - brew install jq | |
# Random Bible Verse | |
# https://beta.ourmanna.com/api/v1/get?format=json&order=random | |
# https://beta.ourmanna.com/api/v1/get?format=json | |
curl --max-time 2 -s https://beta.ourmanna.com/api/v1/get\?format\=json\&order\=random \ | |
| jq --raw-output '"👉 ",.verse.details.text," - ",.verse.details.reference," 💯 "' | tr -d '\n' | |
echo | |
echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment