Volver al ranking

johnfactotum/foliate

JavaScriptjohnfactotum.github.io/foliate/

Read e-books in style

ebook-readerepubgtkgjsfb2mobiazwazw3cbzopds
Crecimiento de estrellas
Estrellas
8.6k
Forks
409
Crecimiento semanal
Issues
281
5k
may 2019sept 2021feb 2024jul 2026
Artefactosnpmnpm install foliate
README


Foliate

Read books in style.

Screenshot

Installation

Run Time Dependencies

  • gjs (>= 1.82)
  • gtk4 (>= 4.12)
  • libadwaita (>= 1.8; gir1.2-adw-1 in Debian-based distros)
  • webkitgtk-6.0 (webkitgtk6.0 in Fedora; gir1.2-webkit-6.0 in Debian-based distros)

Optional Dependencies

To enable auto-hyphenation, you will need to install hyphenation rules, e.g., hyphen-en for English, hyphen-fr for French, etc. (which strictly speaking are optional dependencies for WebkitGTK, not Foliate itself).

For text-to-speech support, install speech-dispatcher and output modules such as espeak-ng.

If installed, tracker (>= 3; gir1.2-tracker-3.0 in Debian-based distros) and tracker-miners can be used to track the locations of files.

Obtaining the Source

The repo uses git submodules. Before running or installing, make sure you clone the whole thing with --recurse-submodules:

git clone --recurse-submodules https://github.com/johnfactotum/foliate.git 

Or download the tarball (the .tar.xz file) from the Releases page.

Run without Building or Installing

It's possible to run directly from the source tree without building or installing. Simply run

gjs -m src/main.js

This can be useful if you just want to quickly try out Foliate or test a change.

But note that this will run it without using GSettings, so settings will not be saved. To solve this, you can compile the schema by running

glib-compile-schemas data

Then you can set the schema directory when running the app:

GSETTINGS_SCHEMA_DIR=data gjs -m src/main.js

Building and Installing from Source

The following dependencies are required for building:

  • meson (>= 0.59)
  • pkg-config
  • gettext

To install, run the following commands:

meson setup build
sudo ninja -C build install

To uninstall, run

sudo ninja -C build uninstall

Installing to a Local Directory

By default Meson installs to /usr/local. You can install without root permissions by choosing a local prefix, such as $PWD/run:

meson setup build --prefix $PWD/run
ninja -C build install

You can then run it with

GSETTINGS_SCHEMA_DIR=run/share/glib-2.0/schemas ./run/bin/foliate

Flatpak

Foliate is available on Flathub.

For developement with Flatpak, use GNOME Builder to open and run the project.

Snap

Foliate is available on the Snap Store. To install:

sudo snap install foliate

Screenshots

Dark mode

Wikipedia lookup

Book metadata

Annotations

Popup footnote

Vertical writing

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The following JavaScript libraries are bundled in this software:

  • foliate-js, which is MIT licensed.
  • zip.js, which is licensed under the BSD-3-Clause license.
  • fflate, which is MIT licensed.
  • PDF.js, which is licensed under Apache License 2.0.

Buy Me A Coffee

Repositorios relacionados
koreader/koreader

An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices

LuaGNU Affero General Public License v3.0luajitkobo
koreader.rocks
27.9k1.8k
kovidgoyal/calibre

The official source code repository for the calibre ebook manager

PythonPyPIGNU General Public License v3.0ebook-managercalibre
calibre-ebook.com
25.4k2.6k
readest/readest

Readest is a modern, feature-rich ebook reader designed for avid readers offering seamless cross-platform access, powerful tools, and an intuitive interface to elevate your reading experience.

TypeScriptnpmGNU Affero General Public License v3.0ebookebook-reader
readest.com
22.6k1.4k
Anxcye/anx-reader

Featuring powerful AI capabilities and supporting various e-book formats, it makes reading smarter and more focused.

DartMIT Licenseebook-readerflutter
anx.anxcye.com
8.5k576
Librum-Reader/Librum

The Librum client application

C++GNU General Public License v3.0cmakecpp
librumreader.com
5.3k188
dstark5/Openlib

An Open source app to download and read books from shadow library (Anna’s Archive)

DartGNU General Public License v3.0annas-archivebooks
2.4k126
zhangbc/eBooks

eBook分享大集合:主要以IT领域经典书籍收藏,以备不时之需。

GNU Lesser General Public License v3.0itebook-reader
2.1k754
bookorbit/bookorbit

BookOrbit: Your Reading Space

TypeScriptnpmGNU Affero General Public License v3.0library-managementaudiobook-player
bookorbit.app
1.6k120
BasioMeusPuga/Lector

Qt based ebook reader

PythonPyPIGNU General Public License v3.0qtpython
1.5k208
Pool-Of-Tears/Myne

An android app to download & read ebooks from Project Gutenberg, built with Jetpack Compose.

KotlinApache License 2.0androidandroid-app
pool-of-tears.github.io
1.5k94
babluboy/bookworm

A simple ebook reader for Elementary OS

ValaGNU General Public License v3.0bookwormebook-reader
1.4k105
johnfactotum/foliate-js

Render e-books in the browser

JavaScriptnpmMIT Licensecbzepub
johnfactotum.github.io/foliate-js/reader.html
1k235