All apps · 0 apps
bookorbit
OfficialDocker app from joshcrosby's Repository
Overview
Readme
View on GitHubBookOrbit
A self-hosted library management and reading platform for ebooks, PDFs, audiobooks, and comics.

What is BookOrbit?
BookOrbit is a self-hosted digital library and reading platform. Organize and read your books, sync progress and annotations seamlessly across Kobo, KOReader, and the web reader, enrich your collection with metadata from multiple providers, and push reading data to Hardcover automatically. Supports multiple users with OIDC/SSO, detailed reading statistics, OPDS, customizable dashboard widgets, Send-to-Kindle delivery, and Smart Scopes - all running on infrastructure you control.
Live Demo
Want to try BookOrbit before installing? Explore the live instance instantly: no account required!
Experience the interface, built-in readers, and dashboard first-hand.
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.
Features
Reading Experience & Sync
- Built-in Web Readers: Native support for eBooks (EPUB, MOBI, AZW3), PDFs, Comics (CBZ, CBR), and Audiobooks (M4B, MP3) with no extra plugins required.
- Three-Way Sync (Kobo + KOReader + BookOrbit): Progress and annotations flow bidirectionally between Kobo devices, KOReader, and the BookOrbit web reader. Pick up on any surface where you left off on another - including highlights and deletes.
- KOReader Plugin: Native on-device catalog browser with search, download, and status/rating management, alongside full progress and annotation sync.
- Annotations & Highlights: Highlights from the web reader, KOReader, and Kobo merge into a unified searchable hub - filterable by color, style, and source, exportable as Markdown, CSV, or JSON.
- Hardcover Sync: Automatically pushes status, progress, reading dates, and ratings to Hardcover on configurable triggers. Pull read history back from Hardcover to backfill blank BookOrbit entries.
- Readwise Sync: Automatically pushes new highlights and notes to Readwise as you create them, from both the web reader and synced devices, with book covers matched by ISBN.
- Achievements & Reading Goals: Yearly goals, daily streaks, monthly challenges, and 50+ achievements across five categories. Reading DNA profiles your reading style from your actual session history.
- Reading Statistics: Track your daily reading time, view heatmaps, maintain streaks, and monitor library health.
Library Management
- Multiple Libraries: Isolate content with per-library folders, custom scan rules, and format priorities.
- Rich Metadata Providers: Fetch robust metadata from Google Books, Amazon, Goodreads, Open Library, Audible, ComicVine, and more.
- Smart Scopes & Collections: Organize your collection using curated lists and dynamic, rule-based saved filters.
Platform & Delivery
- Multi-User & SSO: Granular per-user permissions and isolated reading data, with native support for Authentik, Keycloak, and Authelia via OIDC.
- Content Delivery: OPDS support for compatible apps, Send-to-Kindle via email, and browser drag-and-drop uploads.
- Automated Ingestion: Configure a Book Dock drop folder for hands-free importing.
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
Optionally set LIBRARY_BROWSE_ROOT=/books to start the library folder picker at /books instead of /.
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, file permissions on NAS, external databases, and environment variable reference, see bookorbit.app/installation.
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 > Integrations > KOReader 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; no manual entry on the device. For full setup and sync options, see bookorbit.app/koreader-plugin.
Documentation and Contributing
Full documentation is at bookorbit.app - covering libraries, metadata, readers, Kobo sync, OPDS, users and permissions, OIDC setup, and more.
For local development, see docs/DEVELOPMENT.md. To contribute, see docs/CONTRIBUTING.md for the full workflow: branch naming, test expectations, PR checklist, and commit format.
Support
- Questions and discussion: GitHub Discussions
- Bug reports: GitHub Issues
- Feature requests: GitHub Issues
License
BookOrbit is licensed under the GNU Affero General Public License v3.0.
Install Bookorbit on Unraid in a few clicks.
Find Bookorbit in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.
Requirements
Categories
Related apps
Explore more like this
Explore allDetails
ghcr.io/bookorbit/bookorbit:latestRuntime arguments
- Web UI
http://[IP]:[PORT:3000]/- Network
bridge- Shell
sh- Privileged
- false
- Extra Params
--init --read-only --tmpfs /tmp --cap-drop=ALL --cap-add=CHOWN --cap-add=DAC_OVERRIDE --cap-add=FOWNER --cap-add=SETGID --cap-add=SETUID --security-opt no-new-privileges:true --stop-timeout 30 -e NODE_ENV=production -e PORT=3000 --health-cmd="node -e \"const p=process.env.PORT||3000;fetch('http://127.0.0.1:'+p+'/api/v1/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\"" --health-interval=30s --health-timeout=5s --health-retries=3 --health-start-period=20s
Template configuration
Host port used to reach BookOrbit. Maps to the fixed internal port 3000.
- Target
- 3000
- Default
- 3000
- Value
- 3000
Host folder where your book files live. Point this at your existing media/books share.
- Target
- /books
- Default
- /mnt/user/media/books
- Value
- /mnt/user/media/books
BookOrbit's own app data (config, generated files). BookOrbit manages ownership of this folder automatically.
- Target
- /data
- Default
- /mnt/user/appdata/bookorbit
- Value
- /mnt/user/appdata/bookorbit
Full URL you'll use to open BookOrbit, e.g. http://192.168.1.10:3000 for direct LAN access, or https://books.example.com if behind a reverse proxy.
- Target
- APP_URL
Must exactly match POSTGRES_USER on the bookorbit-db container.
- Target
- POSTGRES_USER
- Default
- bookorbit
- Value
- bookorbit
Must exactly match POSTGRES_PASSWORD on the bookorbit-db container.
- Target
- POSTGRES_PASSWORD
Must exactly match POSTGRES_DB on the bookorbit-db container.
- Target
- POSTGRES_DB
- Default
- bookorbit
- Value
- bookorbit
IP of bookorbit-db container or 'bookorbit-db' if both containers share a custom network.
- Target
- POSTGRES_HOST
Port the Postgres container listens on internally.
- Target
- POSTGRES_PORT
- Default
- 5432
- Value
- 5432
Long random secret used to sign login tokens. Generate with: openssl rand -hex 32
- Target
- JWT_SECRET
One-time token used to claim the admin account on first setup. Generate with: openssl rand -hex 16
- Target
- SETUP_BOOTSTRAP_TOKEN
User ID BookOrbit runs/writes files as. Must have read (and write, for uploads/Book Dock) access to your Books Folder.
- Default
- 1000
- Value
- 1000
Group ID BookOrbit runs/writes files as.
- Default
- 1000
- Value
- 1000
Advanced: internal path for the Book Dock drop-folder feature. Leave blank unless you've read the Book Dock docs and mapped an additional volume for it.
- Target
- BOOK_DOCK_PATH
BookOrbit automatically repairs ownership of the App Data folder on startup. Set to false only if your platform manages that folder's ownership externally.
- Target
- BOOKORBIT_FIX_PERMISSIONS
- Default
- true
- Value
- true
Node.js heap limit in MB. Raise this (e.g. 4096) for very large libraries if you see out-of-memory errors. 'auto' lets Node decide.
- Target
- NODE_MAX_OLD_SPACE_SIZE
- Default
- 2048
- Value
- 2048
Log verbosity. Set to 'debug' for troubleshooting.
- Target
- LOG_LEVEL
- Default
- info
- Value
- info