Skip to content

Instantly share code, notes, and snippets.

@timsayshey
Last active June 29, 2020 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timsayshey/b0e11850b10f01b3cfa4b75dda4f4e98 to your computer and use it in GitHub Desktop.
Save timsayshey/b0e11850b10f01b3cfa4b75dda4f4e98 to your computer and use it in GitHub Desktop.
Bash Zsh Bible Verse on Open
# 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