From c5a0d1ca39a0ae61e03b0f38a30579b811b4b858 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 2 Oct 2026 13:15:14 +0200 Subject: Add book-reader: two-page image book viewer Browser viewer for books stored as folders of page images: two-page spreads with a GPU-composited 3D page turn, keyboard/wheel/click navigation, fit-height and fit-width (scroll then flip) modes, a library of every image folder under the configured root, and per-book reading progress in localStorage. rc.book-reader serves it with python3 http.server on 127.0.0.1 from a runtime dir of symlinks, so the library is never written to. It can be copied to /etc/rc.d: started as root it re-executes itself as RUNAS. Co-Authored-By: Claude Opus 5.5 --- reader.html | 251 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 251 insertions(+) create mode 100644 reader.html (limited to 'reader.html') diff --git a/reader.html b/reader.html new file mode 100644 index 0000000..5bc7057 --- /dev/null +++ b/reader.html @@ -0,0 +1,251 @@ + + + + + + +Reader + + + +
+
+
+
+
+
+
+
+ +
+ + +
+ + + +
+ +
+

Library

+
+

→ / Space / PgDn / wheel down: next · ← / PgUp / wheel up: previous · Home / End · + W: fit width / height (wheel and ↑↓ scroll, flip at page end) · C: toggle cover offset · F: fullscreen · B: library · click left/right half to flip

+
+ + + + -- cgit v1.2.3