38

GitHub - johnfactotum/foliate: A simple and modern GTK eBook reader

 4 years ago
source link: https://github.com/johnfactotum/foliate
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

com.github.johnfactotum.Foliate.svg?sanitize=true

Foliate

A simple and modern GTK eBook viewer, built with GJS and Epub.js.

View

Website: https://johnfactotum.github.io/foliate/

Features

  • View EPUB files
  • Two-page view and scrolled view
  • Customize font and line-spacing
  • Light, sepia, dark, and invert mode
  • Reading progress slider with chapter marks
  • Bookmarks and annotations
  • Find in book
  • Quick dictionary lookup
  • Touchpad gestures: use two-finger swipe to turn the page (on master branch; not released yet)

Installation

Flatpak

Download on Flathub

Distribution packages

For Arch Linux users, two packages are available on the AUR: foliate (stable version), foliate-git (Git version)

Install manually from source

First, you'll need the following dependencies:

  • gjs
  • webkit2gtk
  • libsoup
  • meson

Then run the follwing commands:

meson build --prefix=/usr
cd build
ninja
sudo ninja install

To uninstall, run

sudo ninja uninstall

Screenshots

Dictionary:

Lookup

Annotations:

Note

Annotations

Find in book:

Find

Dark mode:

Dark

Book metadata display:

About


Note: three JavaScript libraries are bundled in this software:

  • Epub.js, which is licensed under FreeBSD. The included file is patched to fix futurepress/epub.js#942
  • The minified version of JSZip, which is dual-licensed. You may use it under the MIT license or the GPLv3 license. See LICENSE.markdown
  • A browserified version of Cheerio, which is licensed under MIT. Cheerio is used to parse and extract data from Wiktionary

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK