* feat(kosync): support original filename checksums Offer File Name in KOReader Sync settings and use MD5 of the saved original basename, including its extension, matching KOReader's getFileNameDigest. Keep the existing content digest when the original name is unavailable and explain that fallback in settings. Content matching remains the default. Verified: new tests first failed on the missing File Name option and on filename-mode GET/digest assertions returning the content hash. All 35 related tests pass, including exact Unicode/literal names, changed bytes, legacy and ABS fallback, GET/PUT consistency, and settings persistence. Full suite: 1,223 files passed (4 skipped), 14,836 tests passed (16 skipped). TypeScript, Biome lint, formatting and whitespace checks pass. Real web app: selected File Name, reloaded, imported sample-alice.epub, and observed progress GET under its independently calculated filename MD5. Desktop light, phone dark/RTL and tablet e-ink screenshots were checked. Browser progress upload was inconclusive; GET/PUT identity is unit-tested. No physical XTEINK/KOReader device or native app was exercised. Development servers were stopped by the harness under memory pressure after testing. Reported by kigrup on GitHub (#7118). Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(kosync): pull again after switching checksum method Reset pull and conflict-resolution state when checksum method changes so filename-keyed progress is checked before automatic uploads resume. Reject queued pushes captured under the previous method. Unrelated settings edits retain the previous pull state. Verified: two hook regressions first failed because changing checksum method made no new GET. Resetting the pull alone also exposed a stale queued upload; the old-method guard fixes that assertion. All 51 related hook/client/settings tests pass, as do TypeScript and Biome lint. Full suite runs in pre-push. Also executed KOReader's actual getFileNameDigest and splitFilePathName source functions with its ffi/sha2.lua under its bundled Linux LuaJIT. All four vectors match Readest: My Book.epub, a Unicode/percent/uppercase-extension basename, a literal-backslash POSIX basename, and sample-alice.epub. KOReader source revision: 51db00155ce4ff5a1cd7aded0e95efd9102da588. Native/device UI was not exercised; development servers remain stopped. Reported by kigrup on GitHub (#7118). Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(kosync): discard pending work after checksum changes Invalidate pending pulls, conflict previews, position conversions and uploads when the checksum method changes. Clear the previous conflict immediately; old continuations cannot navigate or release automatic uploads for the new identity. Unrelated settings changes retain the existing sync state. Verified: delayed-response regressions first failed because an old empty GET changed conflict to synced, an old preview replaced the new conflict, and an old conversion navigated the reader. A delayed upload conversion also failed before its guard. All 56 related hook/client/settings/provider tests pass. TypeScript, Biome lint, formatting and whitespace checks pass. The complete suite runs in the required pre-push hook. Native/device UI was not exercised; development servers remain stopped after host memory pressure. Reported by kigrup on GitHub (#7118). Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(kosync): discard stale converted position before caching Capture the checksum generation before converting a position and reject a stale result before it writes the fallback XPointer cache. Verified: the pending upload conversion test first failed because the cache changed from empty to the old XPointer after a checksum-method switch. It now passes with all 56 related hook/client/settings/provider tests. TypeScript, Biome lint, formatting and whitespace checks pass. Full suite runs in the required pre-push hook. Native/device UI was not exercised; development servers remain stopped after host memory pressure. Reported by kigrup on GitHub (#7118). Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(kosync): use title filename fallback (owner: use a {title}.{ext} as the filename) When File Name is selected, hash the saved original filename or synthesize {title}.{ext} from the current title and lowercase format extension. Update the settings explanation. File Content retains its existing digest behavior. Verified: four checks failed before the change: two legacy filename digest cases, the progress GET digest and the settings explanation. All 57 related hook/client/settings/provider tests now pass, covering GET/PUT consistency, Unicode titles, original filename precedence and File Content ABS behavior. TypeScript, Biome lint, formatting and whitespace checks pass. Full suite runs in the required pre-push hook. Native/device UI was not exercised; development servers remain stopped after host memory pressure. Reported by kigrup on GitHub (#7118). Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(kosync): order pulls after pending progress uploads Serialize progress uploads and wait for pending writes before pulling a new checksum identity. Recheck generation before starting a queued upload or pull, so a checksum switch discards queued work from the previous method. This preserves request ordering for servers that alias document hashes. Verified: two hook regressions failed before implementation because a new pull overtook an active upload and two uploads ran concurrently. All 59 related hook/client/settings/provider tests pass after the fix. TypeScript, Biome lint, formatting and whitespace checks pass. Full suite runs in the required pre-push hook. CrossPoint's writeDeviceProgress and progress GET source confirm canonical document mapping; no live server/device was tested. Development servers remain stopped after host memory pressure. Reported by kigrup on GitHub (#7118). Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(kosync): shorten filename tip (owner: Remove the last sentence.) Keep only the sentence describing the original filename and extension. The title-and-extension fallback behavior is unchanged. Verified: the component test first failed to find the shortened tip, then both settings tests passed after the text change. Full checks run through the required pre-push hook. The app was not relaunched after development servers were stopped for host memory pressure. Reported by kigrup on GitHub (#7118). Co-Authored-By: Claude Code <noreply@anthropic.com> * fix(kosync): reset sync when a title fallback digest changes Subscribe to the current book and track its effective document digest. Reset pull and conflict state when that digest changes, including legacy-book title edits in filename mode. Discard pending work and queued pushes from the prior digest. Stable digests do not repull after a title edit. Verified: two title-edit regressions failed before implementation because no new GET was made and the new identity remained checking. All 63 related hook/client/settings/provider tests pass, including binary/original-filename stable-identity controls. TypeScript, Biome lint, formatting and whitespace checks pass. Full suite runs in the required pre-push hook. Native/device UI was not exercised; development servers remain stopped for host memory pressure. The separate iOS filename decoding defect is tracked in #7257. Reported by kigrup on GitHub (#7118). Co-Authored-By: Claude Code <noreply@anthropic.com> --------- Co-authored-by: Claude Code <noreply@anthropic.com> |
||
|---|---|---|
| .devcontainer | ||
| .github | ||
| .husky | ||
| .vscode | ||
| .zed | ||
| apps | ||
| data | ||
| docker | ||
| docs/designs | ||
| fastlane | ||
| nix | ||
| packages | ||
| patches | ||
| scripts | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .gitmodules | ||
| biome.json | ||
| Cargo.cef.lock | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| SECURITY.md | ||
| tsconfig.json | ||
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.
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
| 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
Downloads
Mobile Apps
Platform-Specific Downloads
- macOS / iOS / iPadOS : Search and install Readest on the App Store, also available on TestFlight for beta test (send your Apple ID to readestapp@gmail.com to request access).
- Windows / Linux / Android: Visit and download Readest at https://readest.com or the Releases on GitHub.
- Linux users can also install Readest on Flathub.
- Web: Visit and use Readest for Web at https://web.readest.com.
Nix
Note
The Nix package supports
x86_64-linuxonly. 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:
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
- Check if WebView2 is installed
- Open “Add or Remove Programs” (a.k.a. Apps & features) on Windows. Look for “Microsoft Edge WebView2 Runtime.”
- 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.
- 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.
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.





