A simple and modern GTK eBook viewer, built with GJS and Epub.js.
Website: https://johnfactotum.github.io/foliate/
- 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
For Arch Linux users, two packages are available on the AUR: foliate
(stable version), foliate-git
(Git version)
For Void Linux users, foliate is available in Void's official repository. Install using xbps: xbps-install -S foliate
Note:xbps will not install gjs dependency. Install it with: xbps-install -S gjs
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
You will need the same dependencies listed in this section.
The following commands will build Foliate and install it inside a directory:
meson build --prefix=$PWD/fakeprefix
ninja -C build
ninja -C build install
GSETTINGS_SCHEMA_DIR=$PWD/fakeprefix/share/glib-2.0/schemas ./fakeprefix/bin/com.github.johnfactotum.Foliate
Dictionary:
Annotations:
Find in book:
Dark mode:
Book metadata display:
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