You are not logged in.

#1 2014-05-14 03:51:59

jpolcol
Member
Registered: 2014-05-14
Posts: 9

echobible - a bible reader for the command line

The Echo Bible Reader (echobible) is a bible reader written in shell script (GNU Bash) for the command line interface; echobible writes the text of the bible to stdout verse by verse (or by multiple verses at a time). The functionality is interactively driven by hotkeys. For example, the down arrow key writes the next verse to stdout. However, more useful methods of accessing and manipulating the text have been implemented.

Features:
* Concordance
* Dictionary
* Annotation
* Bookmarks
* Quickmarks
* Highlight
* Underline
* Go to any verse/chapter/book quickly, with a single command
* Text-To-Speech
* Autoverse (automatically advance verses)
* Search (words or phrases)
* Print verse(s)/chapter(s)/book(s)/bible to less/file/printer

Documentation:
For additional documentation, see accompanying text files in the git repository.

AUR page:
https://aur.archlinux.org/packages/echobible-git/

Project page:
https://bitbucket.org/jpolcol/echobible

Clone the git repository:
git clone https://bitbucket.org/jpolcol/echobible.git

Screenshot:
GkwAIRa.png

Last edited by jpolcol (2014-05-15 04:33:34)

Offline

#2 2014-05-14 04:38:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: echobible - a bible reader for the command line

Welcome to Arch Linux.  You might consider writing an PKGBUILD for this.  That would put it in our AUR.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2014-05-14 07:05:25

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: echobible - a bible reader for the command line

DWMBible --- nice big_smile
Scripted it for use with dmenu, thank you for this wink

Offline

#4 2014-05-14 16:46:50

jpolcol
Member
Registered: 2014-05-14
Posts: 9

Re: echobible - a bible reader for the command line

Thanks. I will do a pkgbuild soon.

I plan on adding more bibles. I'm looking for any free bible texts that can be formatted and distributed with the program. If anyone knows of any, please let me know.

Your welcome Head_on_a_Stick. How did you script it with dmenu?? I use dmenu and dwm quite a bit.

Offline

#5 2014-05-14 18:36:23

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: echobible - a bible reader for the command line

jpolcol wrote:

If anyone knows of any, please let me know.

http://www.crosswire.org/sword/modules/ … ype=Bibles

I *believe* that all that are listed here are in the public domain or free to use and redistribute.

Offline

#6 2014-05-14 22:03:11

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: echobible - a bible reader for the command line

jpolcol wrote:

Thanks. I will do a pkgbuild soon.

I plan on adding more bibles. I'm looking for any free bible texts that can be formatted and distributed with the program. If anyone knows of any, please let me know.

Your welcome Head_on_a_Stick. How did you script it with dmenu?? I use dmenu and dwm quite a bit.

I just created an executable /usr/bin/bible file:

#!/bin/zsh
cd /home/empty/echobible
exec urxvtc -e ./echobible

It shows up in dmenu as "bible" & opens up an rxvt-unicode client window with your program in it smile
EDIT: in my case the username is "empty" & the shell is zsh wink

Last edited by Head_on_a_Stick (2014-05-14 22:04:21)

Offline

#7 2014-05-14 23:09:46

jpolcol
Member
Registered: 2014-05-14
Posts: 9

Re: echobible - a bible reader for the command line

Thanks for the link skottish. That'll keep me busy! smile

Very nice Head_on_a_Stick! I'll be releasing a dmenu based RSS reader... hopefully soon. I think you'll like it.

Offline

#8 2014-05-14 23:28:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: echobible - a bible reader for the command line

jpolcol wrote:

Thanks for the link skottish. That'll keep me busy! smile

You're welcome. Happy coding!

Offline

#9 2014-05-15 04:37:28

jpolcol
Member
Registered: 2014-05-14
Posts: 9

Re: echobible - a bible reader for the command line

echobible is now on the AUR:
https://aur.archlinux.org/packages/echobible-git/

Is anyone else getting this warning during build:
==> WARNING: Using existing src/ tree

Offline

#10 2014-05-15 23:11:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: echobible - a bible reader for the command line

jpolcol wrote:

Is anyone else getting this warning during build:
==> WARNING: Using existing src/ tree

I've run 'makepkg -s' to build it and now if I built it with 'makepkg -es'

$ makepkg -se
==> Making package: echobible-git r7.2ad322c-1 (Fri May 16 01:07:30 CEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing src/ tree
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "echobible-git"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: echobible-git r7.2ad322c-1 (Fri May 16 01:07:33 CEST 2014)

I'm reusing the source I've already downloaded (cloned).

Offline

#11 2015-11-06 00:53:19

Square
Member
Registered: 2008-06-11
Posts: 435

Re: echobible - a bible reader for the command line

This is excellent! Thank you!


 

Offline

#12 2015-11-06 08:02:03

Chrysostomus
Member
Registered: 2015-09-13
Posts: 64
Website

Re: echobible - a bible reader for the command line

This is one of the coolest projects I have seen!


The difference between reality and fiction is that fiction has to make sense.

Offline

#13 2015-11-06 09:16:31

Chrysostomus
Member
Registered: 2015-09-13
Posts: 64
Website

Re: echobible - a bible reader for the command line

Hmm... that print option looks espcecially interesting. If it separates verses with newline and can be ran noninreractively, one could pipe it into dmenu/pmenu and open selected verse in echobible. Piping whole bible maybe too slow, but single books should be okay. One could make another menu to choose book. Maybe call it dbiblemenu... or something.


The difference between reality and fiction is that fiction has to make sense.

Offline

#14 2015-11-14 18:52:33

mcordv
Member
Registered: 2010-08-03
Posts: 23

Re: echobible - a bible reader for the command line

Hi!! Nice app.... I've this issue:

 /usr/bin/echobible: 962: /usr/bin/echobible: Syntax error: Bad for loop variable 

Can you help me? Thanks for your work

Offline

#15 2015-11-14 21:08:21

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: echobible - a bible reader for the command line

@mcordv:

Is your /bin/sh linked to bash or do you perhaps have dash installed and your /bin/sh pointing to dash?

Offline

Board footer

Powered by FluxBB