adityachandelgit/BookLore
BookLore
BookLore is a self-hosted web app for organizing and managing your personal book collection. It provides an intuitive interface to browse, read, and track your progress across PDFs and eBooks. With robust metadata management, multi-user support, and a sleek, modern UI, BookLore makes it easy to build and explore your personal library.
β¨ Key Features
- π Organized Book Management - Categorize books with Libraries and Shelves for easy discovery and structured organization.
- π§ Smart Metadata Handling - Automatically fetch book details from Goodreads, Amazon, and Google Books, or edit them manually with fine-grained control.
- π₯ Multi-User Support - Admins can create accounts, assign libraries, and manage permissions for metadata edits, uploads, and downloads.
- π Built-in PDF & ePub Reader - A fast, feature-rich reader for PDFs and ePubs, with customizable reading settings and a clean UI.
- π OPDS 1.2 Support - Browse and download books through the Open Publication Distribution System β compatible with many reading apps.
- π Optional OIDC Authentication - Secure access with OpenID Connect, supporting both local JWT authentication and external providers like Authentik.
- π€ Multi-Book Uploads - Upload multiple books at once with metadata auto-detection and file organization.
- π§ Send Books via Email - Share books directly with others by sending them via email β quick and easy.
- π Continuous Improvements - Frequent updates with new features, performance enhancements, and UI improvements. BookLore is perfect for self-hosters who want complete control over their digital library. Stay tuned for updates!
π₯ Video Guides & Tutorials
For a step-by-step walkthrough, check out the official BookLore video guides on YouTube:
πΊ BookLore Tutorials β YouTube
These videos cover deployment, configuration, and feature highlights to help you get started quickly.
π³ Deploy with Docker
You can quickly set up and run BookLore using Docker.
1οΈβ£ Install Docker & Docker Compose
Ensure you have Docker and Docker Compose installed.
2οΈβ£ Create docker-compose.yml
Create a docker-compose.yml
file with content:
|
|
Note: You can find the latest BookLore image tag BOOKLORE_IMAGE_TAG
(e.g. v.0.x.x) from the Releases section:
π¦ Latest Image Tag β GitHub Releases
3οΈβ£ Start the Containers
Run the following command to start the services:
|
|
4οΈβ£ Access BookLore
Once the containers are up, access BookLore in your browser at:
|
|
π OIDC/OAuth2 Authentication (Authentik, Pocket ID, etc.)
BookLore supports optional OIDC/OAuth2 authentication for secure access. This feature allows you to integrate external authentication providers for a seamless login experience.
While the integration has been tested with Authentik and Pocket ID, it should work with other OIDC providers like Authelia as well. The setup allows you to use either JWT-based local authentication or external providers, giving users the flexibility to choose their preferred method.
For detailed instructions on setting up OIDC authentication:
- πΊ YouTube video on configuring Authentik with BookLore
- π Step-by-step setup guide for Pocket ID
π Remote Authentication (Trusted Header SSO, Forward Auth)
If you run BookLore behind a reverse proxy with remote authentication (middleware),
you can enable automatic login by setting REMOTE_AUTH_ENABLED
to true
.
This allows you to use your existing authentication system (e.g., OAuth, SAML) to log in to BookLore.
The following remote auth environment variables can be configured:
Variable Name | Description | Default Value |
---|---|---|
REMOTE_AUTH_ENABLED | Enable remote authentication | false |
REMOTE_AUTH_CREATE_NEW_USERS | Auto-create users from remote auth | true |
REMOTE_AUTH_HEADER_NAME | HTTP header containing userβs name | Remote-Name |
REMOTE_AUTH_HEADER_USER | HTTP header containing username | Remote-User |
REMOTE_AUTH_HEADER_EMAIL | HTTP header containing userβs email | Remote-Email |
REMOTE_AUTH_HEADER_GROUPS | HTTP header containing userβs groups | Remote-Groups |
REMOTE_AUTH_ADMIN_GROUP | Group name that grants admin privileges | - |
Example implementations:
- https://www.authelia.com/integration/trusted-header-sso/introduction/
- https://caddyserver.com/docs/caddyfile/directives/forward_auth
- https://doc.traefik.io/traefik/middlewares/http/forwardauth/
- https://github.com/sevensolutions/traefik-oidc-auth (Traefik OIDC Auth)
π€ Community & Support
- π Found a bug? Open an issue
- β¨ Want to contribute? Check out CONTRIBUTING.md
- π¬ Ask questions or share feedback: Discussions
- π¬ Join our Discord: Click here to chat with the community
π¨βπ» Contributors & Developers
Thanks to all the amazing people who contribute to Booklore.
β Star History
π Support the Project
If you find BookLore helpful, consider β starring the repo!
Or support the project via Venmo:
π§° Tech Stack
βοΈ License
- GNU GPL v3
- Copyright 2024-2025