jueljust / OpenReadEra-20.03.26

Copy of OpenReadEra from https://readera.org/en/book-reader (requires account)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The OpenReadEra Project

1. About.

The OpenReadEra Project consists of four independent programs: EraPDF, EraEPUB, EraDjVu and EraMOBI.

- EraPDF: parsing and rendering of PDF docs.
- EraEPUB: parsing and rendering of EPUB, FB2, FB3, DOC, DOCX, ODT, RTF, CHM and TXT docs.
- EraDjVu: parsing and rendering of DJVU docs.
- EraMOBI: parsing and rendering of MOBI, AZW and AZW3 docs.

The programs of The OpenReadEra Project are separate, completely independent programs, they don't using static linking and don't combined into single executable file. They run in different processes of the operating system, don't use dynamic linking, don't use shared memory, and exchange simple types of data only through interprocess communication mechanisms, such as command line arguments, named pipes, and sockets.

2. Build.

To perform build, you need the Android Studio, Android SDK and NDK v20.1. Create new standard Android project, place The OpenReadEra Project sources directory to the "cpp" project sources directory and configure Gradle build. You can build all four programs at once or build only some of them by listing desired programs names in "targets" list.

Sample Gradle configuration for building all four programs at once:

android.defaultConfig.externalNativeBuild.ndkBuild {
    targets 'eradjvu', 'eraepub', 'eramobi', 'erapdf'
    arguments 'APP_STL:=c++_static'
    cFlags '-no-integrated-as'
}
android.externalNativeBuild.ndkBuild {
    path 'src/main/cpp/openreadera/Android.mk'
}

3. Usage.

EraPDF, EraEPUB, EraDjVu and EraMOBI programs initializes operation via CLI and then communicating via named pipes.

Basic principle:
- Create two FIFO pipes.
- Start chosen program binary and pass two created FIFO pipes as CLI arguments.
- Write your requests to first FIFO pipe and read program responses from second FIFO pipe.

4. Licenses.

The programs of The OpenReadEra Project are free software and are distributed under the terms of the open GNU GPL licenses.

You can get acquainted with the copyright notices and licenses of EraPDF, EraEPUB, EraDjVu and EraMOBI programs, and other third-party projects wich they based upon, in the corresponding sources directories of those programs and projects.

Origin address, where you can download this The OpenReadEra Project sources: https://readera.org/book-reader/OpenReadEra

5. Third-party

EraPDF is based on MuPDF, The Common CLI viewer interface Project, The FreeType Project, libjpeg-turbo, jbig2dec, OpenJPEG, orecrop.
EraEPUB is based on CoolReader, The Common CLI viewer interface Project, The FreeType Project, Antiword, chmlib, libjpeg, libpng.
EraDjVu is based on DjVuLibre, The Common CLI viewer interface Project, libjpeg-turbo, orecrop.
EraMOBI is based on Libmobi, The Common CLI viewer interface Project, libjpeg, libpng.

6. Contacts.

If you have any questions, you can contact us at: support@readera.org

About

Copy of OpenReadEra from https://readera.org/en/book-reader (requires account)


Languages

Language:C 79.9%Language:C++ 14.0%Language:Shell 1.7%Language:Assembly 1.3%Language:Makefile 1.0%Language:Python 0.9%Language:Roff 0.7%Language:Awk 0.1%Language:DIGITAL Command Language 0.1%Language:M4 0.1%Language:Perl 0.1%Language:HTML 0.0%Language:Module Management System 0.0%Language:SAS 0.0%Language:WebAssembly 0.0%Language:CMake 0.0%Language:PHP 0.0%Language:Smalltalk 0.0%Language:sed 0.0%