Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

foliate

> 编程语言
Open source

Read e-books in style

8.6K stars0 likes3 views
WebsiteGitHub

About

Read e-books in style



Foliate

Read books in style.

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:

bash
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:

bash
meson setup build
sudo ninja -C build install

To uninstall, run

bash
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:

bash
sudo snap install foliate

Screenshots

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.

Issues· 321 open

View all issuesOpen on GitHub
  • #1719

    <ctrl>c does not copy the selection (the selection popover Copy button works)

    Updated Sep 29, 2026
  • #1718

    pixelated zoom in PDF files

    bugUpdated Sep 21, 2026
  • #1717

    Add possibility to open markdown files directly

    enhancementUpdated Sep 16, 2026
  • #1707

    Content overflows/shifts right after navigating back, in both paginated and continuous scroll mode

    bugUpdated Sep 15, 2026
  • #1716

    The font that I liked has bugs with displaying

    bugUpdated Sep 14, 2026
  • #1708

    Reopen Book

    bugUpdated Sep 8, 2026
  • #1106

    Memory leaks

    bugUpdated Sep 1, 2026
  • #1712

    One specific epub not working

    bugUpdated Aug 28, 2026
  • #1623

    Import multiple books or folder

    enhancementUpdated Aug 26, 2026
  • #1710

    When navigating to next page, outline jumps to weird position

    bugUpdated Aug 21, 2026

> Tags

JavaScriptazwazw3cbzebook-reader

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言