Heb12 CLI for Linux, DOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
486 B

  1. #!/bin/bash
  2. # TODO: Check if ~/.local/share/ exists
  3. echo "Making sure wget, git, and gcc is installed.."
  4. sudo apt install wget git gcc
  5. mkdir ~/.local/share/heb12
  6. mkdir ~/.local/share/heb12/app
  7. cd ~/.local/share/heb12/
  8. git clone --recurse-submodules https://code.heb12.com/heb12/heb12cli app
  9. echo "Download WEB Bible.."
  10. wget https://api.heb12.com/translations/biblec/web.i
  11. wget https://api.heb12.com/translations/biblec/web.t
  12. echo "Compiling app"
  13. cd app
  14. make
  15. ./heb12 -r "John 3 16"