zhongbai2333

RustEpubReader

zhongbai2333

RustEpubReader is a cross-platform EPUB reader written in Rust, supporting desktop (Windows, Linux, macOS) and Android, with library management, multiple reading modes, appearance customization and LAN book sharing.

v2.0.4
Published at
27d ago
81
Stars
799
Download
Synced at
27d ago

Latest release

v2.0.4Oct 30, 2026, 08:12 AM
Downloads slow? Switch the source anytime above

README

Project Overview

RustEpubReader is a cross-platform EPUB reader written in Rust. The desktop app is built with egui/eframe, while Android bridges the core logic through JNI and builds its UI with Jetpack Compose, sharing one common core library across platforms.

Key Features

  • Library management: automatically records opened books, reading progress and chapter position
  • Reading modes: scrolling and paged modes, with paging animations such as slide, cover, simulation or none
  • Table of contents: a sidebar TOC that can be expanded or collapsed at any time
  • Custom appearance: light or dark themes, with custom background color, font color, background image and opacity
  • Font settings: automatically discovers system fonts and lets you switch font and size
  • Multilingual UI: built-in Simplified Chinese and English interfaces
  • LAN sharing: transfers books between devices via a peer-to-peer protocol with PIN pairing
  • Android support: JNI-bridged core logic with a Jetpack Compose UI

Target Audience

  • Users who read EPUB ebooks across multiple platforms
  • Users who want to customize reading appearance and fonts
  • Users who need to transfer books between devices

Quick Start

  1. Desktop build: run cargo build --release -p rust_epub_reader in the project root
  2. macOS: download the executable from Releases, rename it to RustEpubReader, run chmod +x RustEpubReader, and if needed run xattr -dr com.apple.quarantine RustEpubReader
  3. Android: configure the Android NDK and set sdk.dir, build android-bridge with cargo ndk, and place the .so files into the matching ABI folders under android/app/src/main/jniLibs/
  4. Android packaging: run ./gradlew assembleRelease in the android/ directory

Core Advantages

  • Written in Rust, lightweight and fast
  • Desktop and Android share the same core library
  • Peer-to-peer LAN book transfer without a relay server

System Requirements

  • OS: Windows, Linux, macOS, Android
  • Architecture: macOS ships both Apple Silicon and Intel binaries; Android supports armeabi-v7a, arm64-v8a and x86_64
  • Additional dependencies: Rust toolchain; Android builds need the NDK and cargo-ndk

Notes

  • The Releases page currently provides executables rather than a DMG installer
  • Windows builds embed the app icon automatically and require rc.exe
  • On first launch, if macOS warns about an unidentified developer, allow it in System Settings or clear the quarantine attribute

Release history

Sort