Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
/ book Public archive

๐Ÿ“– Read ebooks from the comfort of your terminal.

License

Notifications You must be signed in to change notification settings

betapictoris/book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Book CLI Build

Read epubs through the command line.

Warning

Book CLI is considered to be complete and archived.

Book CLI

Installation

From release

curl -LO https://github.com/BetaPictoris/book/releases/latest/download/book    # Download the latest binary.
sudo install -Dt /usr/local/bin -m 755 book                                    # Install Book CLI to "/usr/local/bin" with the mode "755"

Build from source

Dependencies

You need Go (1.19+) installed to build this program. You can install it from your distro's repository using one of the following commands:

# Arch/Manjaro (and derivatives)
sudo pacman -Syu go

# Debian/Ubuntu (and derivatives)
sudo apt install golang-go

Alternatively, you can install it from Go's official website.

Then, to build & install Book CLI run:

git clone [email protected]:BetaPictoris/book.git      # Clone the repository
cd book                                             # Change into the repository's directory
make                                                # Build Book CLI
sudo make install                                   # Install Book CLI to "/usr/local/bin" with the mode "755"

User install

If you don't have access to sudo on your system you can install to your user's ~/.local/bin directory with this command:

install -Dt ~/.local/bin -m 755 book

Usage

NAME:
   book - Read epubs on the command line.

USAGE:
   book [global options] command [command options] [arguments...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   -o value    output path when exporting (default: " ")
   --help, -h  show help

Beta Pictoris