From e85dab8580224e33ef4e1b38f569acca2ed61f03 Mon Sep 17 00:00:00 2001 From: acx10 Date: Wed, 24 Dec 2025 23:35:12 -0700 Subject: [PATCH] Revert --- README.md | 344 ++++++++++++++++-------------------------------------- 1 file changed, 99 insertions(+), 245 deletions(-) diff --git a/README.md b/README.md index 7d162c62e..7818b86b9 100644 --- a/README.md +++ b/README.md @@ -1,196 +1,114 @@ -
+# 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 -
+- πŸ“š **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) - - - - - - - - - -
+## 🌐 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 BookLore’s features and user experience in a live environment: - +**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` -
+> ⚠️ **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 - +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. -
+> πŸ’‘ **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. -
-πŸ“– Reading Experience +### 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. -
+**Image Repositories:** -
-πŸ”§ Power Features +- 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. -
+### 2️⃣ Set Up Your docker-compose.yml Configuration -
-🌐 Connectivity - -- **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 - -
- ---- - -## πŸ’– Support Development - -
- -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) - -
- -**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: - -
- -| πŸ”— | **[demo.booklore.dev](https://demo.booklore.dev)** | -|:---:|:---| -| πŸ‘€ | **Username:** `booklore` | -| πŸ”‘ | **Password:** `9HC20PGGfitvWaZ1` | - -
- -> **πŸ“Œ 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") -
-### **[πŸ“– Visit Full Documentation β†’](https://booklore-app.github.io/booklore-docs/docs/getting-started/)** - -*Installation β€’ Configuration β€’ Features β€’ API β€’ Troubleshooting* - -
- -πŸ’‘ **Contribute to Docs**: Improve our documentation at [booklore-app/booklore-docs](https://github.com/booklore-app/booklore-docs) - ---- - -## 🀝 Community & Contribution - -
- -[![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) - -
- -We welcome contributions of all kinds! Whether it's: -- πŸ› Bug reports and fixes -- ✨ Feature requests and implementations -- πŸ“– Documentation improvements -- 🌍 Translations and localization - ---- - -## πŸ“Š Project Stats - -
- -### Repository Activity - -![Activity](https://repobeats.axiom.co/api/embed/44a04220bfc5136e7064181feb07d5bf0e59e27e.svg "Repobeats analytics") - -### ⭐ Star History +## ⭐ Star History - Star History Chart + Star History Chart -
+## πŸ‘¨β€πŸ’» 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! - -
- -[![Contributors](https://contrib.rocks/image?repo=adityachandelgit/BookLore)](https://github.com/adityachandelgit/BookLore/graphs/contributors) - -
- ---- +[![Contributors List](https://contrib.rocks/image?repo=adityachandelgit/BookLore)](https://github.com/adityachandelgit/BookLore/graphs/contributors) ## βš–οΈ License -
- -**[GNU General Public License v3.0](http://www.gnu.org/licenses/gpl.html)** - -Copyright Β© 2024-2025 BookLore Contributors - -
- ---- - -
- -**Made with ❀️ by the BookLore Community** - -*Star ⭐ this repository if you find it helpful!* - -
+* [GNU GPL v3](http://www.gnu.org/licenses/gpl.html) +* Copyright 2024-2025