ebook-web is a CLI tool to read epub, mobi, azw3 and txt format ebook easily in your browser
- parse and read epub format ebook
- parse and read mobi, azw3 format ebook
- parse and read txt format ebook
- support create charpter directory of all format ebook
- maintain your local ebook shelf
linux
g++ 7.5.0 and higher
cmake 3.11 and higher
ebook-web is depend on zlib, minizip and libxml2, you can choose to build them through sourse code from the ebook-web or use the system lib installed locally
sudo apt-get install -y zlib1g-dev libxml2-dev libminizip-dev
cd ebook-web/
mkdir -p build && cd build
cmake ../ -DUSE_SYSTEM_LIBS=ON
make
The unit test option is JEBOOK_SERVER_TEST
, if you want to run test, use:
- cmake ../ -DUSE_SYSTEM_LIBS=ON -DJEBOOK_SERVER_TEST=ON
- make -j$(nproc)
- make test
Ebook reading CLI tool
Usage:
./Jebook_server [OPTION...]
-i, --ip arg IP address (default: localhost)
-p, --port arg Port (default: 8089)
-d, --directory arg Ebook output directory (default: ./)
-t, --template arg Web template location (default:
../../web/template.html)
-b, --book arg Ebook location
--help Print help
Generally, you can use ebook-web simply by:
./Jebook_server -b my_book
then open your browser and enter http://localhost:8089/
. You can enjoy reading your ebook now!
Distributed under the MIT License. See LICENSE
for more information.