diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index 0c6aadfb..d98a5391 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -35,7 +35,7 @@ jobs: cache: true - name: Install dependencies - run: pdm install --fail-fast --no-lock --group :all --no-self + run: pdm install --fail-fast --no-lock --dev --group=':all' --no-self - name: Build package run: | diff --git a/Dockerfile b/Dockerfile index 97fd1770..454effe8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -167,7 +167,6 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$T curl wget git yt-dlp ffmpeg ripgrep \ # Packages we have also needed in the past: # youtube-dl wget2 aria2 python3-pyxattr rtmpdump libfribidi-bin mpv \ - # fontconfig fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-symbola fonts-noto fonts-freefont-ttf \ && rm -rf /var/lib/apt/lists/* \ # Save version info && ( \ @@ -183,6 +182,11 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$T RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$TARGETVARIANT --mount=type=cache,target=/root/.cache/pip,sharing=locked,id=pip-$TARGETARCH$TARGETVARIANT --mount=type=cache,target=/root/.cache/ms-playwright,sharing=locked,id=browsers-$TARGETARCH$TARGETVARIANT \ echo "[+] Installing Browser binary dependencies to $PLAYWRIGHT_BROWSERS_PATH..." \ && apt-get update -qq \ + && apt-get install -qq -y -t bookworm-backports --no-install-recommends \ + fontconfig fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-khmeros fonts-kacst fonts-symbola fonts-noto fonts-freefont-ttf \ + # chrome can run without dbus/upower technically, it complains about missing dbus but should run ok anyway + # libxss1 dbus dbus-x11 upower \ + # && service dbus start \ && if [[ "$TARGETPLATFORM" == *amd64* || "$TARGETPLATFORM" == *arm64* ]]; then \ # install Chromium using playwright pip install playwright \ @@ -192,7 +196,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=apt-$TARGETARCH$T else \ # fall back to installing Chromium via apt-get on platforms not supported by playwright (e.g. risc, ARMv7, etc.) apt-get install -qq -y -t bookworm-backports --no-install-recommends \ - chromium fontconfig fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-symbola fonts-noto fonts-freefont-ttf \ + chromium \ && export CHROME_BINARY="$(which chromium)"; \ fi \ && rm -rf /var/lib/apt/lists/* \ diff --git a/README.md b/README.md index efc5744a..f7bf8d26 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,16 @@ -
- +
+

ArchiveBox
Open-source self-hosted web archiving.


-▶️ Quickstart | -Demo | -GitHub | -Documentation | -Info & Motivation | -Community +▶️ Quickstart | Demo | GitHub | Documentation | Info & Motivation | Community
- - -   - - - - +