Foliate: a GTK4 e-book reader that runs directly from source with gjs

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Linux developers can now study a working GTK4 app written in JavaScript with no build step, making GNOME app development more accessible to those avoiding C or Vala.

Read this as

Foliate is a free e-book reader for Linux that supports formats like EPUB, PDF, MOBI and AZW. Its unusual trait is that it is written in JavaScript and runs directly from its source files, so there is no compilation or installation step, users clone the repository and run one command. It offers bookmarks, search, dictionary lookups and dark mode. The article does not provide download statistics, user counts or performance benchmarks.

Foliate is an open-source Linux e-book reader notable for running directly from source via GJS, the JavaScript bindings for GNOME, requiring no build step. Adoption cost is low since GTK4 and GJS ship with most distros, and Flatpak packages exist. It is useful mainly as a reference for teams evaluating JavaScript as a viable alternative to C or Vala for GNOME desktop development.

Foliate is a GTK4 e-book reader built in JavaScript on GJS, launched via 'gjs -m src/main.js' with no compilation. It uses AdwNavigationView for sidebar navigation and a custom PagoLayout-based rendering engine for pagination and reflow. Extensions such as custom CSS themes install by dropping files into a local directory. No benchmark figures are given; performance claims about fluid scrolling and fast reflow are qualitative.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Foliate GTK4 GJS GNOME EPUB Flatpak Ubuntu

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading