Giter Site home page Giter Site logo

waeilua / ebook-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seasona/ebook-web

0.0 0.0 0.0 6.08 MB

ebook-web is a CLI tool to read epub, mobi, azw3 and txt format ebook easily in your browser

License: MIT License

C++ 91.52% CSS 0.95% HTML 2.16% CMake 5.37%

ebook-web's Introduction

ebook-web

Build Status License

ebook-web is a CLI tool to read epub, mobi, azw3 and txt format ebook easily in your browser

Table of Contents

About The Project

demo

Feature

  • 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

Platform

linux

Built With

g++ 7.5.0 and higher

cmake 3.11 and higher

Getting Started

Prerequisites

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

Installation

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

Usage

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!

License

Distributed under the MIT License. See LICENSE for more information.

ebook-web's People

Contributors

seasona avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.