Skip to content
Proyek

Tentang

Cross-platform ebook manager and Kindle companion: local library, EPUB/PDF/AZW3 reader, bidirectional highlight & annotation sync with Kindle over USB, Calibre conversion, S3/WebDAV sync. Built with Avalonia (.NET).

Desain dan media

Cara angka ini diukur

Yang dapat Anda lakukan

  • Kreader — Open EPUB, PDF, and DRM-free AZW3 in the app; AZW3 uses the built-in KF8 reader without Calibre. Paginated or scrolling reading, table of contents, bookmarks, search, annotations, typography settings, reading progress, and read-aloud on Windows, Linux, and macOS (Linux requires mpv, ffplay, VLC, or GStreamer; macOS uses the built-in afplay).
  • AI assistant — Ask questions about the current book, summarize chapters, explain selections, and choose from discovered models through DeepSeek, OpenAI, or compatible endpoints. Requests use relevant local excerpts only.
  • Kindle — Detect USB/WPD/MTP devices, transfer books, manage fonts and dictionaries, and import My Clippings.txt.
  • Tools and sync — Calibre conversion, encrypted local backups, protected credentials, and cross-device sync with your own S3 / WebDAV or iCloud on iPhone, iPad, and macOS.

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
+3
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Libzora

Release Latest release

Official website

简体中文 · English

Libzora is a quiet, cross-platform ebook and Kindle manager built with Avalonia. It combines a local library, reading, annotations, AI assistance, format conversion, and Kindle transfer in one desktop app.

Libzora library on macOS with six public-domain books

The preview is captured from the macOS app and shows six public-domain books from the local public-domain collection using the English app UI.

Platform status

Platform Status Notes
Windows ✅ Released Testing and bug fixes in progress
macOS ✅ Released Testing and bug fixes in progress
iOS 🚧 In development Initial version in development
Android 🚧 In development Initial version in development
Linux ⏳ Pending testing Full testing not yet done

Features

  • Library — Import EPUB, PDF, MOBI, AZW3, and TXT; TXT encoding and chapter/volume headings are detected automatically and converted to EPUB without Calibre. Manage metadata, covers, tags, collections, search, and reading status. When a book with the same title is imported, choose to add the format, keep it separately, or skip; deleted content goes to a recoverable trash first.
  • Kreader — Open EPUB, PDF, and DRM-free AZW3 in the app; AZW3 uses the built-in KF8 reader without Calibre. Paginated or scrolling reading, table of contents, bookmarks, search, annotations, typography settings, reading progress, and read-aloud on Windows, Linux, and macOS (Linux requires mpv, ffplay, VLC, or GStreamer; macOS uses the built-in afplay).
  • PDF reading — First-page library covers, continuous scrolling, single-page and two-page reading, fit-width/page controls, sharp zoom and 90° rotation. Supports selectable text, six underline/highlight styles, editable comments, and page annotations at arbitrary PDF positions through the page-note icon or right-click. Pages appear before full-book text indexing finishes; only visible regions are rendered at the screen's pixel density. Search, bookmarks and reading position use the same local reading data as EPUB. Scanned pages support viewing and page notes; OCR is not included.
  • AI assistant — Ask questions about the current book, summarize chapters, explain selections, and choose from discovered models through DeepSeek, OpenAI, or compatible endpoints. Requests use relevant local excerpts only.
  • Kindle — Detect USB/WPD/MTP devices, transfer books, manage fonts and dictionaries, and import My Clippings.txt.
  • Tools and sync — Calibre conversion, encrypted local backups, protected credentials, and cross-device sync with your own S3 / WebDAV or iCloud on iPhone, iPad, and macOS.

Download

Download the latest Windows, Linux, or macOS package from the official site; it automatically selects the latest stable release.

Backup download: GitHub Releases.

Calibre is required separately for format conversion. Official GitHub releases provide Windows, Linux, and macOS packages. macOS builds support macOS 12 or later on Intel and Apple Silicon; when Apple distribution credentials are not configured, the DMG is ad-hoc signed and the first launch needs the Gatekeeper steps in docs/macos-adhoc-install.md.

The Settings → Diagnostics page checks the data directory, PDF parser, WebView, Calibre, TTS, and Kindle services, and is the first place to look for cross-platform issues. The library trash can restore a deleted book or a single format, and permanently purge items after confirmation; trash contents are included in local backups.

Cross-device sync

Sync books, reading progress, bookmarks, and annotations with your own S3 / WebDAV storage, or use iCloud on iPhone, iPad, and macOS.

Choose S3 or WebDAV in Settings → Data & sync → Cloud sync, enter your own connection details, and select Save settings. Books and snapshots transfer directly between the client and your storage. Both providers retain their own addresses and credentials. Manual, startup, exit, and scheduled sync use the saved selection.

On iPhone, iPad, or Mac, choose iCloud to use iCloud Drive without entering a server address or password. Enable iCloud Drive on each device and use the same Apple Account, data region, path prefix, and encryption key. Updates may take a little while to reach your other devices.

For WebDAV, enter the URL of an existing directory, such as https://dav.example.com/dav/, and credentials if required. Some services require an app password. Libzora creates a sync subdirectory named libzora by default; change it in Advanced options. The connection test verifies read/write access and removes its test file. The server must support standard PROPFIND, MKCOL, GET, PUT, MOVE, and DELETE operations. Completed uploads are published with MOVE so interrupted transfers do not replace existing snapshots.

The sync subdirectory, encryption, scheduling, and transfer options are shared between providers within each region. Devices syncing the same directory need the same encryption key; use a new subdirectory when changing keys. Connection profile exports include only the selected provider's credentials. Existing .libzora-s3.json profiles remain supported; WebDAV profiles use .libzora-webdav.json.

Every .libzora data backup is encrypted with the locally configured sync key, including books, reading records, and library metadata. Import and export first prompt you to set that key if it is missing, even when cloud sync is disabled. To restore on another device, configure the original key before importing. Backups exclude passwords, session credentials, and the key itself. The key is never uploaded or recovered by the server; forgetting it makes existing encrypted data unreadable. Older plaintext backup files are rejected. See encrypted backup details.

Public-domain test books

The 公版书 folder contains the six EPUBs shown in the screenshots. Download and import them to test the library, reading, annotations, and Kindle transfers. Sources and SHA-256 checksums are included.

Run from source

Requires the exact .NET SDK 10.0.400 pinned by global.json.

Windows (PowerShell):

dotnet restore Libzora.sln -p:Platform=x64
dotnet build Libzora.sln -p:Platform=x64
dotnet test Libzora.sln --no-build -p:Platform=x64
# Run the slow regression suite explicitly before a release
dotnet test Libzora.sln --no-build -p:Platform=x64 -p:RunSlowTests=true
dotnet run --project src\Libzora.Desktop.Windows\Libzora.Desktop.Windows.csproj -p:Platform=x64

macOS:

dotnet build src/Libzora.Desktop.MacOS/Libzora.Desktop.MacOS.csproj
dotnet test tests/Libzora.Tests/Libzora.Tests.csproj
dotnet run --project src/Libzora.Desktop.MacOS/Libzora.Desktop.MacOS.csproj

Linux uses the same commands with Libzora.Desktop.Linux in place of Libzora.Desktop.MacOS.

Build a macOS app bundle for either architecture:

# Apple Silicon
bash scripts/build-macos-release.sh 1.1.3 artifacts/macos osx-arm64
# Intel
bash scripts/build-macos-release.sh 1.1.3 artifacts/macos osx-x64
# Universal (one package for both architectures)
bash scripts/build-macos-release.sh 1.1.3 artifacts/macos osx-universal

Every command works on either architecture: the bundled libmtp and libusb are built from source for the target (cross-compiled with the macOS SDK when it differs from the host), so an Intel Mac can produce the arm64 package and vice versa. CI uses macos-26 for Apple Silicon and macos-15-intel for Intel, both pinned to Xcode 26.3; the ARM64 host image also matches the Icon Composer toolchain requirements.

osx-universal produces a single Libzora.app that starts natively on both Intel and Apple Silicon. A self-contained .NET publish contains architecture-specific native and ReadyToRun assemblies that cannot be combined into one file set, so the bundle carries both complete payloads under Contents/MacOS/x86_64 and Contents/MacOS/arm64 and a universal launcher execs the matching one. Expect roughly twice the download size of a single-architecture package.

The default test run skips expensive UI, rendering, and GC-stress cases while keeping core, platform, device, and a small UI smoke set. The skipped tests remain in the repository and can be enabled with RunSlowTests=true.

Linux also requires WebKitGTK and Secret Service. See cross-platform notes for platform packages and signing details. Mobile heads live in Libzora.Mobile.sln; see mobile notes for workloads and simulator commands.

Referenced technologies

Code contributors

Thank you to the developers who have submitted code and improvements to Libzora:

  • sonianmu (Mutro)

Acknowledgments

  • Community: LINUX DO
  • Public-service site: any

License

GPL-3.0 License. Third-party components and bundled fonts retain their own licenses.

See third-party notices and the license/source distribution maintenance guide.

Jelajahi proyek terkait

Memuat…