Build Status Coverage Status

NAME

App::termpub - Epubreader for the terminal

SYNOPSIS

termpub file

DESCRIPTION

termpub aims to be a full features epub reader for the terminal. It supports internal and external links, skips the front matter and will display images with an external viewer. Your reading position will be saved and restored.

Many text movement commands are compatible with less(1).

The text will be hyphenated if the hyphenation patterns from hunspells libhyphen are installed.

OPTIONS

KEY BINDINGS

CONFIGURATION FILE

When termpub is invoked, it will attempt to read a configuration file named .termpubrc in your home directory. If this file does not exist termpub will try to read $XDG_CONFIG_HOME/termpub/termpubrc.

The configuration file consists of a series of commands. Each line may only contain one command. The hash mark is used as a comment character. All text after the comment character to the end of the line is ignored. The file is expected to be utf8 encoded.

The following commands are defined:

INSTALLATION

If you have cpanminus installed, you can simply install this program by calling

$ cpanm .

Otherwise you can build a standalone script with

$ ./build-standalone

and copy the generated script termpub somewhere in your path. In this case you need to installed the dependencies yourself. Termpub depends on the perl modules Mojolicious, Curses and Archive::Zip. On Debian the following command will install these packages.

$ apt-get install libmojolicious-perl libcurses-perl libarchive-zip-perl

COPYRIGHT AND LICENSE

Copyright 2019 Mario Domgoergen <mario@domgoergen.com>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.