diff --git a/patches/0001-ci-update-deno-to-2.2.10.patch b/patches/0001-ci-update-deno-to-2.2.10.patch index 2af00ea..2e47f04 100644 --- a/patches/0001-ci-update-deno-to-2.2.10.patch +++ b/patches/0001-ci-update-deno-to-2.2.10.patch @@ -1,4 +1,4 @@ -From 6097b8cf2bb2369e28cb360578f10796a60c7795 Mon Sep 17 00:00:00 2001 +From 684fd74af7d272f7623a1a27401eaa24156f0085 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 24 Mar 2025 19:37:34 -0300 Subject: [PATCH 01/15] ci: update deno to 2.2.10 diff --git a/patches/0002-feat-add-support-for-an-external-videoplayback-proxy.patch b/patches/0002-feat-add-support-for-an-external-videoplayback-proxy.patch index 9f222aa..8ab299b 100644 --- a/patches/0002-feat-add-support-for-an-external-videoplayback-proxy.patch +++ b/patches/0002-feat-add-support-for-an-external-videoplayback-proxy.patch @@ -1,4 +1,4 @@ -From 47ce40eddb29252a3e3a92861db1dd131de3f594 Mon Sep 17 00:00:00 2001 +From 043df80316bc0cba560f6975289fb65cc13b9519 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 24 Mar 2025 18:44:10 -0300 Subject: [PATCH 02/15] feat: add support for an external videoplayback proxy diff --git a/patches/0003-feat-report-the-external-videoplayback-proxy-via-inf.patch b/patches/0003-feat-report-the-external-videoplayback-proxy-via-inf.patch index a6fbfa4..1db8af2 100644 --- a/patches/0003-feat-report-the-external-videoplayback-proxy-via-inf.patch +++ b/patches/0003-feat-report-the-external-videoplayback-proxy-via-inf.patch @@ -1,4 +1,4 @@ -From 4f44c539943140ac416989f11eee5a98c5a52d3b Mon Sep 17 00:00:00 2001 +From 00077ce2193f2338e886776dce1e525db90f540c Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 24 Mar 2025 18:52:53 -0300 Subject: [PATCH 03/15] feat: report the external videoplayback proxy via /info diff --git a/patches/0004-feat-add-resolution-limit-on-DASH-streams-to-save-ba.patch b/patches/0004-feat-add-resolution-limit-on-DASH-streams-to-save-ba.patch index cea2831..83da131 100644 --- a/patches/0004-feat-add-resolution-limit-on-DASH-streams-to-save-ba.patch +++ b/patches/0004-feat-add-resolution-limit-on-DASH-streams-to-save-ba.patch @@ -1,4 +1,4 @@ -From 72b7cc213b4afe510f530990f252913c0003af15 Mon Sep 17 00:00:00 2001 +From 2d7b7239a12afe9f899d278abc3e889a1eb15ae7 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 24 Mar 2025 19:02:01 -0300 Subject: [PATCH 04/15] feat: add resolution limit on DASH streams to save diff --git a/patches/0005-feat-add-env-variable-to-set-verify_requests.patch b/patches/0005-feat-add-env-variable-to-set-verify_requests.patch index 6f8abdf..b448be9 100644 --- a/patches/0005-feat-add-env-variable-to-set-verify_requests.patch +++ b/patches/0005-feat-add-env-variable-to-set-verify_requests.patch @@ -1,4 +1,4 @@ -From 459e129d76649ab6f542997bfbe9a2ff479ade85 Mon Sep 17 00:00:00 2001 +From a45e971825d89d31d9e0963cd1f3a92f5978f31e Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 24 Mar 2025 19:06:04 -0300 Subject: [PATCH 05/15] feat: add env variable to set verify_requests diff --git a/patches/0006-feat-add-support-for-multiple-proxies.patch b/patches/0006-feat-add-support-for-multiple-proxies.patch index bee6572..c846af8 100644 --- a/patches/0006-feat-add-support-for-multiple-proxies.patch +++ b/patches/0006-feat-add-support-for-multiple-proxies.patch @@ -1,4 +1,4 @@ -From 756b8f855e2dd075c3fbe2608d42e65a0d1ff75e Mon Sep 17 00:00:00 2001 +From 16bb71f10dd19b197100df94fb0c859415bca789 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 24 Mar 2025 19:20:52 -0300 Subject: [PATCH 06/15] feat: add support for multiple proxies diff --git a/patches/0007-feat-add-option-to-disable-potoken-generation-check.patch b/patches/0007-feat-add-option-to-disable-potoken-generation-check.patch index 627e041..5dde845 100644 --- a/patches/0007-feat-add-option-to-disable-potoken-generation-check.patch +++ b/patches/0007-feat-add-option-to-disable-potoken-generation-check.patch @@ -1,4 +1,4 @@ -From 430f56a70febeb210b3fa778dea723b0d8bb0544 Mon Sep 17 00:00:00 2001 +From 5773026f670c6ef30ada3fa6922e6240874eea4f Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 24 Mar 2025 20:34:33 -0300 Subject: [PATCH 07/15] feat: add option to disable potoken generation check diff --git a/patches/0008-add-proxy-retries-on-innertube-error.patch b/patches/0008-add-proxy-retries-on-innertube-error.patch index 0f8bdd2..b295495 100644 --- a/patches/0008-add-proxy-retries-on-innertube-error.patch +++ b/patches/0008-add-proxy-retries-on-innertube-error.patch @@ -1,4 +1,4 @@ -From bd911e4a62caf445c6130b88a15a0a4320ba7cb4 Mon Sep 17 00:00:00 2001 +From ed91309e542ad45b59d401ebefca8f031217c4c8 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 25 Mar 2025 00:04:47 -0300 Subject: [PATCH 08/15] add proxy retries on innertube error diff --git a/patches/0009-add-metrics-for-proxy-retries.patch b/patches/0009-add-metrics-for-proxy-retries.patch index 2921ecd..69fb366 100644 --- a/patches/0009-add-metrics-for-proxy-retries.patch +++ b/patches/0009-add-metrics-for-proxy-retries.patch @@ -1,4 +1,4 @@ -From d821439a2acc0b9372ce85092d0a97d640db6e86 Mon Sep 17 00:00:00 2001 +From 625209a05d619295fd78d05fc8d3580791e2344b Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 25 Mar 2025 00:07:28 -0300 Subject: [PATCH 09/15] add metrics for proxy retries diff --git a/patches/0010-fix-fix-tokio-overflow-on-compile.patch b/patches/0010-fix-fix-tokio-overflow-on-compile.patch index 9eda663..66b4f81 100644 --- a/patches/0010-fix-fix-tokio-overflow-on-compile.patch +++ b/patches/0010-fix-fix-tokio-overflow-on-compile.patch @@ -1,4 +1,4 @@ -From aa870191d360deb13242ed9ed850cc3a84e3c17f Mon Sep 17 00:00:00 2001 +From 9f07e6c0807bfd8b5ec26e246154e69c65b3ec75 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 25 Mar 2025 00:24:07 -0300 Subject: [PATCH 10/15] fix: fix tokio overflow on compile diff --git a/patches/0011-Add-environment-variable-for-youtube_session.frequen.patch b/patches/0011-Add-environment-variable-for-youtube_session.frequen.patch index acc97fc..626407f 100644 --- a/patches/0011-Add-environment-variable-for-youtube_session.frequen.patch +++ b/patches/0011-Add-environment-variable-for-youtube_session.frequen.patch @@ -1,4 +1,4 @@ -From 94a10f097341f2118ab8b67cb47802a115b2141f Mon Sep 17 00:00:00 2001 +From 1b9e1bc812136413075dad2b981fa21e1f610c43 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Wed, 26 Mar 2025 12:24:49 -0300 Subject: [PATCH 11/15] Add environment variable for youtube_session.frequency diff --git a/patches/0012-add-option-to-disable-logging.patch b/patches/0012-add-option-to-disable-logging.patch index 0465f47..8a844ab 100644 --- a/patches/0012-add-option-to-disable-logging.patch +++ b/patches/0012-add-option-to-disable-logging.patch @@ -1,4 +1,4 @@ -From faf7a41daae9c470a4d9eefdb92f626ed91ac4b5 Mon Sep 17 00:00:00 2001 +From 6b9b8b53cb1f3e9ffbc2b4cb8456d849fd7902ef Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 8 Apr 2025 02:21:10 -0400 Subject: [PATCH 12/15] add option to disable logging diff --git a/patches/0013-metrics-track-unidentified-innertube-errors.patch b/patches/0013-metrics-track-unidentified-innertube-errors.patch index abc03f3..d06fc86 100644 --- a/patches/0013-metrics-track-unidentified-innertube-errors.patch +++ b/patches/0013-metrics-track-unidentified-innertube-errors.patch @@ -1,4 +1,4 @@ -From dc22979ab91e2275f367823d9babe7b9fc3d0301 Mon Sep 17 00:00:00 2001 +From 65b5bb70373dcfeadb23852ab2cb38f1dea83888 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 14 Apr 2025 01:24:57 -0400 Subject: [PATCH 13/15] metrics: track unidentified innertube errors diff --git a/patches/0014-metrics-add-more-errors.patch b/patches/0014-metrics-add-more-errors.patch index 95c0662..11887bb 100644 --- a/patches/0014-metrics-add-more-errors.patch +++ b/patches/0014-metrics-add-more-errors.patch @@ -1,4 +1,4 @@ -From f99728a40b9950a1130d99ee2a6ef29768f3afc9 Mon Sep 17 00:00:00 2001 +From e6d100e339c7da1d1bccea52ce5815acd434958d Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 14 Apr 2025 01:25:40 -0400 Subject: [PATCH 14/15] metrics: add more errors diff --git a/patches/0015-ci-improve-container-image-build-times.patch b/patches/0015-ci-improve-container-image-build-times.patch index 316620f..ad90622 100644 --- a/patches/0015-ci-improve-container-image-build-times.patch +++ b/patches/0015-ci-improve-container-image-build-times.patch @@ -1,12 +1,12 @@ -From 5538e30c2aff030b667fdf7e8d79d77978bc9ba5 Mon Sep 17 00:00:00 2001 +From 1643aa0d359121729c283e53e4b44a56aed37b02 Mon Sep 17 00:00:00 2001 From: Fijxu -Date: Tue, 15 Apr 2025 19:20:52 -0400 +Date: Tue, 15 Apr 2025 19:48:26 -0400 Subject: [PATCH 15/15] ci: improve container image build times --- .github/workflows/docker-build-push.yaml | 2 ++ - Dockerfile | 11 ++++++++--- - 2 files changed, 10 insertions(+), 3 deletions(-) + Dockerfile | 10 ++++++---- + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-build-push.yaml b/.github/workflows/docker-build-push.yaml index 8a79d77..69561fa 100644 @@ -19,7 +19,7 @@ index 8a79d77..69561fa 100644 + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/Dockerfile b/Dockerfile -index 4533e71..a0df4f6 100644 +index 4533e71..bd43ac9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,6 @@ RUN mkdir -p /var/tmp/youtubei.js @@ -32,21 +32,20 @@ index 4533e71..a0df4f6 100644 RUN curl -fsSL https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-$(dpkg --print-architecture) \ --output /tini \ && chmod +x /tini -@@ -23,6 +20,14 @@ RUN arch=$(uname -m) && \ +@@ -23,7 +20,12 @@ RUN arch=$(uname -m) && \ --output /thc \ && chmod +x /thc +-RUN deno task compile +COPY deno.json /app/ +COPY deno.lock /app/ + -+# Dependencies are cached on /deno-dir for the denoland/deno:debian image -+RUN --mount=type=cache,target=/deno-dir deno install -+ +COPY ./src/ /app/src/ + - RUN deno task compile ++RUN --mount=type=cache,target=/deno-dir deno task compile # Stage for creating the non-privileged user + FROM alpine:3.20 AS user-stage -- 2.49.0