This commit is contained in:
acx10
2025-12-24 23:35:12 -07:00
parent b649433ec3
commit e85dab8580

344
README.md
View File

@@ -1,196 +1,114 @@
<div align="center">
# BookLore
# 📚 BookLore
![GitHub release (latest by date)](https://img.shields.io/github/v/release/adityachandelgit/BookLore?color=green)
![License](https://img.shields.io/github/license/adityachandelgit/BookLore?color=orange)
![Stars](https://img.shields.io/github/stars/adityachandelgit/BookLore?style=social)
![Docker Pulls](https://img.shields.io/docker/pulls/booklore/booklore?color=2496ED)
[![Join us on Discord](https://img.shields.io/badge/Chat-Discord-5865F2?logo=discord&style=flat)](https://discord.gg/Ee5hd458Uz)
[![Open Collective backers and sponsors](https://img.shields.io/opencollective/all/booklore?label=Open%20Collective&logo=opencollective&color=7FADF2)](https://opencollective.com/booklore)
### *Your Personal Library, Reimagined*
[![Release](https://img.shields.io/github/v/release/adityachandelgit/BookLore?style=for-the-badge&color=4c1d95&logo=github)](https://github.com/adityachandelgit/BookLore/releases)
[![License](https://img.shields.io/github/license/adityachandelgit/BookLore?style=for-the-badge&color=059669)](LICENSE)
[![Stars](https://img.shields.io/github/stars/adityachandelgit/BookLore?style=for-the-badge&color=f59e0b&logo=github)](https://github.com/adityachandelgit/BookLore/stargazers)
[![Docker](https://img.shields.io/docker/pulls/booklore/booklore?style=for-the-badge&logo=docker&color=2496ED)](https://hub.docker.com/r/booklore/booklore)
[![Discord](https://img.shields.io/badge/Discord-Join_Community-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/Ee5hd458Uz)
[![Open Collective](https://img.shields.io/opencollective/all/booklore?style=for-the-badge&logo=opencollective&label=Backers&color=7FADF2)](https://opencollective.com/booklore)
---
**A self-hosted, feature-rich platform for organizing and managing your digital book collection.**
*Built for book lovers, by book lovers.*
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.
![BookLore Demo](assets/demo.gif)
[**✨ Live Demo**](https://demo.booklore.dev) • [**📖 Documentation**](https://booklore-app.github.io/booklore-docs/) • [**🐛 Report Bug**](https://github.com/adityachandelgit/BookLore/issues) • [**💡 Request Feature**](https://github.com/adityachandelgit/BookLore/issues)
## ✨ Key Features
</div>
- 📚 **Smart Organization**: Build your dream library with custom shelves, smart sorting, and powerful filters to find any book instantly
- 👥 **Multi-User Management**: Add users with granular permissions for library access and content control
- 📲 **Kobo Integration**: Seamlessly sync your library with Kobo devices and convert EPUBs to KEPUB automatically
- ✨ **Magic Shelves**: Create dynamic, rule-based smart collections that auto-update in real time - like smart playlists for your books
- 🧠 **Auto Metadata**: Fetch rich book details from Goodreads, Amazon, Google Books, and Hardcover
- 📤 **BookDrop Import**: Drop files in a folder for automatic detection and bulk import
- 🌐 **OPDS Support**: Connect reading apps directly to your library for wireless downloads
- 🔑 **Flexible Authentication**: Choose between local accounts or external OIDC providers (Authentik, Pocket ID)
- 🔄 **KOReader Sync**: Track reading progress across KOReader and BookLore
- 📧 **One-Click Sharing**: Send books via email directly from the interface
- 🔐 **Private Notes**: Save personal reading notes visible only to you
- 🌍 **Community Reviews**: Auto-fetch public reviews to enrich your library
- 📖 **Built-in Reader**: Read PDFs, EPUBs, and comics with customizable themes
- 📱 **Mobile Ready**: Fully responsive design optimized for all devices
---
## 💖 Support the Project
## 🌟 Why BookLore?
If you find **BookLore** helpful, please consider supporting its development:
BookLore transforms the way you interact with your digital library. Whether you're a casual reader or a bibliophile with thousands of titles, BookLore provides the tools you need to organize, discover, and enjoy your collection.
- ⭐ Star this repository to show your appreciation and help others discover it.
- 💸 Contribute via [Open Collective](https://opencollective.com/booklore) to help fund development, hosting, and testing costs.
> 📌 Currently raising funds for a **Kobo device** to implement and test native Kobo sync support.
> 💡 [Support the Kobo Sync Bounty →](https://opencollective.com/booklore/projects/kobo-device-for-testing)
<table>
<tr>
<td width="50%">
## 🌐 Live Demo: Explore BookLore in Action
### 📚 **Smart Library Management**
- Custom shelves with intelligent filtering
- Dynamic smart collections that auto-update
- Powerful search across your entire library
- Bulk operations for efficient management
Evaluate BookLores features and user experience in a live environment:
</td>
<td width="50%">
**Demo Access:**
### 🔄 **Seamless Integration**
- Native Kobo device synchronization
- KOReader progress tracking
- OPDS protocol support
- Email sharing capabilities
- 🌐 **URL:** [demo.booklore.dev](https://demo.booklore.dev)
- 👤 **Username:** `booklore`
- 🔑 **Password:** `9HC20PGGfitvWaZ1`
</td>
</tr>
<tr>
<td width="50%">
> ⚠️ **Note:**
> The demo account has standard user permissions only.
> - **Admin features** (user management, library setup, advanced configuration) are not available in this demo.
> - To explore all capabilities, including administration and multi-user management, please deploy your own instance as described below.
### 🧠 **Intelligent Metadata**
- Auto-fetch from multiple sources
- Goodreads, Amazon, Google Books integration
- Community reviews and ratings
- Custom metadata editing
## 🚀 Getting Started with BookLore
</td>
<td width="50%">
Kick off your BookLore journey with our official documentation and helpful video guides.
### 👥 **Multi-User Ready**
- Granular permission controls
- OIDC authentication support
- Private notes per user
- Shared library management
📘 [BookLore Documentation: Getting Started](https://booklore-app.github.io/booklore-docs/docs/getting-started/)
Our up-to-date docs walk you through installation, setup, configuration, and key features, everything you need to get up and running smoothly.
</td>
</tr>
</table>
> 💡 **Want to improve the documentation?**
> You can update the docs at [booklore-app/booklore-docs](https://github.com/booklore-app/booklore-docs) and create a pull request to contribute your changes!
---
## 🐳 Deploy with Docker
## ✨ Feature Highlights
You can quickly set up and run BookLore using Docker.
<details open>
<summary><b>📖 Reading Experience</b></summary>
### 1⃣ Install Docker & Docker Compose
- **Built-in Reader**: Enjoy PDFs, EPUBs, and comics with customizable themes
- **Progress Tracking**: Sync reading progress across devices
- **Personal Notes**: Save private annotations visible only to you
- **Mobile Optimized**: Fully responsive design for reading anywhere
Ensure you have [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/) installed.
</details>
**Image Repositories:**
<details open>
<summary><b>🔧 Power Features</b></summary>
- Docker Hub: `https://hub.docker.com/r/booklore/booklore`
- GitHub Container Registry: `https://ghcr.io/booklore-app/booklore`
- **BookDrop Import**: Auto-detect and bulk import from a watched folder
- **Magic Shelves**: Create rule-based collections that update automatically
- **Format Conversion**: Automatic EPUB to KEPUB conversion
- **Metadata Enrichment**: Pull rich details from multiple online sources
> **Note:** Legacy images under `https://ghcr.io/adityachandelgit/booklore-app` will remain available but will not receive new updates.
</details>
### 2⃣ Set Up Your docker-compose.yml Configuration
<details open>
<summary><b>🌐 Connectivity</b></summary>
- **OPDS Server**: Connect any compatible reading app wirelessly
- **Kobo Integration**: Seamless sync with Kobo e-readers
- **API Access**: Programmatic access to your library
- **Email Distribution**: One-click book sharing via email
</details>
---
## 💖 Support Development
<div align="center">
Your support helps keep BookLore growing and improving!
[![Open Collective](https://img.shields.io/badge/Support_on-Open_Collective-7FADF2?style=for-the-badge&logo=opencollective)](https://opencollective.com/booklore)
[![Star Repository](https://img.shields.io/badge/⭐_Star-Repository-fbbf24?style=for-the-badge&logo=github)](https://github.com/adityachandelgit/BookLore)
</div>
**Current Fundraising Goal:** 🎯 Kobo Device for Testing
Help us implement and test native Kobo sync support by [contributing to our bounty →](https://opencollective.com/booklore/projects/kobo-device-for-testing)
---
## 🌐 Try the Live Demo
Experience BookLore before deploying your own instance:
<div align="center">
| 🔗 | **[demo.booklore.dev](https://demo.booklore.dev)** |
|:---:|:---|
| 👤 | **Username:** `booklore` |
| 🔑 | **Password:** `9HC20PGGfitvWaZ1` |
</div>
> **📌 Note:** Demo has standard user permissions. Admin features require a self-hosted instance.
---
## 🚀 Quick Start
### Prerequisites
Ensure you have [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/) installed on your system.
### 📦 Available Images
| Registry | Image URL |
|----------|-----------|
| 🐳 Docker Hub | `booklore/booklore:latest` |
| 📦 GitHub | `ghcr.io/booklore-app/booklore:latest` |
> ⚠️ Legacy images at `ghcr.io/adityachandelgit/booklore-app` remain available but won't receive updates.
---
## 🐳 Docker Deployment
### Step 1: Create Environment Configuration
Create a `.env` file with your configuration:
**Step 1: Create a `.env` file** in the same directory as your `docker-compose.yml`:
```ini
# Application Settings
# BookLore Application Settings
APP_USER_ID=0
APP_GROUP_ID=0
TZ=Etc/UTC
BOOKLORE_PORT=6060
# Database Connection
# Database Connection (BookLore)
DATABASE_URL=jdbc:mariadb://mariadb:3306/booklore
DB_USER=booklore
DB_PASSWORD=ChangeMe_BookLoreApp_2025!
# MariaDB Configuration
# MariaDB Container Settings
DB_USER_ID=1000
DB_GROUP_ID=1000
MYSQL_ROOT_PASSWORD=ChangeMe_MariaDBRoot_2025!
MYSQL_DATABASE=booklore
```
### Step 2: Create Docker Compose File
Create `docker-compose.yml`:
**Step 2: Create a `docker-compose.yml` file** that references the `.env` variables:
```yaml
services:
booklore:
image: booklore/booklore:latest
# Alternative: Use GitHub Container Registry
# image: ghcr.io/booklore-app/booklore:latest
container_name: booklore
environment:
- USER_ID=${APP_USER_ID}
@@ -226,145 +144,81 @@ services:
- ./mariadb/config:/config
restart: unless-stopped
healthcheck:
test: ["CMD", "mariadb-admin", "ping", "-h", "localhost"]
test: [ "CMD", "mariadb-admin", "ping", "-h", "localhost" ]
interval: 5s
timeout: 5s
retries: 10
```
### Step 3: Launch BookLore
### 3⃣ Start the Containers
```bash
Run the following command to start the services:
```ini
docker compose up -d
```
### Step 4: Access Your Library
### 4 Access BookLore
Open your browser and navigate to:
Once the containers are up, access BookLore in your browser at:
```
```ini
http://localhost:6060
```
---
## 📥 Bookdrop Folder: Auto-Import Files
## 📥 BookDrop: Automated Import
BookLore now supports a **Bookdrop folder**, a special directory where you can drop your book files (`.pdf`, `.epub`, `.cbz`, etc.), and BookLore will automatically detect, process, and prepare them for import. This makes it easy to bulk add new books without manually uploading each one.
The **BookDrop** feature enables effortless bulk importing of books into your library.
### 🔍 How It Works
### How It Works
1. **File Watcher:** A background process continuously monitors the Bookdrop folder.
2. **File Detection:** When new files are added, BookLore automatically reads them and extracts basic metadata (title, author, etc.) from filenames or embedded data.
3. **Optional Metadata Fetching:** If enabled, BookLore can query metadata sources like Google Books or Open Library to enrich the book information.
4. **Review & Finalize:** You can then review the detected books in the Bookdrop UI, edit metadata if needed, and assign each book to a library and folder structure before finalizing the import.
```mermaid
graph LR
A[Drop Files] --> B[Auto-Detection]
B --> C[Metadata Extraction]
C --> D[Review & Edit]
D --> E[Import to Library]
```
### ⚙️ Configuration (Docker Setup)
1. **📁 Drop Files**: Place books in the BookDrop folder
2. **🔍 Detection**: Automatic file monitoring and recognition
3. **📊 Metadata**: Extract or fetch book information
4. **✏️ Review**: Edit metadata before final import
5. **✅ Import**: Add to your organized library
### Configuration
The BookDrop folder is automatically configured in the Docker setup:
To enable the Bookdrop feature in Docker:
```yaml
volumes:
- ./bookdrop:/bookdrop # 👈 Auto-import directory
services:
booklore:
...
volumes:
- ./data:/app/data
- ./books:/books
- ./bookdrop:/bookdrop # 👈 Bookdrop directory
```
Simply drop your `.pdf`, `.epub`, `.cbz`, or other supported files into this folder, and BookLore handles the rest!
## 🤝 Community & Support
---
- 🐞 Found a bug? [Open an issue](https://github.com/adityachandelgit/BookLore/issues)
- ✨ Want to contribute? [Check out CONTRIBUTING.md](https://github.com/adityachandelgit/BookLore/blob/master/CONTRIBUTING.md)
- 💬 **Join our Discord**: [Click here to chat with the community](https://discord.gg/Ee5hd458Uz)
## 📚 Documentation
## 📊 Repository Activity
For comprehensive guides, configuration options, and troubleshooting:
![Alt](https://repobeats.axiom.co/api/embed/44a04220bfc5136e7064181feb07d5bf0e59e27e.svg "Repobeats analytics image")
<div align="center">
### **[📖 Visit Full Documentation →](https://booklore-app.github.io/booklore-docs/docs/getting-started/)**
*Installation • Configuration • Features • API • Troubleshooting*
</div>
💡 **Contribute to Docs**: Improve our documentation at [booklore-app/booklore-docs](https://github.com/booklore-app/booklore-docs)
---
## 🤝 Community & Contribution
<div align="center">
[![Discord](https://img.shields.io/badge/💬_Chat-Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/Ee5hd458Uz)
[![Contributing](https://img.shields.io/badge/📝_Read-Contributing_Guide-4c1d95?style=for-the-badge)](CONTRIBUTING.md)
[![Issues](https://img.shields.io/badge/🐛_Report-Issues-ef4444?style=for-the-badge&logo=github)](https://github.com/adityachandelgit/BookLore/issues)
</div>
We welcome contributions of all kinds! Whether it's:
- 🐛 Bug reports and fixes
- ✨ Feature requests and implementations
- 📖 Documentation improvements
- 🌍 Translations and localization
---
## 📊 Project Stats
<div align="center">
### Repository Activity
![Activity](https://repobeats.axiom.co/api/embed/44a04220bfc5136e7064181feb07d5bf0e59e27e.svg "Repobeats analytics")
### ⭐ Star History
## ⭐ Star History
<a href="https://www.star-history.com/#booklore-app/booklore&type=date&legend=top-left">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=booklore-app/booklore&type=date&theme=dark&legend=top-left" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=booklore-app/booklore&type=date&legend=top-left" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=booklore-app/booklore&type=date&legend=top-left" width="600" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=booklore-app/booklore&type=date&legend=top-left" />
</picture>
</a>
</div>
## 👨‍💻 Contributors & Developers
---
Thanks to all the amazing people who contribute to Booklore.
## 🙏 Contributors
Thank you to all our amazing contributors who help make BookLore better!
<div align="center">
[![Contributors](https://contrib.rocks/image?repo=adityachandelgit/BookLore)](https://github.com/adityachandelgit/BookLore/graphs/contributors)
</div>
---
[![Contributors List](https://contrib.rocks/image?repo=adityachandelgit/BookLore)](https://github.com/adityachandelgit/BookLore/graphs/contributors)
## ⚖️ License
<div align="center">
**[GNU General Public License v3.0](http://www.gnu.org/licenses/gpl.html)**
Copyright © 2024-2025 BookLore Contributors
</div>
---
<div align="center">
**Made with ❤️ by the BookLore Community**
*Star ⭐ this repository if you find it helpful!*
</div>
* [GNU GPL v3](http://www.gnu.org/licenses/gpl.html)
* Copyright 2024-2025