Preserve IDPF font deobfuscation on LAN HTTP origins where browsers do not expose SubtleCrypto. Verify that both hash paths recover the original font bytes. Closes #2397 |
||
|---|---|---|
| .github | ||
| .husky | ||
| client | ||
| docker/postgres | ||
| docs | ||
| koreader-plugin | ||
| packages | ||
| patches | ||
| scripts | ||
| server | ||
| workers/read-aloud | ||
| .dockerignore | ||
| .editorconfig | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| ADDITIONAL_TERMS.md | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| codecov.yml | ||
| commitlint.config.cjs | ||
| CONTRIBUTING.md | ||
| crowdin.yml | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| NOTICE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| release.config.js | ||
| tsconfig.base.json | ||

BookOrbit
A self-hosted library and reading platform for ebooks, PDFs, audiobooks, and comics.
Overview • Live Demo • iOS & Apple Watch • Features • Quick Start • Managed Hosting • KOReader • Docs
📚 What is BookOrbit?
BookOrbit organizes your books and lets you enjoy them anywhere: on iPhone, iPad, Apple Watch, Android, the web, Kobo, or KOReader. Your reading progress, highlights, and status stay synchronized, so you can start a chapter in one place and continue in another.
Around that core sit read-along books built from an ebook and its audiobook, book requests that download and file new titles for you, a spoiler-free AI reading companion, 12 metadata providers, reading statistics and achievements, OPDS and Send-to-Kindle delivery, multi-user accounts with OIDC/SSO, and automatic sync out to Hardcover, Readwise, and StoryGraph. All of it runs on infrastructure you control.
🚀 Live Demo
Try the live instance before you install. No account required.
Note: The demo includes a sample library of public domain books. Some administrative features are limited in the public demo. Self-hosting BookOrbit provides the full experience.
📱 BookOrbit for iPhone and Apple Watch
Take your library anywhere with the official native BookOrbit app. Read ebooks, PDFs, and comics; stream or download audiobooks; use text to speech; and keep reading offline. The app connects directly to your self-hosted BookOrbit server, while Apple Watch brings downloaded audiobooks and synchronized playback progress to your wrist.
Requires BookOrbit v3.0.0 or later and iOS 26 or later. Apple Watch features require watchOS 26 or later.
✨ Features
Reading Experience & Sync
- Built-in Web Readers: Ebooks (EPUB, KEPUB, MOBI, AZW3, AZW, FB2), PDFs and DjVu, comics (CBZ, CBR, CB7), and audiobooks (M4B, MP3, M4A, OPUS, OGG, FLAC), with no extra plugins required.
- Native iPhone, iPad, Apple Watch & Android Apps: Read, listen, download, upload, and synchronize with your BookOrbit server from native, offline-capable apps for iPhone, iPad, and Android. Send audiobooks to Apple Watch for independent offline playback and later progress reconciliation.
- Four-Way Sync (Kobo + KOReader + Web + Mobile Apps): Progress and annotations flow bidirectionally between Kobo devices, KOReader, the BookOrbit web reader, and the mobile apps. Pick up on any surface where you left off on another, including highlights and deletions.
- Read-Along Books: Turn an EPUB and its audiobook into one synchronized read-along, so you can listen on a walk and carry on reading from the same sentence that evening, with each word highlighted as it is spoken. Your place stays in step across the web reader, the apps, Kobo, and KOReader, and books without audio can be read aloud by a text-to-speech voice.
- Spoiler-Free Reading Companion: Back in a long novel after a break? The mobile apps recap the story so far, remind you who a character is, and answer your questions using only the pages you have already read. It runs on the AI provider you choose (OpenAI, Anthropic, Gemini, OpenRouter, or a local Ollama, LM Studio, or vLLM) with a monthly spending cap, and stays off until an admin turns it on.
- KOReader Plugin: An on-device catalog browser with search, download, and status and rating management, alongside full progress and annotation sync.
- Annotations & Highlights: Highlights from the web reader, the mobile apps, KOReader, and Kobo merge into one searchable hub. Filter by color, style, and source; export as Markdown, CSV, or JSON.
- Hardcover, Readwise & StoryGraph Sync: Push status, progress, reading dates, and ratings to Hardcover on configurable triggers; status and progress to The StoryGraph; and new highlights and notes to Readwise as you create them, from both the web reader and synced devices. Hardcover read history can be pulled back to backfill blank BookOrbit entries.
- Statistics, Goals & Achievements: Daily reading time, heatmaps, streaks, and library health, plus yearly goals, monthly challenges, and 80+ achievements across five categories, plus a history of every finished read and reread. Reading DNA profiles your reading style from your actual session history.
Library Management
- Multiple Libraries: Isolate content with per-library folders, custom scan rules, and format priorities, built to stay fast with tens of thousands of books.
- 12 Metadata Providers: Google Books, Open Library, Amazon, Goodreads, Kobo, Hardcover, Audible, Audnexus, Libro.fm, and iTunes, plus ComicVine for comics and RanobeDB for light novels. External providers add more, such as Douban, FantLab, J-Novel Club, Libris, LubimyCzytac and MangaBaka. Cover art is sourced separately from iTunes, DuckDuckGo, and AudiobookCovers. Edits and covers are written back into the book files (EPUB, PDF, CBZ, MOBI, AZW, FB2, and audiobooks), so they travel with the book to any reader.
- Smart Scopes & Collections: Organize your collection with curated lists and dynamic, rule-based saved filters, such as "unread science fiction over 400 pages", that keep themselves up to date and can sync to Kobo as collections.
- Book Requests: Ask for an ebook, an audiobook, or both, and BookOrbit searches your Torznab and Newznab indexers or Prowlarr, downloads through qBittorrent, Transmission, Deluge, rTorrent, NZBGet, SABnzbd, or TorBox, and files the finished book into the right library. Others on your server can request too, with an approval step you control.
- Editions & Duplicate Merging: The ebook, the audiobook, and a translation of the same book show once in lists, series, and author pages, opened at the edition you read last, while each keeps its own files and progress. Accidental duplicates merge into one record with progress, highlights, and notes carried over.
Platform & Delivery
- Multi-User & SSO: Granular per-user permissions and isolated reading data, with native support for Authentik, Keycloak, and Authelia via OIDC.
- Multilingual Interface: Available in 25 languages. Community translations are managed on Crowdin. See the localization guide for current language support and contributor instructions.
- Content Delivery: OPDS support for compatible apps, Send-to-Kindle via email, and browser drag-and-drop uploads.
- Automated Ingestion: Drop files into the Library Dock folder to review them before they reach a library. Each library can have its own dock, where incoming files get metadata and, with auto-file on, are named and filed into that library.
- Migration from Other Apps: Coming from Booklore, Grimmory, Audiobookshelf, or Calibre-Web Automated? Bring over book details, reading status, and progress, plus bookmarks, highlights, and collections where the source has them, instead of starting over.
More features
Reading
- A notebook for every book: In the mobile apps, highlights, notes, bookmarks, reviews and a reading journal sit together for each book and across the library.
- Read in your own fonts: Upload fonts, including CJK and variable fonts, and tune paragraph spacing and indents while publisher styling stays intact by default.
- Comics and manga that read naturally: Series folders laid out the Kavita or Komga way are recognised on their own, the last page opens the next issue, and the iPhone app can frame each panel in turn.
- Audiobooks with the right chapters: Fix missing or wrong chapters by pulling them from Audible or the ebook, with cuts that snap to the pauses in the audio.
- Words worth keeping: On iPhone, look words up in your own dictionaries, save them to a vocabulary list and review them as flashcards.
Your library
- See which volumes you are missing: Every series shows what you have read, what you own and the gaps in between.
- Find any book in seconds: Sort on any field with a second level, filter on anything, open a page for every genre and tag, switch to a sortable table, or press Command-K to search from anywhere.
- Track what matters to you: Add your own fields, such as a date, a number, a link or a yes/no, then sort and filter by them; their values are saved into EPUB, PDF and CBZ files.
On your devices
- Point your camera at a bookshelf: On iPhone, photograph a shelf to see which books you already own and request the rest, or photograph a printed page to open the ebook at the same passage.
- Request from the bookshop: On iPhone, scan a book's barcode to request it, and approvers can approve and pick the download from their phone.
- An audiobook player built for long listens: On iPhone, an Up Next queue, a sleep timer that stops at the end of a chapter, speeds up to 4x, CarPlay, and offline listening on Apple Watch.
- Your Kobo store books too: Books bought from the Kobo store and Kobo Plus titles arrive on the device alongside your BookOrbit library.
- Your year, as a story: Year in Review turns the year's reading into a story to share, in the mobile apps.
Running the server
- Works behind your login proxy: Kobo, KOReader and OPDS keep syncing when Cloudflare Access, Authelia or another login proxy sits in front of BookOrbit.
- Automate with API keys: Give scripts and automations their own keys, limited to read-only access, chosen permissions or chosen libraries.
- Every long task in view: The Jobs page shows what is running, waiting or failed, with pause, resume, reorder and cancel, and bulk actions keep going after you close the tab.
🐳 Quick Start (Docker)
mkdir bookorbit && cd bookorbit
mkdir -p books data/app data/postgres
curl -fsSLo .env https://raw.githubusercontent.com/bookorbit/bookorbit/main/.env.example
curl -fsSLo docker-compose.yml https://raw.githubusercontent.com/bookorbit/bookorbit/main/docker-compose.yml
Edit .env and set these required values:
APP_URL=http://your-server-ip:3000 # the URL you'll open in your browser
BOOKS_HOST_PATH=./books # folder on your server where your book files live
POSTGRES_PASSWORD= # database password - openssl rand -hex 24
JWT_SECRET= # signs login tokens - openssl rand -hex 32
SETUP_BOOTSTRAP_TOKEN= # one-time setup wizard token - openssl rand -hex 16
If your local book folder is owned by a user other than UID 1000, also set PUID and PGID to match that owner. Getting these wrong is the most common cause of permission errors on first scan.
Then start:
docker compose up -d
Open http://your-server-ip:3000 and complete setup using your SETUP_BOOTSTRAP_TOKEN.
For the full installation guide including reverse proxy setup, host file permissions, secrets from mounted files, external databases, OIDC hardening, and environment variable reference, see bookorbit.app/installation.
☁️ Managed Hosting
Prefer a hosted instance without managing Docker or servers? Zenith offers BookOrbit hosting with a web file browser for uploads, access controls, and resource usage insights.
📖 How I Actually Use BookOrbit
One read-along EPUB3 per book: listened to on iPhone, carried offline to Apple Watch for runs, read on a Kobo through KOReader, and picked up again on the laptop. One file, one reading position, no reconciling an audiobook against an ebook.
Read the full walkthrough at bookorbit.app/my-workflow.
🔄 KOReader Plugin
The BookOrbit plugin for KOReader adds progress sync, two-way annotation sync, and a native catalog browser: navigate, search, and download books from your library without leaving the device.
- In BookOrbit, go to Settings > KOReader, create credentials if prompted, and click Download Plugin.
- Unzip
bookorbit.koplugin.zip. - Copy
bookorbit.koplugintokoreader/plugins/on the device. - Restart KOReader and open a book.
- Use Tools > BookOrbit Sync to connect.
The download is pre-configured with your server URL and credentials, so there is no manual entry on the device. For full setup and sync options, see bookorbit.app/koreader-plugin.
🛠️ Documentation and Contributing
Full documentation lives at bookorbit.app: libraries, metadata, readers, Kobo sync, OPDS, users and permissions, OIDC and more.
Guides
- Book requests: indexers, download clients, path mappings, automation and the encryption key they need. See the book requests guide.
- AI providers: connect OpenAI, Anthropic, Gemini, OpenRouter, a proxy or a local runner for AI features such as story guides, and the
AI_ENCRYPTION_KEYthat keeps provider keys encrypted. See docs/AI_PROVIDERS.md. - Read-aloud: optional STAlign generation and QuartzNet hardware acceleration. See docs/READ_ALOUD.md.
- API keys: script and automation access with read-only, permission and library limits. See docs/API_KEYS.md.
- App attestation: why a few features answer only the official iOS and Android apps, and what stays open to every client. See docs/APP_ATTESTATION.md.
- Jobs and bulk actions: the Jobs page for long-running work, and bulk actions that keep running after the tab closes. See docs/JOBS.md.
- External metadata providers: add a source that runs beside BookOrbit, such as FantLab or MangaBaka, with docs/METADATA_PROVIDERS.md, or build your own with docs/BUILDING_METADATA_PROVIDERS.md.
Contributing
- Local development: architecture, first-time setup, running, testing and conventions in docs/DEVELOPMENT.md.
- Contributing: branch naming, test expectations, the PR checklist and commit format in CONTRIBUTING.md.
❤️ Support BookOrbit
BookOrbit is built and maintained independently. Behind what appears to be a single product is a growing ecosystem: the core server and web application, Kobo and KOReader integrations, native iPhone and Apple Watch apps, and an Android app currently in development.
Each part requires its own engineering, testing, compatibility, release, and support work. Keeping the entire ecosystem moving at its current pace, without compromising quality, requires considerable time, focus, and energy. Support helps make that pace sustainable and creates more room for thoughtful development.
If BookOrbit is valuable to you and you would like to support its continued development, you can:
- Get the official iPhone and Apple Watch app
- Support BookOrbit on Ko-fi
- Contribute through Open Collective
- Star BookOrbit on GitHub
Financial support is entirely optional. Using BookOrbit, recommending it to others, or starring the repository also makes a meaningful difference.
Storage requirements
Book libraries on SMB/CIFS or NFS are supported when the share is mounted read-only and Read-only library is enabled under the library's File updates settings. Keep application data, PostgreSQL, Book Dock, download and import folders, and writable libraries on local storage. For Docker, pass the book mount to the container as read-only as well. Use a read-only mount wherever BookOrbit or its download clients can reach the same collection.
Use a scheduled scan to discover new or changed files. Enabling Watch folders on a read-only library uses polling. For large shares, scheduled scans avoid the ongoing cost of polling. On a writable library, disabling automatic file updates still allows a manual Write & Rename. A read-only library blocks that action too. Metadata and cover edits stay in BookOrbit. Deleting a book removes its records and cached covers. A later scan can rediscover the source files.
Writable network storage, FUSE, cloud mounts and distributed filesystems remain unsupported. Writable paths require dependable atomic renames, locking and filesystem consistency.
📈 Repository Activity
🌐 Translations
Help translate BookOrbit into your language on Crowdin.
When adding user-facing text in code, add the Vue I18n key only to client/src/locales/en.json. Do not edit non-English catalogs in a feature pull request; untranslated keys fall back to English until Crowdin provides a translation. See docs/LOCALIZATION.md for the complete workflow.
⭐ Star History
💬 Help and Community
- Questions and help: Ask in GitHub Issues or browse help requests.
- Community conversations: Start a conversation or browse community topics.
- Bug reports: GitHub Issues
- Feature requests: GitHub Issues
- Security vulnerabilities: Follow the private reporting process in the Security Policy.
Questions are welcome, even if you are unsure whether something is a bug. Share workflows, your setup, or companion apps in community conversations. See the community guide for choosing a category and how topics are handled.
🔌 API Compatibility
Important
BookOrbit's API evolves alongside its official clients. Backwards compatibility is maintained for released official apps, but the API is not currently a stable public integration surface, and compatibility with third-party clients is not guaranteed. For the most reliable experience, use the official apps, OPDS, Kobo sync, or the KOReader plugin.
🙏 Credits
BookOrbit's read-aloud generation is built on the work of the Storyteller project. Its open-source libraries, @storyteller/align and @storyteller/ghost-story, align an ebook with its audiobook to produce the EPUB 3 read-along, and the QuartzNet alignment models come from Storyteller's model registry. Many thanks to the Storyteller team for their incredible work.
⚖️ License and Attribution
Copyright (C) 2025-2026 neon and BookOrbit contributors.
BookOrbit is licensed under the GNU Affero General Public License v3.0 only.
BookOrbit material whose copyright holders have authorized them is also subject to the BookOrbit Additional Terms under sections 7(b), 7(c), 7(d), and 7(e) of the GNU AGPL v3. See the Attribution and Legal Notice for the required attribution.




