From 15f0eb2709b6736ca3038b456bf2e02e19f0ee05 Mon Sep 17 00:00:00 2001 From: arquiguru Date: Thu, 23 Jul 2026 22:57:11 -0300 Subject: [PATCH] Update booklore to 2.3.1-2 (#5856) Co-authored-by: arquiguru <21201431+arquiguru@users.noreply.github.com> Co-authored-by: nmfretz --- booklore/data/bookdrop/.gitkeep | 1 + booklore/docker-compose.yml | 2 ++ booklore/hooks/pre-start | 10 ++++++++++ booklore/umbrel-app.yml | 11 ++++------- 4 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 booklore/data/bookdrop/.gitkeep create mode 100755 booklore/hooks/pre-start diff --git a/booklore/data/bookdrop/.gitkeep b/booklore/data/bookdrop/.gitkeep new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/booklore/data/bookdrop/.gitkeep @@ -0,0 +1 @@ + diff --git a/booklore/docker-compose.yml b/booklore/docker-compose.yml index 5823c76e0..f420b0170 100644 --- a/booklore/docker-compose.yml +++ b/booklore/docker-compose.yml @@ -23,6 +23,8 @@ services: volumes: - ${APP_DATA_DIR}/data/app:/app/data - ${APP_DATA_DIR}/data/books:/books + # BookDrop watched-import folder + - ${APP_DATA_DIR}/data/bookdrop:/bookdrop db: image: mariadb:12.0.2@sha256:b30cc65b57a11a2e791ad5c06284e599fe9f1bf3fe9081a88d85bcf36389be4a diff --git a/booklore/hooks/pre-start b/booklore/hooks/pre-start new file mode 100755 index 000000000..4bcf91998 --- /dev/null +++ b/booklore/hooks/pre-start @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +set -euo pipefail + +# App updates do not copy newly added data directories, so ensure BookDrop's +# bind-mount source exists before Docker starts the container. +APP_DIR="${APP_DATA_DIR:-$(readlink -f "$(dirname "${BASH_SOURCE[0]}")/..")}" +BOOKDROP_DIR="${APP_DIR}/data/bookdrop" + +mkdir -p "${BOOKDROP_DIR}" +chown 1000:1000 "${BOOKDROP_DIR}" diff --git a/booklore/umbrel-app.yml b/booklore/umbrel-app.yml index 68e895208..8b91d2f81 100644 --- a/booklore/umbrel-app.yml +++ b/booklore/umbrel-app.yml @@ -3,7 +3,7 @@ id: booklore name: BookLore tagline: An app for managing and reading books category: files -version: "2.3.1-1" +version: "2.3.1-2" port: 6060 description: >- 📖 BookLore is a modern web application created to transform the way digital libraries are managed and experienced. It is designed for readers who want to bring order and beauty to their collection of books and comics while also making them instantly accessible. Instead of leaving files scattered across folders, BookLore gathers them into a central library that can be explored and enjoyed directly through the browser. It provides a seamless reading environment where organization, discovery, and enjoyment flow together. @@ -48,16 +48,13 @@ gallery: - 5.jpg - 6.jpg releaseNotes: >- - This packaging update fixes connecting BookLore to compatible e-reader apps, including KOReader. E-readers can access your library and sync reading progress again, while the BookLore web app remains protected by your Umbrel login. + This packaging update enables BookLore's BookDrop watched folder, which the app description advertises but the package previously did not wire up. - BookLore 2.3.1 also adds OpenLibrary as a metadata provider and improves Goodreads metadata fetching when detail pages are blocked. + A "bookdrop" folder is now available in the Files app at Apps/booklore/data/bookdrop. Drop book files there and BookLore detects them within seconds; review and import them from the Bookdrop page in the app. After a successful import BookLore moves the file out of the folder and into your library, so the folder emptying itself is expected behavior, not data loss. - It also updates backend and frontend dependencies, including Flyway, Jackson, Angular CLI, Transloco, and Vitest. - - - Full upstream release notes can be found at: https://github.com/booklore-app/booklore/releases/tag/v2.3.1 + There are no changes to the BookLore application itself in this update. dependencies: [] path: "" defaultUsername: ""