Find a file
Huang Xin 3a1bec7f08
feat(opds): restyle catalog selection like the bookshelf (#8212)
* feat(opds): mark selected books as the bookshelf does (owner: "selected check at the bottom right")

The catalog selection from #8174 drew its own mark: a ring around a picked
cover and a check at the top end corner, and nothing on books not yet picked.
It now uses the library's mark (BookItem): a picked cover is dimmed, a blue
check sits at its bottom end corner, and in select mode every book that can
be picked shows an empty circle there. Books that can't be downloaded keep
no mark. List rows carry the mark on their thumbnail, as library list rows
do, in place of the check at the row's end.

The mark uses end-1, not the library's right-1, per DESIGN.md's RTL rule, so
in Arabic it sits at the bottom left.

Test that fails without it: feed-view.browser.test.tsx "marks selection at
the cover's bottom end corner, as the library does" (ltr and rtl) failed
with `expected null not to be null`: no empty mark on a pickable book.

Ran: the OPDS browser suite (8 passed), the 16 OPDS unit files (189
passed), tsc, format:check. biome lint reports only its existing warning
and info in files this doesn't touch. On dev-web with a local catalog, the
OPDS mark measured the same as the library's: 20px, 4px from the cover's
right and bottom edges, rgb(59, 130, 246) picked and rgb(209, 213, 219)
not. Checked the grid, list view, grouped carousel, phone touch long press,
dark mode, e-ink and Arabic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(opds): put the selection controls on the feed title's line (owner: "on the same line of the feed title line on larger screen; for smaller screen put them on a second line")

The catalog's selection controls sat on a row of their own under the feed
title, and "Select Books" kept that row on every feed with downloadable
books. Now:

- Select (with the library's selection icon) ends the title's line at any
  width.
- In select mode, on screens from 640px the count, Cancel and Download take
  its place on the title's line. On a phone they move to a line of their own
  under the title: count at the start, Cancel and Download at the end.
- Cancel and Download wrap as a pair, so in a long language at 360px the
  count moves up a line rather than splitting the buttons.
- "Download Selected" is now "Download", as the count beside it already says
  what is selected. Its key is removed from the 34 locales (i18n:extract
  removed only that key). "Select" and "Download" were already translated.
- The disabled Download (nothing picked yet) is dimmed. btn-contrast keeps
  its colors when disabled; AnkiProfilesPanel dims it the same way.

Tests that fail without it: feed-view.browser.test.tsx "places them by the
screen width" (1024px and 360px). With the old layout and only the labels
renamed, it failed with `expected 62 to be less than 2` (Select 62px below
the title's line). Before the dimming, it failed with `expected 1 to be less
than 0.5` (the disabled Download at full opacity).

Ran: the OPDS browser suite (10 passed), the 16 OPDS unit files (189
passed), tsc, format:check, biome lint on the OPDS files. On dev-web with a
local catalog: 1280px, 390px and 320px, grouped feed, dark mode, e-ink and
Arabic. All 33 other languages at 360px and 320px with no overflow; at
360px 29 fit on one line, German, Dutch, Sinhala and Ukrainian put the
count above the pair, and Tamil's two buttons alone are wider than the
screen, so they stack.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(opds): show the selected count as a check and a number (owner: "save some space for the selected book count with an icon and a number")

The count beside Cancel and Download read "2 selected". It is now a check
icon and the number. "2 selected" stays as its tooltip and as the text a
screen reader announces; the visible number is hidden from screen readers so
the live region says it once.

It frees the width that made long languages wrap on a phone: at 360px and
at 320px every language but Tamil now keeps the count, Cancel and Download
on one line. Tamil's two buttons alone are wider than the screen, so they
still stack.

Test that fails without it: feed-view.browser.test.tsx "places them by the
screen width" failed with `expected '{{count}} selected' to be '1'`; it now
also checks the count stays under 40px wide.

Ran: the OPDS browser suite (10 passed), the 16 OPDS unit files (189
passed), tsc, format:check, biome lint on the OPDS files. On dev-web: 1280px,
390px, 320px, dark mode, e-ink and Arabic, and all 33 other languages at
360px and 320px (no overflow; only Tamil stacks).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 08:48:04 +01:00
.devcontainer fix(docker): fix Docker image latest tag and production runtime errors; add dev compose file, Codespace support, and semver release tagging (#7) (#4277) 2026-05-23 10:39:15 +08:00
.github chore(deps): Bump the github-actions group with 6 updates (#7964) 2026-11-26 06:55:30 +01:00
.husky feat(send): Send to Readest — multi-channel capture into your library (#4230) 2026-05-19 20:06:52 +02:00
.vscode chore: switch code formatter from Prettier to Biome (#4223) 2026-05-19 08:13:36 +02:00
.zed chore: enable setting to let vstls report on the entire codebase (#5098) 2026-07-14 03:50:07 +02:00
apps feat(opds): restyle catalog selection like the bookshelf (#8212) 2026-12-02 08:48:04 +01:00
data release: version 0.12.26 (#8009) 2026-11-26 19:29:53 +01:00
docker feat(stats): reading speed by language over time, synced across devices (#8023) (#8070) 2026-11-29 07:57:49 +01:00
docs/designs feat(reader): Notebook as a linked writing workspace (#5928) 2026-08-28 21:18:17 +02:00
fastlane feat(store): localize the App Store and Google Play listings in 8 languages (#8054) 2026-11-28 16:21:08 +01:00
nix chore(deps): bump localsend to v1.19.0 for the fingerprint, PIN and transfer fixes (#8107) 2026-11-30 14:30:12 +01:00
packages fix(pdf): defer trackpad zoom rendering until the gesture settles (#8175) 2026-12-02 15:18:10 +08:00
patches fix(security): remediate Dependabot dependency alerts (#7248) 2026-11-02 11:50:57 +01:00
scripts ci: guard the e-ink identity whitelist against Rust/Kotlin drift (#6834) 2026-10-15 16:24:52 +02:00
.dockerignore ci: optimize build time for Docker and CI workflows (#4263) 2026-05-22 18:43:33 +02:00
.editorconfig dev: add editorconfig (#206) 2025-01-21 07:18:00 +01:00
.gitignore feat(linux): ship Readest on the tauri CEF runtime (#6074) 2026-09-05 20:09:06 +02:00
.gitmodules chore: remove the packages/tao submodule (#6085) 2026-09-06 06:42:51 +02:00
biome.json fix(nix): get nix devshell working (#4883) 2026-07-04 12:56:21 +02:00
Cargo.cef.lock chore(deps): bump localsend to v1.19.0 for the fingerprint, PIN and transfer fixes (#8107) 2026-11-30 14:30:12 +01:00
Cargo.lock chore(deps): bump localsend to v1.19.0 for the fingerprint, PIN and transfer fixes (#8107) 2026-11-30 14:30:12 +01:00
Cargo.toml chore(linux): catch up the CEF runtime with upstream feat/cef, closes #6397 (#6487) 2026-09-30 04:07:58 +08:00
CODE_OF_CONDUCT.md docs: add contributor code of conduct (#5758) 2026-08-17 10:49:39 +02:00
CONTRIBUTING.md ci: gate outside PRs on a linked issue and agent attribution (#7709) 2026-11-20 14:19:42 +01:00
Dockerfile fix(docker): emit the service worker in the image (#7680) 2026-11-20 17:28:40 +08:00
flake.lock feat: package for nix (#5605) 2026-08-18 18:03:22 +02:00
flake.nix fix(tts): play local AAC narration natively on Linux (#7240) 2026-11-02 08:54:20 +01:00
LICENSE Add AGPLv3 license 2024-11-11 21:25:22 +01:00
package.json ci: guard the e-ink identity whitelist against Rust/Kotlin drift (#6834) 2026-10-15 16:24:52 +02:00
pnpm-lock.yaml fix(auth): sign this device out even when the auth server can't be reached (#7679) 2026-11-20 15:51:26 +08:00
pnpm-workspace.yaml chore(deps): bump next, react and fast-xml-parser for open security advisories (#7583) 2026-11-17 16:05:03 +08:00
README.md fix(import): pick the declared cover when <meta name="cover"> holds an href (#6635) 2026-10-04 20:08:49 +02:00
SECURITY.md docs: add threat model and incident response plan to SECURITY.md (#3788) 2026-04-07 19:17:56 +02:00
tsconfig.json chore: enforce prettier, ignore submodules and vendor files (#3018) 2026-01-21 14:53:02 +01:00

Readest Logo

Readest


Readest is an open-source ebook reader designed for immersive and deep reading experiences. Built as a modern rewrite of Foliate, it leverages Next.js 16 and Tauri v2 to deliver a smooth, cross-platform experience across macOS, Windows, Linux, Android, iOS, and the Web.

Website Web App OS
Discord Reddit AGPL Licence Language Coverage Donate Latest release Last commit Commits Ask DeepWiki

Features • Planned Features • Screenshots • Downloads • Documentation • Getting Started • Troubleshooting • Support • License

Features

Feature Description
Multi-Format Support Support EPUB, PDF, MOBI, KF8 (AZW3), FB2, CBZ, TXT, HTML, MD (Markdown)
Scroll/Page View Modes Switch between scrolling or paginated reading modes.
Full-Text Search Search inside a book or across the current library shelf to find relevant sections.
Annotations and Highlighting Add highlights, bookmarks, and notes to enhance your reading experience and use instant mode for quicker interactions.
Dictionary/Wikipedia Lookup Look up words with built-in sources or import local packs, including Yomitan ZIP/RDICT, from Settings → Custom Dictionaries.
Parallel Read Read two books or documents simultaneously in a split-screen view.
Customize Font and Layout Adjust font, layout, theme mode, and theme colors for a personalized experience.
Code Syntax Highlighting Read software manuals with rich coloring of code examples.
File Association and Open With Quickly open files in Readest in your file browser with one-click.
Library Management Organize, sort, and manage your entire ebook library.
OPDS/Calibre Integration Integrate OPDS/Calibre to access online libraries and catalogs.
Web Page Clipping Open websites, sign in, and clip pages with From Web Browser. From Web Novel can reuse your browser session to import selected chapters and their images.
Translate with DeepL and Yandex From a single sentence to the entire book—translate instantly.
Audiobook Support Extend functionality to play and manage audiobooks.
Text-to-Speech (TTS) Support Enjoy smooth, multilingual narration—even within a single book.
Read-Along Narration Play embedded EPUB 3 Media Overlays with timed highlighting, or pair a reflowable EPUB locally with DRM-free MP3, M4A, or M4B narration. Storyteller remains an option for generating phrase-aligned EPUBs.
Sync across Platforms Synchronize book files, reading progress, notes, and bookmarks across all supported platforms.
Sync with Koreader Synchronize reading progress, notes, and bookmarks with Koreader devices.
Accessibility Provides full keyboard navigation and support for screen readers such as VoiceOver, TalkBack, NVDA, and Orca.
Visual & Focus Aids Reading ruler, paragraph-by-paragraph reading mode, and speed reading features.

Planned Features

🛠 Building | 🔄 Planned
Feature Description
AI-Powered Summarization Generate summaries of books or chapters using AI for quick insights. 🛠
Advanced Reading Stats Track reading time, pages read, and more for detailed insights. 🛠
Handwriting Annotations Add support for handwriting annotations using a pen on compatible devices. 🔄

Stay tuned for continuous improvements and updates! Contributions and suggestions are always welcome—let's build the ultimate reading experience together. 😊

Screenshots

Annotations

TTS

DeepL

Footnote

Wikipedia

Theming Dark Mode


Downloads

Mobile Apps

Download on the App Store     Get it on Google Play

Platform-Specific Downloads

Nix

Note

The Nix package supports x86_64-linux only. nix-darwin is not supported.

Try it without installing. --accept-flake-config opts in to the project's binary cache; without it Nix builds the whole Rust/Tauri stack from source.

nix run --accept-flake-config github:readest/readest

To install it, add the input to your flake.nix:

# Due to a limitation in how Nix fetches submodules, a regular GitHub input type will fail to evaluate.
inputs.readest = {
  url = "https://github.com/readest/readest.git";
  type = "git";
  submodules = true;
};

then in configuration.nix add the package and the cache. The cache is needed here as well because a flake input's own nixConfig does not apply to your system build:

environment.systemPackages = [
  inputs.readest.packages.${pkgs.stdenv.hostPlatform.system}.default
];

nix.settings = {
  substituters = [ "https://readest.cachix.org" ];
  trusted-public-keys = [
    "readest.cachix.org-1:KvKAePcZZCZB8ytFIAOGdgN3VRdmFHGRMHqMVckbt5c="
  ];
};

Documentation

Guides, tutorials, and FAQs for installing and using Readest live in the official documentation:

📖 https://readest.com/docs

Contributor references live in the repository: architecture, code layout, and testing.

Building from Source

To build Readest from the latest commit, see Getting Started.

Troubleshooting

1. Readest Won’t Launch on Windows (Missing Edge WebView2 Runtime)

Symptom

  • When you double-click readest.exe, nothing happens. No window appears, and Task Manager does not show the process.
  • This can affect both the standard installer and the portable version.

Cause

  • Microsoft Edge WebView2 Runtime is either missing, outdated, or improperly installed on your system. Readest depends on WebView2 to render the interface on Windows.

How to Fix

  1. Check if WebView2 is installed
    • Open “Add or Remove Programs” (a.k.a. Apps & features) on Windows. Look for “Microsoft Edge WebView2 Runtime.”
  2. Install or Update WebView2
    • Download the WebView2 Runtime directly from Microsoft: link.
    • If you prefer an offline installer, download the offline package and run it as an Administrator.
  3. Re-run Readest
    • After installing/updating WebView2, launch readest.exe again.
    • If you still encounter problems, reboot your PC and try again.

Additional Tips

  • If reinstalling once doesn’t work, uninstall Edge WebView2 completely, then reinstall it with Administrator privileges.
  • Verify your Windows installation has the latest updates from Microsoft.

Still Stuck?

  • See Issue readest/readest#358 for further details, or head over to our Discord server and open a support discussion with detailed logs of your environment and the steps you’ve taken.

Linux Fails to Launch on Wayland / Niri

Current Linux builds, including Flatpak, use CEF with an X11 window backend. Wayland sessions therefore need XWayland. Without a DISPLAY, older builds exit with Runtime(CreateWindow) before opening a window.

On Niri, install xwayland-satellite 0.7 or later using your distribution's package manager and restart your Niri session. Niri 25.08 and later can start it on demand and set DISPLAY for applications. See Niri's XWayland setup instructions.

From a terminal in that session, check printenv DISPLAY, then launch Readest:

flatpak run com.bilingify.readest

The Flatpak already requests the X11 socket. If you have customized its sandbox permissions, allow that socket as well. Setting DISPLAY to an arbitrary value does not start XWayland; use the value provided by your session. --ozone-platform=wayland cannot enable native Wayland support in this runtime, and WebKitGTK environment variables do not affect CEF.

Contributors

Readest is open-source, and contributions are welcome! Feel free to open issues, suggest features, or submit pull requests. Please review our contributing guidelines and Code of Conduct before you start. We also welcome you to join our Discord community for either support or contributing guidance.

A table of avatars from the project's contributors

Support

If Readest has been useful to you, consider supporting its development at donate.readest.com, where you'll find all available donation methods, including GitHub Sponsors, PayPal, card payments, and crypto. Your contribution helps us fix bugs faster, improve performance, and keep building great features.

Sponsors

License

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

The following libraries and frameworks are used 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.
  • daisyUI, which is MIT licensed.
  • marked, which is MIT licensed.
  • next.js, which is MIT licensed.
  • react-icons, which has various open-source licenses.
  • react, which is MIT licensed.
  • tauri, which is MIT licensed.

The following fonts are utilized in this software, either bundled within the application or provided through web fonts:

Bitter, Fira Code, Inter, Literata, Merriweather, Noto Sans, Roboto, LXGW WenKai, MiSans, Source Han, WenQuanYi Micro Hei

We would also like to thank the Web Chinese Fonts Plan for offering open-source tools that enable the use of Chinese fonts on the web.


Happy reading with Readest!