23 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
d83fc60493 fix calbire web 2026-02-17 12:37:33 +01:00
CanbiZ (MickLesk)
b59702f31e Update calibre-web-install.sh 2026-02-17 11:47:55 +01:00
CanbiZ (MickLesk)
59ad12c7a0 Install deps from requirements files
Replace the previous `pip install calibreweb` and `uv sync` steps with explicit upgrades of pip/setuptools/wheel and installing dependencies from requirements.txt. If present, optional-requirements.txt is installed as well. Changes applied to both the installer and container update scripts to provide clearer, reproducible dependency management.
2026-02-17 11:36:50 +01:00
CanbiZ (MickLesk)
a12bfd9ab3 Unconditionally create venv and install deps
Remove the conditional retry logic and always run the venv creation, pip install of calibreweb, and uv sync without build isolation. Updated ct/calibre-web.sh and install/calibre-web-install.sh to: run `$STD uv venv`, `$STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir calibreweb`, then `$STD uv sync --no-dev --no-build-isolation`. This simplifies the dependency installation flow and ensures the virtualenv and package are installed before syncing.
2026-02-17 11:12:23 +01:00
CanbiZ (MickLesk)
76eb716da7 Retry dependency install without build isolation
Add retry logic to ct/calibre-web.sh and install/calibre-web-install.sh: if 'uv sync --no-dev' fails, the scripts now create/ensure a venv, install the 'calibreweb' package into it via 'uv pip', and retry 'uv sync' with '--no-build-isolation'. This works around failures caused by isolated builds or build-step issues and preserves existing log messages.
2026-02-17 10:57:21 +01:00
Patryk Mikołajczyk
79a3a3bc79 Update install/calibre-web-install.sh
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-02-10 20:46:37 +01:00
Patryk Mikołajczyk
0f713dea2f Update install/calibre-web-install.sh
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-02-10 20:46:24 +01:00
mikolaj92
2b7eed2630 calibre-web: use uv sync (native) instead of pip-compatible install 2026-02-10 20:33:47 +01:00
mikolaj92
b518881996 calibre-web: switch pip installs to uv and fix service block order 2026-02-10 20:31:29 +01:00
Patryk Mikołajczyk
a4c7dce494 Update install/calibre-web-install.sh
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-02-10 20:29:43 +01:00
Patryk Mikołajczyk
bbcdf2c446 Update install/calibre-web-install.sh
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-02-10 20:29:31 +01:00
Patryk Mikołajczyk
f9e3a931ff Update install/calibre-web-install.sh
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
2026-02-10 20:29:18 +01:00
mikolaj92
f2299ee941 fix(calibre-web): align review feedback on installer and defaults 2026-02-10 17:23:59 +01:00
Patryk Mikołajczyk
b8e23d9a54 Update calibre-web-install.sh 2026-02-10 17:18:23 +01:00
mikolaj92
996f551ea4 style: match greptile heredoc redirection format 2026-02-10 11:08:14 +01:00
mikolaj92
8d7d6ee5f3 fix: apply reviewer suggestion for service creation block 2026-02-10 11:06:23 +01:00
mikolaj92
b672954401 fix: remove unnecessary msg_info/msg_ok block for service creation 2026-02-10 11:04:10 +01:00
mikolaj92
36a3f33031 fix: address remaining heredoc and trailing blank line comments 2026-02-10 11:00:19 +01:00
mikolaj92
cf7b97bcdc fix: apply remaining CrazyWolf13 inline suggestions 2026-02-10 10:49:16 +01:00
mikolaj92
9c17e368b1 fix: address CrazyWolf13 review feedback
- Remove msg_info before mkdir (no need for msg block)
-  kept only for apt/pip (these generate stdout)

Addressed reviewer comments from CrazyWolf13 (2026-02-10)
2026-02-10 08:41:15 +01:00
mikolaj92
0622ec6218 fix: address remaining PR review feedback
- Remove all section comments (beyond standardized header)
- Fix heredoc: cat <<EOF >file → cat <<EOF\n>file
- Replace apt-get with apt in cleanup
- Add missing cleanup_lxc call at end

Resolves remaining review comments from greptile-apps[bot]
2026-02-10 07:10:41 +01:00
mikolaj92
ac4dab5a66 fix: address PR review feedback
- Rename service: cps.service → calibre-web.service (consistency)
- Fix logo URL: /webp/ → /webp/flat/ (required CDN format)
- Remove git submodule: skills/qmd (accidental addition)

Resolves review comments from greptile-apps[bot]
2026-02-10 07:03:34 +01:00
mikolaj92
3145790474 feat: add Calibre-Web container script
- Web-based eBook library management
- Mobile-responsive interface with user management
- Calibre integration for format conversion (EPUB→AZW3 for Kindle)
- Tested on Debian 13 LXC (CT240)

Technical details:
- Base OS: Debian 13 (2 CPU, 2GB RAM, 8GB disk, port 8083)
- Flask-Limiter 3.x (4.x incompatible)
- --break-system-packages for PEP 668 compliance
- Default credentials: admin/admin123
2026-02-09 22:03:23 +01:00