Code Monkey home page Code Monkey logo

librerareader's Introduction

Logo

The development and support of Librera is frozen for an unpredictable time, there is a big war in my country Ukraine. Russian invasion of Ukraine

OFFICIAL FUNDRAISING PLATFORM OF UKRAINE

Librera Reader

Librera Reader is an e-book reader for Android devices; it supports the following formats: PDF, EPUB, EPUB3, MOBI, DjVu, FB2, TXT, RTF, AZW, AZW3, HTML, CBZ, CBR, DOC, DOCX, and OPDS Catalogs

Download application

Librera Reader on Google Play

Librera PRO on Google Play

Librera F-Droid

Beta testing .apk

Application Fonts.zip

Links

web: https://librera.mobi/

What is new/Changes

FAQ

Telegram Info

Telegram Chat

Support/Donations on Patreon

Email: [email protected]

Required build libs

mesa-common-dev libxcursor-dev libxrandr-dev libxinerama-dev libglu1-mesa-dev libxi-dev pkg-config libgl-dev

You also need the Android NDK in version 20+ Please ensure to download it using android studio and add the NDK to your PATH.

Create a keystore

Even if you do not plan to upload a version yourself you need a keystore with a certificate to build. The keystore needs to be in PKCS12 format. You can create a keystore in your actual directory using the following call (replace ALIAS by your alias, it is just a name):

keytool -genkey -v -storetype PKCS12 -keystore keystore.pkcs12 -alias ALIAS -keyalg RSA -keysize 2048 -validity 10000

Now edit or create the file ~/.gradle/gradle.properties and set following values (replacing PASSWD by the password you typed while creating the keystore, ALIAS as before and using the path to your keystore):

RELEASE_STORE_FILE=/PATH/TO/YOUR/keystore.pkcs12
RELEASE_STORE_PASSWORD=PASSWD
RELEASE_KEY_PASSWORD=PASSWD
RELEASE_KEY_ALIAS=ALIAS

Create Firebase Authentication file

To build with firebase support (all version but the ones for Fdroid) you need to get an authentication file for firebase services offered by google. Therefore please follow https://firebase.google.com/docs/android/setup to create your own project. You need to register for the packages com.foobnix.pdf.info and com.foobnix.pdf.reader.a1. This way you will get a google-services.json file that you have to place in the app folder of the repository.

For this project only Analytics is used, so a spakling plan is all you need.

Librera Build on MuPdf 1.21.1 for Android 4.4+

cd Builder
./link_to_mupdf_1.21.1.sh (Change the paths to mupdf and jniLibs folders)
./gradlew assembleLibrera

Librera Build on MuPdf 1.11 for Android 4.0+

cd Builder
./link_to_mupdf_1.11.sh
./gradlew assembleOld

Building for F-Droid for Android 4.4+

If you wish to build for F-Droid (e.g. not using google services, Internet) you can run the build with

cd Builder
./link_to_mupdf_1.21.1.sh
./gradlew assembleFdroid

F-Droid build does also not need a google-services.json

Librera depends on:

MuPDF - (AGPL License) https://mupdf.com/downloads/archive/

  • ebookdroid
  • djvulibre
  • hpx
  • junrar
  • glide
  • libmobi
  • commons-compress
  • eventbus
  • greendao
  • jsoup
  • juniversalchardet
  • commons-compress
  • okhttp3
  • okhttp-digest
  • okio
  • rtfparserkit
  • java-mammoth
  • zip4j

Librera is distributed under the GPL

License

See the LICENSE file for license rights and limitations (GPL v.3).

librerareader's People

Contributors

asereze avatar beckydtp avatar dsklur avatar emmaliddell avatar extreemator avatar fermat2a avatar foobnix avatar ikanakova avatar isira-seneviratne avatar jzyken avatar legogo29 avatar linsui avatar mackeev avatar omerfaruk-cakmak avatar rerbin avatar rlpowell avatar rockmax001 avatar rosalie241 avatar rudloff avatar sak96 avatar shkoda963 avatar stanumarov avatar tacothedank avatar tarkanbulan avatar teemue avatar tepikin avatar valdnet avatar venoom90 avatar vm75 avatar zityi 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.