From 803311713d43860bcdbba81008544ef2d67bc657 Mon Sep 17 00:00:00 2001
From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
Date: Thu, 26 Jun 2025 15:34:45 -0400
Subject: [PATCH 034/329] make `sort_by` code more legible
---
src/invidious/comments/youtube.cr | 40 +++++++++++++++----------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/src/invidious/comments/youtube.cr b/src/invidious/comments/youtube.cr
index 184036569..e923b2f8d 100644
--- a/src/invidious/comments/youtube.cr
+++ b/src/invidious/comments/youtube.cr
@@ -17,11 +17,20 @@ module Invidious::Comments
end
def fetch_community_post_comments(ucid, post_id, sort_by = "top")
+ case sort_by
+ when "top"
+ sort_by_val = 0_i64
+ when "new", "newest"
+ sort_by_val = 1_i64
+ else # top
+ sort_by_val = 0_i64
+ end
+
object = {
"2:string" => "posts",
"53:embedded" => {
"4:embedded" => {
- "6:varint" => 0_i64,
+ "6:varint" => sort_by_val,
"15:varint" => 2_i64,
"25:varint" => 0_i64,
"29:string" => post_id,
@@ -32,15 +41,6 @@ module Invidious::Comments
},
}
- case sort_by
- when "top"
- object["53:embedded"].as(Hash)["4:embedded"].as(Hash)["6:varint"] = 0_i64
- when "new", "newest"
- object["53:embedded"].as(Hash)["4:embedded"].as(Hash)["6:varint"] = 1_i64
- else # top
- object["53:embedded"].as(Hash)["4:embedded"].as(Hash)["6:varint"] = 0_i64
- end
-
object_parsed = object.try { |i| Protodec::Any.cast_json(i) }
.try { |i| Protodec::Any.from_json(i) }
.try { |i| Base64.urlsafe_encode(i) }
@@ -324,6 +324,15 @@ module Invidious::Comments
end
def produce_continuation(video_id, cursor = "", sort_by = "top")
+ case sort_by
+ when "top"
+ sort_by_val = 0_i64
+ when "new", "newest"
+ sort_by_val = 1_i64
+ else # top
+ sort_by_val = 0_i64
+ end
+
object = {
"2:embedded" => {
"2:string" => video_id,
@@ -344,21 +353,12 @@ module Invidious::Comments
"1:string" => cursor,
"4:embedded" => {
"4:string" => video_id,
- "6:varint" => 0_i64,
+ "6:varint" => sort_by_val,
},
"5:varint" => 20_i64,
},
}
- case sort_by
- when "top"
- object["6:embedded"].as(Hash)["4:embedded"].as(Hash)["6:varint"] = 0_i64
- when "new", "newest"
- object["6:embedded"].as(Hash)["4:embedded"].as(Hash)["6:varint"] = 1_i64
- else # top
- object["6:embedded"].as(Hash)["4:embedded"].as(Hash)["6:varint"] = 0_i64
- end
-
continuation = object.try { |i| Protodec::Any.cast_json(i) }
.try { |i| Protodec::Any.from_json(i) }
.try { |i| Base64.urlsafe_encode(i) }
From 227c041b86c97a5197c673af7efadbaf649f812d Mon Sep 17 00:00:00 2001
From: Nami Sunami
Date: Sat, 28 Jun 2025 11:38:31 +0200
Subject: [PATCH 035/329] fix(config.example.yml): Fix typo (effet -> effect)
---
config/config.example.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/config.example.yml b/config/config.example.yml
index 8d3e62120..e8ab658bb 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -865,7 +865,7 @@ default_user_preferences:
##
## Default dash video quality.
##
- ## Note: this setting only takes effet if the
+ ## Note: this setting only takes effect if the
## 'quality' parameter is set to "dash".
##
## Accepted values:
From 24252b836ceee3bbcfe98a91963439b1bee44dcc Mon Sep 17 00:00:00 2001
From: epicsam123 <92618898+epicsam123@users.noreply.github.com>
Date: Mon, 30 Jun 2025 22:38:30 -0400
Subject: [PATCH 036/329] add back semicolon
---
assets/js/player.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/assets/js/player.js b/assets/js/player.js
index 1a20c932b..7ab3d0e78 100644
--- a/assets/js/player.js
+++ b/assets/js/player.js
@@ -450,7 +450,7 @@ if (!video_data.params.listen && video_data.params.annotations) {
if (target === 'current') {
location.href = path;
} else if (target === 'new') {
- open(path, '_blank', 'noopener,noreferrer')
+ open(path, '_blank', 'noopener,noreferrer');
}
});
From a84bb1d22ed4d59deb50d8ecf72fac1e3a8f3ff4 Mon Sep 17 00:00:00 2001
From: fieryhenry <74794355+fieryhenry@users.noreply.github.com>
Date: Fri, 18 Jul 2025 19:02:50 +0000
Subject: [PATCH 037/329] Fix `TRUE` number of notifications
`update_ticker_count` used to use STORAGE_KEY_STREAM to get the number of notifications which is a boolean value, now it uses STORAGE_KEY_NOTIF_COUNT which is an integer
---
assets/js/notifications.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/assets/js/notifications.js b/assets/js/notifications.js
index 55b7a15c6..b8d73a829 100644
--- a/assets/js/notifications.js
+++ b/assets/js/notifications.js
@@ -77,7 +77,7 @@ function create_notification_stream(subscriptions) {
function update_ticker_count() {
var notification_ticker = document.getElementById('notification_ticker');
- const notification_count = helpers.storage.get(STORAGE_KEY_STREAM);
+ const notification_count = helpers.storage.get(STORAGE_KEY_NOTIF_COUNT);
if (notification_count > 0) {
notification_ticker.innerHTML =
'' + notification_count + ' ';
From 3335bc8c388677517e5c4b86eb917fd3fdace2f8 Mon Sep 17 00:00:00 2001
From: fieryhenry <74794355+fieryhenry@users.noreply.github.com>
Date: Fri, 18 Jul 2025 19:07:41 +0000
Subject: [PATCH 038/329] Get a count of 0 if STORAGE_KEY_NOTIF_COUNT is not
present in storage
Not sure if this is necessary as I think it should always be present in storage, but just in case it isn't
---
assets/js/notifications.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/assets/js/notifications.js b/assets/js/notifications.js
index b8d73a829..16d9866d9 100644
--- a/assets/js/notifications.js
+++ b/assets/js/notifications.js
@@ -77,7 +77,7 @@ function create_notification_stream(subscriptions) {
function update_ticker_count() {
var notification_ticker = document.getElementById('notification_ticker');
- const notification_count = helpers.storage.get(STORAGE_KEY_NOTIF_COUNT);
+ const notification_count = helpers.storage.get(STORAGE_KEY_NOTIF_COUNT) || 0;
if (notification_count > 0) {
notification_ticker.innerHTML =
'' + notification_count + ' ';
From 1ae0f45b0e5dca696986925a06ef4f4b4f43894b Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 12 Aug 2025 15:06:16 +0200
Subject: [PATCH 039/329] Bump actions/checkout from 4 to 5 (#5415)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
.github/workflows/build-nightly-container.yml | 2 +-
.github/workflows/build-stable-container.yml | 2 +-
.github/workflows/ci.yml | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/build-nightly-container.yml b/.github/workflows/build-nightly-container.yml
index 4149bd0bc..2f46997af 100644
--- a/.github/workflows/build-nightly-container.yml
+++ b/.github/workflows/build-nightly-container.yml
@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
diff --git a/.github/workflows/build-stable-container.yml b/.github/workflows/build-stable-container.yml
index 1a23e68ca..74fbd74b4 100644
--- a/.github/workflows/build-stable-container.yml
+++ b/.github/workflows/build-stable-container.yml
@@ -12,7 +12,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9d6a930ad..7a4a70033 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -48,7 +48,7 @@ jobs:
stable: false
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
with:
submodules: true
@@ -87,7 +87,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
- name: Build Docker
run: docker compose build --build-arg release=0
@@ -103,7 +103,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
@@ -131,7 +131,7 @@ jobs:
continue-on-error: true
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
with:
submodules: true
From 875d8e7e41b58cce007cd3cc5fa8d615815c593a Mon Sep 17 00:00:00 2001
From: Eugene Pakhomov
Date: Wed, 13 Aug 2025 13:26:48 +0300
Subject: [PATCH 040/329] Persist caption settings
---
assets/js/player.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/assets/js/player.js b/assets/js/player.js
index f32c9b561..cce0b030a 100644
--- a/assets/js/player.js
+++ b/assets/js/player.js
@@ -5,6 +5,7 @@ var video_data = JSON.parse(document.getElementById('video_data').textContent);
var options = {
liveui: true,
playbackRates: [0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0],
+ persistTextTrackSettings: true,
controlBar: {
children: [
'playToggle',
From dd8086e6d9d4fe79e5645cdc494a22877624cc86 Mon Sep 17 00:00:00 2001
From: Kristian Vos
Date: Wed, 13 Aug 2025 15:43:54 +0200
Subject: [PATCH 041/329] fix: fetching channel playlists returned 500 error
---
src/invidious/channels/playlists.cr | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/invidious/channels/playlists.cr b/src/invidious/channels/playlists.cr
index 9b45d0c86..cba1abd9c 100644
--- a/src/invidious/channels/playlists.cr
+++ b/src/invidious/channels/playlists.cr
@@ -6,19 +6,19 @@ def fetch_channel_playlists(ucid, author, continuation, sort_by)
case sort_by
when "last", "last_added"
# Equivalent to "&sort=lad"
- # {"2:string": "playlists", "3:varint": 4, "4:varint": 1, "6:varint": 1}
- "EglwbGF5bGlzdHMYBCABMAE%3D"
+ # {"2:string": "playlists", "3:varint": 4, "4:varint": 1, "6:varint": 1, "110:embedded": {"1:embedded": {"8:string": ""}}}
+ "EglwbGF5bGlzdHMYBCABMAHyBgQKAkIA"
when "oldest", "oldest_created"
# formerly "&sort=da"
# Not available anymore :c or maybe ??
- # {"2:string": "playlists", "3:varint": 2, "4:varint": 1, "6:varint": 1}
- "EglwbGF5bGlzdHMYAiABMAE%3D"
+ # {"2:string": "playlists", "3:varint": 2, "4:varint": 1, "6:varint": 1, "110:embedded": {"1:embedded": {"8:string": ""}}}
+ "EglwbGF5bGlzdHMYAiABMAHyBgQKAkIA"
# {"2:string": "playlists", "3:varint": 1, "4:varint": 1, "6:varint": 1}
# "EglwbGF5bGlzdHMYASABMAE%3D"
when "newest", "newest_created"
# Formerly "&sort=dd"
- # {"2:string": "playlists", "3:varint": 3, "4:varint": 1, "6:varint": 1}
- "EglwbGF5bGlzdHMYAyABMAE%3D"
+ # {"2:string": "playlists", "3:varint": 3, "4:varint": 1, "6:varint": 1, "110:embedded": {"1:embedded": {"8:string": ""}}}
+ "EglwbGF5bGlzdHMYAyABMAHyBgQKAkIA"
end
initial_data = YoutubeAPI.browse(ucid, params: params || "")
From 67f93e55d8e9be4c81a58920c4651d2eb1327fd6 Mon Sep 17 00:00:00 2001
From: syeopite
Date: Sat, 23 Aug 2025 03:35:59 -0700
Subject: [PATCH 042/329] Fix "ex" variable collision in invidious.cr
The exception handling for database connections results in an
`ex` variable which Ameba sees as overshadowing the `ex` used by the
`ex` block arg used to define the HTTP status code 500 handler below.
Although this is a non-issue since the db connection exception handling
will cause Invidious to exit, Ameba's nature as a static checker means
that it isn't aware of this.
The simplest fix without a dirty ameba ignore comment is to rename `ex`
within the Kemal handler block below, since `ex` within a begin rescue
block is a Crystal convention that will also cause Ameba to raise when
not adhered to.
---
src/invidious.cr | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/invidious.cr b/src/invidious.cr
index 2d244dd20..197b150ca 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -62,8 +62,8 @@ HMAC_KEY = CONFIG.hmac_key
PG_DB = begin
DB.open CONFIG.database_url
-rescue exc
- puts "Failed to connect to PostgreSQL database: #{exc.cause.try &.message}"
+rescue ex
+ puts "Failed to connect to PostgreSQL database: #{ex.cause.try &.message}"
puts "Check your 'config.yml' database settings or PostgreSQL settings."
exit(1)
end
@@ -227,8 +227,8 @@ error 404 do |env|
Invidious::Routes::ErrorRoutes.error_404(env)
end
-error 500 do |env, ex|
- error_template(500, ex)
+error 500 do |env, exception|
+ error_template(500, exception)
end
static_headers do |env|
From 89c8b1b901062c729370370116aa9127a39cd214 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Tue, 2 Sep 2025 10:57:29 -0400
Subject: [PATCH 043/329] CI: fix wrong if statement for build-docker job
(#5442)
---
.github/workflows/ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 52559825d..ce166b7b7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -99,7 +99,7 @@ jobs:
- uses: actions/checkout@v5
- name: Use ARM64 Dockerfile if ARM64
- if: ${{ matrix.name }} == "ARM64"
+ if: ${{ matrix.name == 'ARM64' }}
run: sed -i 's/Dockerfile/Dockerfile.arm64/' docker-compose.yml
- name: Build Docker
From 324a416fd47cb7adbfdda20622dd0f47b60dd661 Mon Sep 17 00:00:00 2001
From: Emilien <4016501+unixfox@users.noreply.github.com>
Date: Sat, 3 May 2025 01:10:12 +0200
Subject: [PATCH 044/329] initial support for base_url with invidious companion
+ proxy invidious_companion
---
config/config.example.yml | 6 ++--
src/invidious/routes/companion.cr | 37 +++++++++++++++++++++
src/invidious/routes/embed.cr | 8 +++--
src/invidious/routes/watch.cr | 8 +++--
src/invidious/routing.cr | 9 ++++-
src/invidious/yt_backend/connection_pool.cr | 34 ++++++++++++++-----
src/invidious/yt_backend/youtube_api.cr | 30 ++++++++++-------
7 files changed, 103 insertions(+), 29 deletions(-)
create mode 100644 src/invidious/routes/companion.cr
diff --git a/config/config.example.yml b/config/config.example.yml
index e8ab658bb..60fbc825e 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -75,7 +75,7 @@ db:
## If you are using a reverse proxy then you will probably need to
## configure the public_url to be the same as the domain used for Invidious.
## Also apply when used from an external IP address (without a domain).
-## Examples: https://MYINVIDIOUSDOMAIN or http://192.168.1.100:8282
+## Examples: https://MYINVIDIOUSDOMAIN/companion or http://192.168.1.100:8282/companion
##
## Both parameter can have identical URL when Invidious is hosted in
## an internal network or at home or locally (localhost).
@@ -84,8 +84,8 @@ db:
## Default:
##
#invidious_companion:
-# - private_url: "http://localhost:8282"
-# public_url: "http://localhost:8282"
+# - private_url: "http://localhost:8282/companion"
+# public_url: "http://localhost:8282/companion"
##
## API key for Invidious companion, used for securing the communication
diff --git a/src/invidious/routes/companion.cr b/src/invidious/routes/companion.cr
new file mode 100644
index 000000000..23b62e9dc
--- /dev/null
+++ b/src/invidious/routes/companion.cr
@@ -0,0 +1,37 @@
+module Invidious::Routes::Companion
+ # /companion
+ def self.get_companion(env)
+ url = env.request.path.lchop("/companion")
+
+ begin
+ COMPANION_POOL.client &.get(url, env.request.header) do |resp|
+ return self.proxy_companion(env, resp)
+ end
+ rescue ex
+ end
+ end
+
+ def self.options_companion(env)
+ url = env.request.path.lchop("/companion")
+
+ begin
+ COMPANION_POOL.client &.options(url, env.request.header) do |resp|
+ return self.proxy_companion(env, resp)
+ end
+ rescue ex
+ end
+ end
+
+ private def self.proxy_companion(env, response)
+ env.response.status_code = response.status_code
+ response.headers.each do |key, value|
+ env.response.headers[key] = value
+ end
+
+ if response.status_code >= 300
+ return env.response.headers.delete("Transfer-Encoding")
+ end
+
+ return proxy_file(response, env)
+ end
+end
diff --git a/src/invidious/routes/embed.cr b/src/invidious/routes/embed.cr
index 721a57f83..2fb7bebf6 100644
--- a/src/invidious/routes/embed.cr
+++ b/src/invidious/routes/embed.cr
@@ -209,10 +209,14 @@ module Invidious::Routes::Embed
if CONFIG.invidious_companion.present?
invidious_companion = CONFIG.invidious_companion.sample
+ invidious_companion_urls = CONFIG.invidious_companion.map do |companion|
+ uri =
+ "#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
+ end.join(" ")
env.response.headers["Content-Security-Policy"] =
env.response.headers["Content-Security-Policy"]
- .gsub("media-src", "media-src #{invidious_companion.public_url}")
- .gsub("connect-src", "connect-src #{invidious_companion.public_url}")
+ .gsub("media-src", "media-src #{invidious_companion_urls}")
+ .gsub("connect-src", "connect-src #{invidious_companion_urls}")
end
rendered "embed"
diff --git a/src/invidious/routes/watch.cr b/src/invidious/routes/watch.cr
index e777b3f18..a50a146d3 100644
--- a/src/invidious/routes/watch.cr
+++ b/src/invidious/routes/watch.cr
@@ -194,10 +194,14 @@ module Invidious::Routes::Watch
if CONFIG.invidious_companion.present?
invidious_companion = CONFIG.invidious_companion.sample
+ invidious_companion_urls = CONFIG.invidious_companion.map do |companion|
+ uri =
+ "#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
+ end.join(" ")
env.response.headers["Content-Security-Policy"] =
env.response.headers["Content-Security-Policy"]
- .gsub("media-src", "media-src #{invidious_companion.public_url}")
- .gsub("connect-src", "connect-src #{invidious_companion.public_url}")
+ .gsub("media-src", "media-src #{invidious_companion_urls}")
+ .gsub("connect-src", "connect-src #{invidious_companion_urls}")
end
templated "watch"
diff --git a/src/invidious/routing.cr b/src/invidious/routing.cr
index 46b71f1f9..b95ac7067 100644
--- a/src/invidious/routing.cr
+++ b/src/invidious/routing.cr
@@ -188,7 +188,7 @@ module Invidious::Routing
end
# -------------------
- # Media proxy routes
+ # Proxy routes
# -------------------
def register_api_manifest_routes
@@ -223,6 +223,13 @@ module Invidious::Routing
get "/vi/:id/:name", Routes::Images, :thumbnails
end
+ def register_companion_routes
+ if CONFIG.invidious_companion.present?
+ get "/companion/*", Routes::Companion, :get_companion
+ options "/companion/*", Routes::Companion, :options_companion
+ end
+ end
+
# -------------------
# API routes
# -------------------
diff --git a/src/invidious/yt_backend/connection_pool.cr b/src/invidious/yt_backend/connection_pool.cr
index 0daed46c5..97ce7c403 100644
--- a/src/invidious/yt_backend/connection_pool.cr
+++ b/src/invidious/yt_backend/connection_pool.cr
@@ -46,8 +46,22 @@ struct YoutubeConnectionPool
end
end
+class CompanionWrapper
+ property client : HTTP::Client
+ property companion : Config::CompanionConfig
+
+ def initialize(companion : Config::CompanionConfig)
+ @companion = companion
+ @client = HTTP::Client.new(companion.private_url)
+ end
+
+ def close
+ @client.close
+ end
+end
+
struct CompanionConnectionPool
- property pool : DB::Pool(HTTP::Client)
+ property pool : DB::Pool(CompanionWrapper)
def initialize(capacity = 5, timeout = 5.0)
options = DB::Pool::Options.new(
@@ -57,26 +71,28 @@ struct CompanionConnectionPool
checkout_timeout: timeout
)
- @pool = DB::Pool(HTTP::Client).new(options) do
+ @pool = DB::Pool(CompanionWrapper).new(options) do
companion = CONFIG.invidious_companion.sample
- next make_client(companion.private_url, use_http_proxy: false)
+ client = make_client(companion.private_url, use_http_proxy: false)
+ CompanionWrapper.new(companion: companion)
end
end
def client(&)
- conn = pool.checkout
+ wrapper = pool.checkout
begin
- response = yield conn
+ response = yield wrapper
rescue ex
- conn.close
+ wrapper.client.close
companion = CONFIG.invidious_companion.sample
- conn = make_client(companion.private_url, use_http_proxy: false)
+ client = make_client(companion.private_url, use_http_proxy: false)
+ wrapper = CompanionWrapper.new(companion: companion)
- response = yield conn
+ response = yield wrapper
ensure
- pool.release(conn)
+ pool.release(wrapper)
end
response
diff --git a/src/invidious/yt_backend/youtube_api.cr b/src/invidious/yt_backend/youtube_api.cr
index d287a42f7..f87e3091d 100644
--- a/src/invidious/yt_backend/youtube_api.cr
+++ b/src/invidious/yt_backend/youtube_api.cr
@@ -701,22 +701,28 @@ module YoutubeAPI
# Send the POST request
begin
- response = COMPANION_POOL.client &.post(endpoint, headers: headers, body: data.to_json)
- body = response.body
- if (response.status_code != 200)
- raise Exception.new(
- "Error while communicating with Invidious companion: \
- status code: #{response.status_code} and body: #{body.dump}"
- )
+ response_body = ""
+
+ COMPANION_POOL.client do |wrapper|
+ companion_base_url = wrapper.companion.private_url.path
+ puts "Using companion: #{wrapper.companion.private_url}"
+
+ response = wrapper.client.post(companion_base_url + endpoint, headers: headers, body: data.to_json)
+ response_body = response.body
+
+ if response.status_code != 200
+ raise Exception.new(
+ "Error while communicating with Invidious companion: " \
+ "status code: #{response.status_code} and body: #{response_body.dump}"
+ )
+ end
end
+
+ # Convert result to Hash
+ return JSON.parse(response_body).as_h
rescue ex
raise InfoException.new("Error while communicating with Invidious companion: " + (ex.message || "no extra info found"))
end
-
- # Convert result to Hash
- initial_data = JSON.parse(body).as_h
-
- return initial_data
end
####################################################################
From 42b955d713c54632f1886641dcedac27ee625c8a Mon Sep 17 00:00:00 2001
From: Emilien <4016501+unixfox@users.noreply.github.com>
Date: Sat, 14 Jun 2025 18:01:44 +0200
Subject: [PATCH 045/329] chore: add the suggestions
---
src/invidious/routes/before_all.cr | 1 +
src/invidious/routes/companion.cr | 6 +-----
src/invidious/yt_backend/connection_pool.cr | 15 ++++++++++-----
src/invidious/yt_backend/youtube_api.cr | 16 ++++------------
4 files changed, 16 insertions(+), 22 deletions(-)
diff --git a/src/invidious/routes/before_all.cr b/src/invidious/routes/before_all.cr
index b52696687..63b935ec6 100644
--- a/src/invidious/routes/before_all.cr
+++ b/src/invidious/routes/before_all.cr
@@ -63,6 +63,7 @@ module Invidious::Routes::BeforeAll
"/videoplayback",
"/latest_version",
"/download",
+ "/companion/",
}.any? { |r| env.request.resource.starts_with? r }
if env.request.cookies.has_key? "SID"
diff --git a/src/invidious/routes/companion.cr b/src/invidious/routes/companion.cr
index 23b62e9dc..cd7ed4227 100644
--- a/src/invidious/routes/companion.cr
+++ b/src/invidious/routes/companion.cr
@@ -28,10 +28,6 @@ module Invidious::Routes::Companion
env.response.headers[key] = value
end
- if response.status_code >= 300
- return env.response.headers.delete("Transfer-Encoding")
- end
-
- return proxy_file(response, env)
+ return IO.copy response.body_io, env.response
end
end
diff --git a/src/invidious/yt_backend/connection_pool.cr b/src/invidious/yt_backend/connection_pool.cr
index 97ce7c403..45455a8a7 100644
--- a/src/invidious/yt_backend/connection_pool.cr
+++ b/src/invidious/yt_backend/connection_pool.cr
@@ -46,13 +46,18 @@ struct YoutubeConnectionPool
end
end
-class CompanionWrapper
+# Packages a `HTTP::Client` to an Invidious companion instance alongside the configuration for that instance.
+#
+# This is used as the resource for the `CompanionPool` as to allow the ability to
+# proxy the requests to Invidious companion from Invidious directly.
+# Instead of setting up routes in a reverse proxy.
+struct CompanionWrapper
property client : HTTP::Client
property companion : Config::CompanionConfig
def initialize(companion : Config::CompanionConfig)
@companion = companion
- @client = HTTP::Client.new(companion.private_url)
+ @client = make_client(companion.private_url, use_http_proxy: false)
end
def close
@@ -73,7 +78,7 @@ struct CompanionConnectionPool
@pool = DB::Pool(CompanionWrapper).new(options) do
companion = CONFIG.invidious_companion.sample
- client = make_client(companion.private_url, use_http_proxy: false)
+ make_client(companion.private_url, use_http_proxy: false)
CompanionWrapper.new(companion: companion)
end
end
@@ -84,10 +89,10 @@ struct CompanionConnectionPool
begin
response = yield wrapper
rescue ex
- wrapper.client.close
+ wrapper.close
companion = CONFIG.invidious_companion.sample
- client = make_client(companion.private_url, use_http_proxy: false)
+ make_client(companion.private_url, use_http_proxy: false)
wrapper = CompanionWrapper.new(companion: companion)
response = yield wrapper
diff --git a/src/invidious/yt_backend/youtube_api.cr b/src/invidious/yt_backend/youtube_api.cr
index f87e3091d..4b39acd74 100644
--- a/src/invidious/yt_backend/youtube_api.cr
+++ b/src/invidious/yt_backend/youtube_api.cr
@@ -701,25 +701,17 @@ module YoutubeAPI
# Send the POST request
begin
- response_body = ""
+ response_body = Hash(String, JSON::Any).new
COMPANION_POOL.client do |wrapper|
companion_base_url = wrapper.companion.private_url.path
- puts "Using companion: #{wrapper.companion.private_url}"
- response = wrapper.client.post(companion_base_url + endpoint, headers: headers, body: data.to_json)
- response_body = response.body
-
- if response.status_code != 200
- raise Exception.new(
- "Error while communicating with Invidious companion: " \
- "status code: #{response.status_code} and body: #{response_body.dump}"
- )
+ wrapper.client.post("#{companion_base_url}#{endpoint}", headers: headers, body: data.to_json) do | response |
+ response_body = JSON.parse(response.body_io).as_h
end
end
- # Convert result to Hash
- return JSON.parse(response_body).as_h
+ return response_body
rescue ex
raise InfoException.new("Error while communicating with Invidious companion: " + (ex.message || "no extra info found"))
end
From cba2adc6ef19d52736356a84af21fa513c7b3f74 Mon Sep 17 00:00:00 2001
From: Emilien <4016501+unixfox@users.noreply.github.com>
Date: Sat, 14 Jun 2025 19:10:52 +0200
Subject: [PATCH 046/329] fix csp + progress proxy + allow omit public_url
---
config/config.example.yml | 8 ++++++++
src/invidious/config.cr | 11 +++++++++++
src/invidious/routes/companion.cr | 23 +++++++++++++++++------
src/invidious/routes/embed.cr | 13 ++++++++-----
src/invidious/routes/watch.cr | 13 ++++++++-----
src/invidious/routing.cr | 1 +
6 files changed, 53 insertions(+), 16 deletions(-)
diff --git a/config/config.example.yml b/config/config.example.yml
index 60fbc825e..cabbecfd7 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -80,12 +80,20 @@ db:
## Both parameter can have identical URL when Invidious is hosted in
## an internal network or at home or locally (localhost).
##
+## NOTE: If public_url is omitted, Invidious will use its built-in proxy
+## to route companion requests through /companion, which is useful for
+## simple setups where companion runs on the same network. When using
+## the built-in proxy, CSP headers are not modified since requests
+## stay within the same domain.
+##
## Accepted values: "http(s)://:"
## Default:
##
#invidious_companion:
# - private_url: "http://localhost:8282/companion"
# public_url: "http://localhost:8282/companion"
+# # Example with built-in proxy (omit public_url):
+# # - private_url: "http://localhost:8282/companion"
##
## API key for Invidious companion, used for securing the communication
diff --git a/src/invidious/config.cr b/src/invidious/config.cr
index 4d69854c4..e47e405ce 100644
--- a/src/invidious/config.cr
+++ b/src/invidious/config.cr
@@ -82,6 +82,9 @@ class Config
@[YAML::Field(converter: Preferences::URIConverter)]
property public_url : URI = URI.parse("")
+
+ # Indicates if this companion instance uses the built-in proxy
+ property builtin_proxy : Bool = false
end
# Number of threads to use for crawling videos from channels (for updating subscriptions)
@@ -271,6 +274,14 @@ class Config
puts "Config: The value of 'invidious_companion_key' needs to be a size of 16 characters."
exit(1)
end
+
+ # Set public_url to built-in proxy path when omitted
+ config.invidious_companion.each do |companion|
+ if companion.public_url.to_s.empty?
+ companion.public_url = URI.parse("/companion")
+ companion.builtin_proxy = true
+ end
+ end
elsif config.signature_server
puts("WARNING: inv-sig-helper is deprecated. Please switch to Invidious companion: https://docs.invidious.io/companion-installation/")
else
diff --git a/src/invidious/routes/companion.cr b/src/invidious/routes/companion.cr
index cd7ed4227..bcfbad6bf 100644
--- a/src/invidious/routes/companion.cr
+++ b/src/invidious/routes/companion.cr
@@ -1,22 +1,33 @@
module Invidious::Routes::Companion
# /companion
def self.get_companion(env)
- url = env.request.path.lchop("/companion")
+ url = env.request.path
+ if env.request.query
+ url += "?#{env.request.query}"
+ end
begin
- COMPANION_POOL.client &.get(url, env.request.header) do |resp|
- return self.proxy_companion(env, resp)
+ COMPANION_POOL.client do |wrapper|
+ puts env.request.headers
+ wrapper.client.get(url, env.request.headers) do |resp|
+ return self.proxy_companion(env, resp)
+ end
end
rescue ex
end
end
def self.options_companion(env)
- url = env.request.path.lchop("/companion")
+ url = env.request.path
+ if env.request.query
+ url += "?#{env.request.query}"
+ end
begin
- COMPANION_POOL.client &.options(url, env.request.header) do |resp|
- return self.proxy_companion(env, resp)
+ COMPANION_POOL.client do |wrapper|
+ wrapper.client.options(url, env.request.headers) do |resp|
+ return self.proxy_companion(env, resp)
+ end
end
rescue ex
end
diff --git a/src/invidious/routes/embed.cr b/src/invidious/routes/embed.cr
index 2fb7bebf6..1318b2909 100644
--- a/src/invidious/routes/embed.cr
+++ b/src/invidious/routes/embed.cr
@@ -209,14 +209,17 @@ module Invidious::Routes::Embed
if CONFIG.invidious_companion.present?
invidious_companion = CONFIG.invidious_companion.sample
- invidious_companion_urls = CONFIG.invidious_companion.map do |companion|
+ invidious_companion_urls = CONFIG.invidious_companion.reject(&.builtin_proxy).map do |companion|
uri =
"#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
end.join(" ")
- env.response.headers["Content-Security-Policy"] =
- env.response.headers["Content-Security-Policy"]
- .gsub("media-src", "media-src #{invidious_companion_urls}")
- .gsub("connect-src", "connect-src #{invidious_companion_urls}")
+
+ if !invidious_companion_urls.empty?
+ env.response.headers["Content-Security-Policy"] =
+ env.response.headers["Content-Security-Policy"]
+ .gsub("media-src", "media-src #{invidious_companion_urls}")
+ .gsub("connect-src", "connect-src #{invidious_companion_urls}")
+ end
end
rendered "embed"
diff --git a/src/invidious/routes/watch.cr b/src/invidious/routes/watch.cr
index a50a146d3..838934579 100644
--- a/src/invidious/routes/watch.cr
+++ b/src/invidious/routes/watch.cr
@@ -194,14 +194,17 @@ module Invidious::Routes::Watch
if CONFIG.invidious_companion.present?
invidious_companion = CONFIG.invidious_companion.sample
- invidious_companion_urls = CONFIG.invidious_companion.map do |companion|
+ invidious_companion_urls = CONFIG.invidious_companion.reject(&.builtin_proxy).map do |companion|
uri =
"#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
end.join(" ")
- env.response.headers["Content-Security-Policy"] =
- env.response.headers["Content-Security-Policy"]
- .gsub("media-src", "media-src #{invidious_companion_urls}")
- .gsub("connect-src", "connect-src #{invidious_companion_urls}")
+
+ if !invidious_companion_urls.empty?
+ env.response.headers["Content-Security-Policy"] =
+ env.response.headers["Content-Security-Policy"]
+ .gsub("media-src", "media-src #{invidious_companion_urls}")
+ .gsub("connect-src", "connect-src #{invidious_companion_urls}")
+ end
end
templated "watch"
diff --git a/src/invidious/routing.cr b/src/invidious/routing.cr
index b95ac7067..a51bb4b67 100644
--- a/src/invidious/routing.cr
+++ b/src/invidious/routing.cr
@@ -46,6 +46,7 @@ module Invidious::Routing
self.register_api_v1_routes
self.register_api_manifest_routes
self.register_video_playback_routes
+ self.register_companion_routes
end
# -------------------
From 1653dd629e34bf4e5dc081ac15c070607e7d2908 Mon Sep 17 00:00:00 2001
From: Emilien <4016501+unixfox@users.noreply.github.com>
Date: Sat, 14 Jun 2025 22:35:11 +0200
Subject: [PATCH 047/329] fix formatting
---
src/invidious/routes/embed.cr | 2 +-
src/invidious/routes/watch.cr | 2 +-
src/invidious/yt_backend/connection_pool.cr | 2 +-
src/invidious/yt_backend/youtube_api.cr | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/invidious/routes/embed.cr b/src/invidious/routes/embed.cr
index 1318b2909..6b0887d52 100644
--- a/src/invidious/routes/embed.cr
+++ b/src/invidious/routes/embed.cr
@@ -213,7 +213,7 @@ module Invidious::Routes::Embed
uri =
"#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
end.join(" ")
-
+
if !invidious_companion_urls.empty?
env.response.headers["Content-Security-Policy"] =
env.response.headers["Content-Security-Policy"]
diff --git a/src/invidious/routes/watch.cr b/src/invidious/routes/watch.cr
index 838934579..8a4fa2468 100644
--- a/src/invidious/routes/watch.cr
+++ b/src/invidious/routes/watch.cr
@@ -198,7 +198,7 @@ module Invidious::Routes::Watch
uri =
"#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
end.join(" ")
-
+
if !invidious_companion_urls.empty?
env.response.headers["Content-Security-Policy"] =
env.response.headers["Content-Security-Policy"]
diff --git a/src/invidious/yt_backend/connection_pool.cr b/src/invidious/yt_backend/connection_pool.cr
index 45455a8a7..42241d159 100644
--- a/src/invidious/yt_backend/connection_pool.cr
+++ b/src/invidious/yt_backend/connection_pool.cr
@@ -47,7 +47,7 @@ struct YoutubeConnectionPool
end
# Packages a `HTTP::Client` to an Invidious companion instance alongside the configuration for that instance.
-#
+#
# This is used as the resource for the `CompanionPool` as to allow the ability to
# proxy the requests to Invidious companion from Invidious directly.
# Instead of setting up routes in a reverse proxy.
diff --git a/src/invidious/yt_backend/youtube_api.cr b/src/invidious/yt_backend/youtube_api.cr
index 4b39acd74..6fa8ae0ec 100644
--- a/src/invidious/yt_backend/youtube_api.cr
+++ b/src/invidious/yt_backend/youtube_api.cr
@@ -706,7 +706,7 @@ module YoutubeAPI
COMPANION_POOL.client do |wrapper|
companion_base_url = wrapper.companion.private_url.path
- wrapper.client.post("#{companion_base_url}#{endpoint}", headers: headers, body: data.to_json) do | response |
+ wrapper.client.post("#{companion_base_url}#{endpoint}", headers: headers, body: data.to_json) do |response|
response_body = JSON.parse(response.body_io).as_h
end
end
From 5e9d51c06e387ea38108234406cfa0aa5e6fc12c Mon Sep 17 00:00:00 2001
From: syeopite
Date: Wed, 28 May 2025 15:38:49 -0700
Subject: [PATCH 048/329] Refactor `FilteredCompressHandler` to inherit from
stdlib
This changes its behavior to align with the stdlib variant in that
compression is now delayed till the moment that the server begins to
send a response.
This allows the handler to avoid compressing empty responses,and
safeguards against any double compression of content that may occur
if another handler decides to compressi ts response.
This does however come at the drawback(?) of it now removing
`content-length` headers on requests if it exists; since compression
makes the value inaccurate anyway.
See: https://github.com/crystal-lang/crystal/pull/9625
---
src/invidious/helpers/handlers.cr | 23 ++++-------------------
1 file changed, 4 insertions(+), 19 deletions(-)
diff --git a/src/invidious/helpers/handlers.cr b/src/invidious/helpers/handlers.cr
index 13ea9fe95..7c5ef1185 100644
--- a/src/invidious/helpers/handlers.cr
+++ b/src/invidious/helpers/handlers.cr
@@ -61,28 +61,13 @@ class Kemal::ExceptionHandler
end
end
-class FilteredCompressHandler < Kemal::Handler
+class FilteredCompressHandler < HTTP::CompressHandler
exclude ["/videoplayback", "/videoplayback/*", "/vi/*", "/sb/*", "/ggpht/*", "/api/v1/auth/notifications"]
exclude ["/api/v1/auth/notifications", "/data_control"], "POST"
- def call(env)
- return call_next env if exclude_match? env
-
- {% if flag?(:without_zlib) %}
- call_next env
- {% else %}
- request_headers = env.request.headers
-
- if request_headers.includes_word?("Accept-Encoding", "gzip")
- env.response.headers["Content-Encoding"] = "gzip"
- env.response.output = Compress::Gzip::Writer.new(env.response.output, sync_close: true)
- elsif request_headers.includes_word?("Accept-Encoding", "deflate")
- env.response.headers["Content-Encoding"] = "deflate"
- env.response.output = Compress::Deflate::Writer.new(env.response.output, sync_close: true)
- end
-
- call_next env
- {% end %}
+ def call(context)
+ return call_next context if exclude_match? context
+ super
end
end
From 21c13bba9ddee5db02b7584efe5ae5912cbeabd6 Mon Sep 17 00:00:00 2001
From: Emilien <4016501+unixfox@users.noreply.github.com>
Date: Wed, 3 Sep 2025 15:57:48 +0200
Subject: [PATCH 049/329] chore: use api captions from companion when available
---
src/invidious/views/components/player.ecr | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/invidious/views/components/player.ecr b/src/invidious/views/components/player.ecr
index af3521025..85fa4373f 100644
--- a/src/invidious/views/components/player.ecr
+++ b/src/invidious/views/components/player.ecr
@@ -65,12 +65,18 @@
<% end %>
<% end %>
- <% preferred_captions.each do |caption| %>
-
+ <% if user = env.get?("user").try &.as(User) %>
+ <% playlists = Invidious::Database::Playlists.select_user_created_playlists(user.email) %>
+
+
+
+
+ <% end %>
+
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index 6f9ced6fc..fada6361b 100644
--- a/src/invidious/views/watch.ecr
+++ b/src/invidious/views/watch.ecr
@@ -163,7 +163,7 @@ we're going to need to do it here in order to allow for translations.
From 97783f84c13b12ba0f6aadf416f6f82a0f6a24d7 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:11 +0200
Subject: [PATCH 055/329] Update Turkish translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Bora Atıcı
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/tr.json | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/locales/tr.json b/locales/tr.json
index cf3f89879..081629731 100644
--- a/locales/tr.json
+++ b/locales/tr.json
@@ -39,8 +39,6 @@
"User ID": "Kullanıcı Kimliği",
"Password": "Parola",
"Time (h:mm:ss):": "Zaman (h:mm:ss):",
- "Text CAPTCHA": "Metin CAPTCHA",
- "Image CAPTCHA": "Resim CAPTCHA",
"Sign In": "Oturum Aç",
"Register": "Kayıt Ol",
"E-mail": "E-Posta",
@@ -501,5 +499,8 @@
"First page": "İlk sayfa",
"Filipino (auto-generated)": "Filipince (oto-oluşturuldu)",
"channel_tab_courses_label": "Kurslar",
- "channel_tab_posts_label": "Yazılar"
+ "channel_tab_posts_label": "Yazılar",
+ "timeline_parse_error_placeholder_heading": "Öge ayrıştıramıyor",
+ "timeline_parse_error_placeholder_message": "Invidious, bu ögeyi ayrıştırmaya çalışırken bir hatayla karşılaştı. Daha fazla bilgi için aşağıya bakın:",
+ "timeline_parse_error_show_technical_details": "Teknik ayrıntıları göster"
}
From ae75c142d0d43810f80507a822275c0c962efcf8 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:12 +0200
Subject: [PATCH 056/329] Update Latvian translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update Latvian translation
Co-authored-by: Hosted Weblate
Co-authored-by: ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)
---
locales/lv.json | 76 ++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 75 insertions(+), 1 deletion(-)
diff --git a/locales/lv.json b/locales/lv.json
index a867c8f3d..12d7feefa 100644
--- a/locales/lv.json
+++ b/locales/lv.json
@@ -65,5 +65,79 @@
"youtube": "YouTube",
"Add to playlist: ": "Pievienot atskaņošanas sarakstam: ",
"Subscribe": "Abonēt",
- "View channel on YouTube": "Skatīt kanālu YouTube vietnē"
+ "View channel on YouTube": "Skatīt kanālu YouTube vietnē",
+ "LIVE": "TIEŠRAIDE",
+ "Export": "Izgūt",
+ "preferences_dark_mode_label": "Motīvs: ",
+ "published": "Publicēšanas datuma",
+ "preferences_sort_label": "Kārtot video pēc: ",
+ "search_filters_sort_label": "Kārtot pēc",
+ "search_filters_sort_option_date": "Augšupielādes datuma",
+ "search_filters_sort_option_views": "Skatījumu skaita",
+ "published - reverse": "Publicēšanas datuma apgrieztā secībā",
+ "generic_views_count_0": "{{count}} skatījumi",
+ "generic_views_count_1": "{{count}} skatījums",
+ "generic_views_count_2": "{{count}} skatījumi",
+ "generic_videos_count_0": "{{count}} video",
+ "generic_videos_count_1": "{{count}} video",
+ "generic_videos_count_2": "{{count}} video",
+ "generic_playlists_count_0": "{{count}} atskaņošanas saraksti",
+ "generic_playlists_count_1": "{{count}} atskaņošanas saraksts",
+ "generic_playlists_count_2": "{{count}} atskaņošanas saraksti",
+ "generic_subscriptions_count_0": "{{count}} abonementi",
+ "generic_subscriptions_count_1": "{{count}} abonements",
+ "generic_subscriptions_count_2": "{{count}} abonementi",
+ "subscriptions_unseen_notifs_count_0": "{{count}} jauni paziņojumi",
+ "subscriptions_unseen_notifs_count_1": "{{count}} jauns paziņojums",
+ "subscriptions_unseen_notifs_count_2": "{{count}} jauni paziņojumi",
+ "comments_view_x_replies_0": "Skatīt {{count}} atbildes",
+ "comments_view_x_replies_1": "Skatīt {{count}} atbildi",
+ "comments_view_x_replies_2": "Skatīt {{count}} atbildes",
+ "generic_count_years_0": "{{count}} gadi",
+ "generic_count_years_1": "{{count}} gads",
+ "generic_count_years_2": "{{count}} gadi",
+ "generic_count_months_0": "{{count}} mēneši",
+ "generic_count_months_1": "{{count}} mēnesis",
+ "generic_count_months_2": "{{count}} mēneši",
+ "generic_count_weeks_0": "{{count}} nedēļas",
+ "generic_count_weeks_1": "{{count}} nedēļa",
+ "generic_count_weeks_2": "{{count}} nedēļas",
+ "generic_count_days_0": "{{count}} dienas",
+ "generic_count_days_1": "{{count}} diena",
+ "generic_count_days_2": "{{count}} dienas",
+ "generic_count_hours_0": "{{count}} stundas",
+ "generic_count_hours_1": "{{count}} stunda",
+ "generic_count_hours_2": "{{count}} stundas",
+ "generic_count_minutes_0": "{{count}} minūtes",
+ "generic_count_minutes_1": "{{count}} minūte",
+ "generic_count_minutes_2": "{{count}} minūtes",
+ "generic_count_seconds_0": "{{count}} sekundes",
+ "generic_count_seconds_1": "{{count}} sekunde",
+ "generic_count_seconds_2": "{{count}} sekundes",
+ "Import YouTube playlist (.csv)": "Ievietot YouTube atskaņošanas sarakstu (.csv)",
+ "Import YouTube watch history (.json)": "Ievietot YouTube skatīto video vēsturi (.json)",
+ "Import FreeTube subscriptions (.db)": "Ievietot FreeTube abonementus (.db)",
+ "Import NewPipe subscriptions (.json)": "Ievietot NewPipe abonementus (.json)",
+ "Import NewPipe data (.zip)": "Ievietot NewPipe datus (.zip)",
+ "Export subscriptions as OPML": "Izgūt abonementus OPML formātā",
+ "Export subscriptions as OPML (for NewPipe & FreeTube)": "Izgūt abonementus OPML formātā (der NewPipe un FreeTube lietotnēm)",
+ "preferences_max_results_label": "Video skaits plūsmā: ",
+ "channel name": "kanāla nosaukuma",
+ "channel name - reverse": "kanāla nosaukuma apgrieztā secībā",
+ "preferences_unseen_only_label": "Rādīt tikai neskatītos video: ",
+ "Enable web notifications": "Iespējot paziņojumus pārlūkā",
+ "`x` uploaded a video": "`x` augšupielādēja video",
+ "Watch history": "Skatīto video vēsture",
+ "Delete account": "Dzēst kontu",
+ "Save preferences": "Saglabāt iestatījumus",
+ "Import/export": "Ievietot/Izgūt",
+ "Released under the AGPLv3 on Github.": "Izvietots GitHub saskaņā ar AGPLv3 licenci.",
+ "Source available here.": "Pirmkods pieejams šeit.",
+ "View JavaScript license information.": "Skatīt JavaScript licences informāciju.",
+ "Public": "Publisks",
+ "Private": "Privāts",
+ "View all playlists": "Skatīt visus atskaņošanas sarakstus",
+ "Delete playlist `x`?": "Vai tiešām dzēst `x` atskaņošanas sarakstu?",
+ "Delete playlist": "Dzēst atskaņošanas sarakstu",
+ "Create playlist": "Izveidot atskaņošanas sarakstu"
}
From c28fb22db54a698520396e0081b014815802ff79 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:13 +0200
Subject: [PATCH 057/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/lt.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/lt.json b/locales/lt.json
index 740be7b6a..6f0a58bb4 100644
--- a/locales/lt.json
+++ b/locales/lt.json
@@ -39,8 +39,6 @@
"User ID": "Naudotojo ID",
"Password": "Slaptažodis",
"Time (h:mm:ss):": "Laikas (h:mm:ss):",
- "Text CAPTCHA": "CAPTCHA tekstas",
- "Image CAPTCHA": "CAPTCHA paveikslėlis",
"Sign In": "Prisijungti",
"Register": "Registruotis",
"E-mail": "El. paštas",
From d38f5d0ab70baa0327f3b73e29ab4c055ca926f6 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:16 +0200
Subject: [PATCH 058/329] Update Turkmen translation
Co-authored-by: Hosted Weblate
Co-authored-by: Hydyr Sopyyew
---
locales/tk.json | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/locales/tk.json b/locales/tk.json
index 798ea6ce4..b540abb1b 100644
--- a/locales/tk.json
+++ b/locales/tk.json
@@ -1,7 +1,26 @@
{
- "Add to playlist": "Aýdym sanawyna goş",
+ "Add to playlist": "Pleýer Sanawa goş",
"Add to playlist: ": "Pleýliste goş: ",
"Answer": "Jogap",
"Search for videos": "Wideo gözläň",
- "The Popular feed has been disabled by the administrator.": "Trende bolan administrator tarapyndan ýapyldy."
+ "The Popular feed has been disabled by the administrator.": "Trende bolan administrator tarapyndan ýapyldy.",
+ "generic_views_count": "{{count}} gezek görülen",
+ "generic_views_count_plural": "{{count}} görülen",
+ "generic_button_delete": "Öçür",
+ "generic_button_save": "Ýatda sakla",
+ "generic_button_cancel": "Goýbolsun",
+ "generic_button_rss": "RSS",
+ "LIVE": "Efif",
+ "generic_playlists_count": "{{count}} Oýnaw sanawy",
+ "generic_playlists_count_plural": "{{count}} Oýnaw sanawlary",
+ "generic_subscribers_count": "{{count}} abuna",
+ "generic_subscribers_count_plural": "{{count}} abunaçalar",
+ "generic_subscriptions_count": "{{count}} abuna",
+ "generic_subscriptions_count_plural": "{{count}} abunalar",
+ "generic_button_edit": "Üýtget",
+ "generic_videos_count": "{{count}} widýo",
+ "generic_videos_count_plural": "{{count}} widýolar",
+ "Shared `x` ago": "`x` öň paýlaşyldy",
+ "generic_channels_count": "{{count}} kanal",
+ "generic_channels_count_plural": "{{count}} kanallar"
}
From f9821d08ee66be1a43f11bd46794982c377e8f90 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:18 +0200
Subject: [PATCH 059/329] Update Tamil translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: தமிழ்நேரம்
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/ta.json | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/locales/ta.json b/locales/ta.json
index 89e586687..1f8f1290b 100644
--- a/locales/ta.json
+++ b/locales/ta.json
@@ -282,8 +282,6 @@
"Import": "இறக்குமதி",
"Import NewPipe subscriptions (.json)": "நியூபிப்பிப் சந்தாக்களை இறக்குமதி செய்யுங்கள் (.json)",
"Export": "ஏற்றுமதி",
- "Text CAPTCHA": "உரை கேப்ட்சா",
- "Image CAPTCHA": "பட கேப்ட்சா",
"preferences_category_player": "பிளேயர் விருப்பத்தேர்வுகள்",
"preferences_video_loop_label": "எப்போதும் லூப்: ",
"preferences_continue_autoplay_label": "தன்னியக்க அடுத்த வீடியோ: ",
@@ -498,5 +496,11 @@
"channel_tab_channels_label": "சேனல்கள்",
"toggle_theme": "கருப்பொருளை மாற்றவும்",
"carousel_slide": "{{total}} இன் ச்லைடு {{current}}",
- "carousel_skip": "கொணர்வி தவிர்க்கவும்"
+ "carousel_skip": "கொணர்வி தவிர்க்கவும்",
+ "First page": "முதல் பக்கம்",
+ "channel_tab_courses_label": "படிப்புகள்",
+ "channel_tab_posts_label": "இடுகைகள்",
+ "timeline_parse_error_placeholder_heading": "உருப்படியை அலச முடியவில்லை",
+ "timeline_parse_error_placeholder_message": "இந்த உருப்படியை அலச முயற்சிக்கும் போது ஒரு பிழையை அடக்கமடைந்தது. மேலும் தகவலுக்கு கீழே காண்க:",
+ "timeline_parse_error_show_technical_details": "தொழில்நுட்ப விவரங்களைக் காட்டு"
}
From 08821d78973339a48c0e8e6a0f298903f335ce81 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:19 +0200
Subject: [PATCH 060/329] Update Portuguese (Brazil) translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update Portuguese (Brazil) translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Juzé
Co-authored-by: joaooliva
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/pt-BR.json | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/locales/pt-BR.json b/locales/pt-BR.json
index 1eb3c9892..ef1eb2493 100644
--- a/locales/pt-BR.json
+++ b/locales/pt-BR.json
@@ -18,7 +18,7 @@
"Authorize token for `x`?": "Autorizar token para `x`?",
"Yes": "Sim",
"No": "Não",
- "Import and Export Data": "Importar/exportar dados",
+ "Import and Export Data": "Importar e exportar dados",
"Import": "Importar",
"Import Invidious data": "Importar dados JSON do Invidious",
"Import YouTube subscriptions": "Importar inscrições no formato CSV ou OPML do YouTube",
@@ -39,8 +39,6 @@
"User ID": "Usuário",
"Password": "Senha",
"Time (h:mm:ss):": "Hora (h:mm:ss):",
- "Text CAPTCHA": "Mudar para um desafio de texto",
- "Image CAPTCHA": "Mudar para um desafio visual",
"Sign In": "Fazer login",
"Register": "Criar conta",
"E-mail": "E-mail",
@@ -484,7 +482,7 @@
"channel_tab_channels_label": "Canais",
"channel_tab_playlists_label": "Playlists",
"channel_tab_shorts_label": "Shorts",
- "channel_tab_streams_label": "Transmissão ao vivo",
+ "channel_tab_streams_label": "Transmissões ao vivo",
"Music in this video": "Música neste vídeo",
"Artist: ": "Artista: ",
"Album: ": "Álbum: ",
@@ -518,5 +516,8 @@
"Filipino (auto-generated)": "Filipino (gerado automaticamente)",
"channel_tab_posts_label": "Postagens",
"First page": "Primeira página",
- "channel_tab_courses_label": "Cursos"
+ "channel_tab_courses_label": "Cursos",
+ "timeline_parse_error_show_technical_details": "Mostrar detalhes técnicos",
+ "timeline_parse_error_placeholder_message": "O Invidious encontrou um problema ao processar este item. Para mais informações, veja abaixo:",
+ "timeline_parse_error_placeholder_heading": "Incapaz de processar item"
}
From bda898d7fb9ccdda71f26ffa842e634e23981b9d Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:21 +0200
Subject: [PATCH 061/329] Update German translation
Update German translation
Update German translation
Update German translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Ettore Atalan
Co-authored-by: Hosted Weblate
Co-authored-by: Lenny Angst
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/de.json | 67 +++++++++++++++++++++++++------------------------
1 file changed, 34 insertions(+), 33 deletions(-)
diff --git a/locales/de.json b/locales/de.json
index e51d40b92..330398141 100644
--- a/locales/de.json
+++ b/locales/de.json
@@ -12,7 +12,7 @@
"Next page": "Nächste Seite",
"Previous page": "Vorherige Seite",
"First page": "Erste Seite",
- "Clear watch history?": "Verlauf löschen?",
+ "Clear watch history?": "Wiedergabeverlauf löschen?",
"New password": "Neues Passwort",
"New passwords must match": "Neue Passwörter müssen übereinstimmen",
"Authorize token?": "Token autorisieren?",
@@ -40,8 +40,6 @@
"User ID": "Benutzer-ID",
"Password": "Passwort",
"Time (h:mm:ss):": "Zeit (h:mm:ss):",
- "Text CAPTCHA": "Text CAPTCHA",
- "Image CAPTCHA": "Bild CAPTCHA",
"Sign In": "Anmelden",
"Register": "Registrieren",
"E-mail": "E-Mail",
@@ -108,11 +106,11 @@
"Top enabled: ": "Top aktiviert? ",
"CAPTCHA enabled: ": "CAPTCHA aktiviert? ",
"Login enabled: ": "Anmeldung aktiviert: ",
- "Registration enabled: ": "Registrierung aktiviert? ",
- "Report statistics: ": "Statistiken berichten? ",
+ "Registration enabled: ": "Registrierung aktiviert: ",
+ "Report statistics: ": "Statistiken berichten: ",
"Save preferences": "Einstellungen speichern",
"Subscription manager": "Abonnementverwaltung",
- "Token manager": "Tokenverwalter",
+ "Token manager": "Tokenverwaltung",
"Token": "Token",
"Import/export": "Importieren/Exportieren",
"unsubscribe": "abbestellen",
@@ -122,20 +120,20 @@
"Log out": "Abmelden",
"Released under the AGPLv3 on Github.": "Auf GitHub unter der AGPLv3 Lizenz veröffentlicht.",
"Source available here.": "Quellcode verfügbar hier.",
- "View JavaScript license information.": "Javascript Lizenzinformationen anzeigen.",
+ "View JavaScript license information.": "Javascript-Lizenzinformationen anzeigen.",
"View privacy policy.": "Datenschutzerklärung einsehen.",
"Trending": "Angesagt",
"Public": "Öffentlich",
- "Unlisted": "Nicht aufgeführt",
+ "Unlisted": "Nicht gelistet",
"Private": "Privat",
"View all playlists": "Alle Wiedergabelisten anzeigen",
- "Updated `x` ago": "Aktualisiert `x` vor",
- "Delete playlist `x`?": "Wiedergabeliste löschen `x`?",
+ "Updated `x` ago": "Aktualisiert vor `x`",
+ "Delete playlist `x`?": "Wiedergabeliste `x` löschen?",
"Delete playlist": "Wiedergabeliste löschen",
"Create playlist": "Wiedergabeliste erstellen",
"Title": "Titel",
- "Playlist privacy": "Vertrauliche Wiedergabeliste",
- "Editing playlist `x`": "Wiedergabeliste bearbeiten `x`",
+ "Playlist privacy": "Wiedergabelisten-Privatsphäre",
+ "Editing playlist `x`": "Wiedergabeliste `x` bearbeiten",
"Show more": "Mehr anzeigen",
"Show less": "Weniger anzeigen",
"Watch on YouTube": "Video auf YouTube ansehen",
@@ -151,12 +149,12 @@
"Blacklisted regions: ": "Unerlaubte Regionen: ",
"Shared `x`": "Geteilt `x`",
"Premieres in `x`": "Premiere in `x`",
- "Premieres `x`": "Erster Start `x`",
- "Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Hallo! Anscheinend haben Sie JavaScript deaktiviert. Klicken Sie hier um Kommentare anzuzeigen, beachten sie dass es etwas länger dauern kann um sie zu laden.",
+ "Premieres `x`": "Premiere `x`",
+ "Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Hallo! Anscheinend hast du JavaScript deaktiviert. Klicke hier, um Kommentare anzuzeigen, beachte, dass es etwas länger dauern kann, um sie zu laden.",
"View YouTube comments": "YouTube Kommentare anzeigen",
"View more comments on Reddit": "Mehr Kommentare auf Reddit anzeigen",
"View `x` comments": {
- "([^.,0-9]|^)1([^.,0-9]|$)": "`x` Kommentare anzeigen",
+ "([^.,0-9]|^)1([^.,0-9]|$)": "`x` Kommentar anzeigen",
"": "`x` Kommentare anzeigen"
},
"View Reddit comments": "Reddit Kommentare anzeigen",
@@ -184,7 +182,7 @@
"Empty playlist": "Wiedergabeliste ist leer",
"Not a playlist.": "Ungültige Wiedergabeliste.",
"Playlist does not exist.": "Wiedergabeliste existiert nicht.",
- "Could not pull trending pages.": "Trendenz-Seiten konnten nicht geladen werden.",
+ "Could not pull trending pages.": "Beliebt-Seiten konnten nicht geladen werden.",
"Hidden field \"challenge\" is a required field": "Verstecktes Feld „challenge“ ist eine erforderliche Eingabe",
"Hidden field \"token\" is a required field": "Verstecktes Feld „token“ ist eine erforderliche Eingabe",
"Erroneous challenge": "Ungültiger Test",
@@ -192,7 +190,7 @@
"No such user": "Ungültiger Benutzer",
"Token is expired, please try again": "Token ist abgelaufen, bitte erneut versuchen",
"English": "Englisch",
- "English (auto-generated)": "Englisch (automatisch erzeugt)",
+ "English (auto-generated)": "Englisch (automatisch generiert)",
"Afrikaans": "Afrikaans",
"Albanian": "Albanisch",
"Amharic": "Amharisch",
@@ -313,7 +311,7 @@
"Download": "Herunterladen",
"Download as: ": "Herunterladen als: ",
"%A %B %-d, %Y": "%A %-d %B %Y",
- "(edited)": "(editiert)",
+ "(edited)": "(bearbeitet)",
"YouTube comment permalink": "YouTube-Kommentar Permalink",
"permalink": "Permalink",
"`x` marked it with a ❤": "`x` markierte es mit einem ❤",
@@ -321,7 +319,7 @@
"Video mode": "Videomodus",
"channel_tab_videos_label": "Videos",
"Playlists": "Wiedergabelisten",
- "channel_tab_community_label": "Gemeinschaft",
+ "channel_tab_community_label": "Community",
"search_filters_sort_option_relevance": "Relevanz",
"search_filters_sort_option_rating": "Bewertung",
"search_filters_sort_option_date": "Hochladedatum",
@@ -329,7 +327,7 @@
"search_filters_type_label": "Inhaltstyp",
"search_filters_duration_label": "Dauer",
"search_filters_features_label": "Eigenschaften",
- "search_filters_sort_label": "sortieren",
+ "search_filters_sort_label": "Sortieren nach",
"search_filters_date_option_hour": "Letzte Stunde",
"search_filters_date_option_today": "Heute",
"search_filters_date_option_week": "Diese Woche",
@@ -341,7 +339,7 @@
"search_filters_type_option_movie": "Film",
"search_filters_type_option_show": "Anzeigen",
"search_filters_features_option_hd": "HD",
- "search_filters_features_option_subtitles": "Untertitel / CC",
+ "search_filters_features_option_subtitles": "Untertitel/CC",
"search_filters_features_option_c_commons": "Creative Commons",
"search_filters_features_option_three_d": "3D",
"search_filters_features_option_live": "Live",
@@ -358,7 +356,7 @@
"footer_modfied_source_code": "Modifizierter Quellcode",
"footer_documentation": "Dokumentation",
"footer_source_code": "Quellcode",
- "adminprefs_modified_source_code_url_label": "URL zum Repositorie des modifizierten Quellcodes",
+ "adminprefs_modified_source_code_url_label": "URL zum Repository des modifizierten Quellcodes",
"search_filters_duration_option_short": "Kurz (< 4 Minuten)",
"preferences_region_label": "Land der Inhalte: ",
"preferences_quality_option_dash": "DASH (adaptive Qualität)",
@@ -397,7 +395,7 @@
"generic_videos_count_plural": "{{count}} Videos",
"subscriptions_unseen_notifs_count": "{{count}} ungesehene Benachrichtung",
"subscriptions_unseen_notifs_count_plural": "{{count}} ungesehene Benachrichtungen",
- "crash_page_refresh": "Versucht haben, die Seite neu zu laden",
+ "crash_page_refresh": "Versucht hast, die Seite neu zu laden",
"comments_view_x_replies": "{{count}} Antwort anzeigen",
"comments_view_x_replies_plural": "{{count}} Antworten anzeigen",
"generic_count_years": "{{count}} Jahr",
@@ -406,15 +404,15 @@
"generic_count_weeks_plural": "{{count}} Wochen",
"generic_count_days": "{{count}} Tag",
"generic_count_days_plural": "{{count}} Tage",
- "crash_page_before_reporting": "Bevor Sie einen Bug melden, stellen Sie sicher, dass Sie:",
- "crash_page_switch_instance": "Eine andere Instanz versucht haben",
+ "crash_page_before_reporting": "Bevor du einen Bug meldest, stelle sicher, dass du:",
+ "crash_page_switch_instance": "Eine andere Instanz versucht hast",
"generic_count_hours": "{{count}} Stunde",
"generic_count_hours_plural": "{{count}} Stunden",
"generic_count_minutes": "{{count}} Minute",
"generic_count_minutes_plural": "{{count}} Minuten",
- "crash_page_read_the_faq": "Das FAQ gelesen haben",
- "crash_page_search_issue": "Nach bereits gemeldeten Bugs auf GitHub gesucht haben",
- "crash_page_report_issue": "Wenn all dies nicht geholfen hat, öffnen Sie bitte ein neues Problem (issue) auf Github (vorzugsweise auf Englisch) und fügen Sie den folgenden Text in Ihre Nachricht ein (bitte übersetzen Sie diesen Text NICHT):",
+ "crash_page_read_the_faq": "Das FAQ gelesen hast",
+ "crash_page_search_issue": "Nach bereits gemeldeten Bugs auf GitHub gesucht hast",
+ "crash_page_report_issue": "Wenn all dies nicht geholfen hat, öffne bitte ein neues Problem (issue) auf GitHub (vorzugsweise auf Englisch) und füge den folgenden Text in deine Nachricht ein (bitte übersetze diesen Text NICHT):",
"generic_views_count": "{{count}} Aufruf",
"generic_views_count_plural": "{{count}} Aufrufe",
"generic_count_seconds": "{{count}} Sekunde",
@@ -425,7 +423,7 @@
"tokens_count_plural": "{{count}} Tokens",
"comments_points_count": "{{count}} Punkt",
"comments_points_count_plural": "{{count}} Punkte",
- "crash_page_you_found_a_bug": "Anscheinend haben Sie einen Fehler in Invidious gefunden!",
+ "crash_page_you_found_a_bug": "Anscheinend hast du einen Fehler in Invidious gefunden!",
"generic_count_months": "{{count}} Monat",
"generic_count_months_plural": "{{count}} Monaten",
"Cantonese (Hong Kong)": "Kantonesisch (Hong Kong)",
@@ -455,8 +453,8 @@
"Korean (auto-generated)": "Koreanisch (automatisch generiert)",
"Portuguese (auto-generated)": "Portugiesisch (automatisch generiert)",
"search_filters_title": "Filtern",
- "search_message_change_filters_or_query": "Versuchen Sie, Ihre Suchanfrage zu erweitern und/oder die Filter zu ändern.",
- "search_message_use_another_instance": "Sie können auch auf einer anderen Instanz suchen.",
+ "search_message_change_filters_or_query": "Versuche, deine Suchanfrage zu erweitern und/oder die Filter zu ändern.",
+ "search_message_use_another_instance": "Du kannst auch auf einer anderen Instanz suchen.",
"Popular enabled: ": "„Beliebt“-Seite aktiviert: ",
"search_message_no_results": "Keine Ergebnisse gefunden.",
"search_filters_duration_option_medium": "Mittel (4 - 20 Minuten)",
@@ -466,7 +464,7 @@
"search_filters_duration_option_none": "Beliebige Länge",
"search_filters_date_label": "Upload-Datum",
"search_filters_date_option_none": "Beliebiges Datum",
- "error_video_not_in_playlist": "Das angeforderte Video existiert nicht in dieser Wiedergabeliste. Klicken Sie hier, um zur Startseite der Wiedergabeliste zu gelangen.",
+ "error_video_not_in_playlist": "Das angeforderte Video existiert nicht in dieser Wiedergabeliste. Klicke hier, um zur Startseite der Wiedergabeliste zu gelangen.",
"channel_tab_shorts_label": "Shorts",
"channel_tab_streams_label": "Livestreams",
"Music in this video": "Musik in diesem Video",
@@ -501,5 +499,8 @@
"carousel_skip": "Galerie überspringen",
"Filipino (auto-generated)": "Philippinisch (automatisch generiert)",
"channel_tab_courses_label": "Kurse",
- "channel_tab_posts_label": "Beiträge"
+ "channel_tab_posts_label": "Beiträge",
+ "timeline_parse_error_show_technical_details": "Technische Details anzeigen",
+ "timeline_parse_error_placeholder_heading": "Element kann nicht geparsed werden",
+ "timeline_parse_error_placeholder_message": "Invidious ist beim Parsen dieses Elements auf einen Fehler gestossen. Für weitere Informationen siehe unten:"
}
From 0ae262c3969ad84d51581e0f231f928af440d165 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:23 +0200
Subject: [PATCH 062/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/da.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/da.json b/locales/da.json
index 9cbb446ac..4b2834efb 100644
--- a/locales/da.json
+++ b/locales/da.json
@@ -39,8 +39,6 @@
"User ID": "Bruger ID",
"Password": "Kodeord",
"Time (h:mm:ss):": "Tid (t:mm:ss):",
- "Text CAPTCHA": "Tekst CAPTCHA",
- "Image CAPTCHA": "Billede CAPTCHA",
"Sign In": "Log ind",
"Register": "Registrer",
"E-mail": "E-mail",
From eee9d8441cc8f43ec1b2ab8ee48c0f5303b0097a Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:34 +0200
Subject: [PATCH 063/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/el.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/el.json b/locales/el.json
index e5a89a444..396400a04 100644
--- a/locales/el.json
+++ b/locales/el.json
@@ -39,8 +39,6 @@
"User ID": "Ταυτότητα χρήστη",
"Password": "Κωδικός πρόσβασης",
"Time (h:mm:ss):": "Ώρα (ω:λλ:δδ):",
- "Text CAPTCHA": "Κείμενο CAPTCHA",
- "Image CAPTCHA": "Εικόνα CAPTCHA",
"Sign In": "Εγγραφή",
"Register": "Εγγραφή",
"E-mail": "Ηλεκτρονικό ταχυδρομείο",
From 5d7a60ba3896c0832bccfe4d14208afa0da7d1f1 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:42 +0200
Subject: [PATCH 064/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/eo.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/eo.json b/locales/eo.json
index 7276c890e..27f694e6b 100644
--- a/locales/eo.json
+++ b/locales/eo.json
@@ -39,8 +39,6 @@
"User ID": "Uzula identigilo",
"Password": "Pasvorto",
"Time (h:mm:ss):": "Horo (h:mm:ss):",
- "Text CAPTCHA": "Teksta CAPTCHA",
- "Image CAPTCHA": "Bilda CAPTCHA",
"Sign In": "Ensaluti",
"Register": "Registriĝi",
"E-mail": "Retpoŝto",
From f6d29204793699a39af28b4e4305aa529a58a56c Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:02:50 +0200
Subject: [PATCH 065/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/eu.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/eu.json b/locales/eu.json
index fbca537b6..0138768b5 100644
--- a/locales/eu.json
+++ b/locales/eu.json
@@ -38,8 +38,6 @@
"User ID": "Erabiltzaile IDa",
"Password": "Pasahitza",
"Time (h:mm:ss):": "Denbora (h:mm:ss):",
- "Text CAPTCHA": "CAPTCHA testua",
- "Image CAPTCHA": "CAPTCHA irudia",
"Sign In": "Hasi saioa",
"Register": "Eman izena",
"E-mail": "E-posta",
From d68d01315a234f51c5e453844fd52b28cf50ae13 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:03:06 +0200
Subject: [PATCH 066/329] Update Estonian translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update Estonian translation
Update Estonian translation
Update Estonian translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Priit Jõerüüt
Co-authored-by: Priit Jõerüüt
Co-authored-by: kovabait12
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/et.json | 448 +++++++++++++++++++++++++++++++++---------------
1 file changed, 312 insertions(+), 136 deletions(-)
diff --git a/locales/et.json b/locales/et.json
index 7f6528101..1e5720ae3 100644
--- a/locales/et.json
+++ b/locales/et.json
@@ -5,7 +5,7 @@
"View channel on YouTube": "Vaata kanalit YouTube'is",
"Log in": "Logi sisse",
"Log in/register": "Logi sisse/registreeru",
- "Dark mode: ": "Tume režiim: ",
+ "Dark mode: ": "Tume kujundus: ",
"generic_videos_count": "{{count}} video",
"generic_videos_count_plural": "{{count}} videot",
"generic_subscribers_count": "{{count}} tellija",
@@ -22,12 +22,12 @@
"last": "viimane",
"Next page": "Järgmine leht",
"Previous page": "Eelmine leht",
- "Clear watch history?": "Kustuta vaatamiste ajalugu?",
+ "Clear watch history?": "Kas kustutame vaatamiste ajaloo?",
"New password": "Uus salasõna",
"New passwords must match": "Uued salasõnad peavad ühtima",
"Import and Export Data": "Impordi ja ekspordi andmed",
"Import": "Impordi",
- "Import YouTube subscriptions": "Impordi tellimused Youtube'ist/OPML-ist",
+ "Import YouTube subscriptions": "Impordi CSV või OPML-vormingus Youtube'i tellimused",
"Import FreeTube subscriptions (.db)": "Impordi tellimused FreeTube'ist (.db)",
"Import NewPipe data (.zip)": "Impordi NewPipe'i andmed (.zip)",
"Export": "Ekspordi",
@@ -37,11 +37,9 @@
"History": "Ajalugu",
"JavaScript license information": "JavaScripti litsentsi info",
"source": "allikas",
- "User ID": "Kasutada ID",
+ "User ID": "Kasutajatunnus",
"Password": "Salasõna",
"Time (h:mm:ss):": "Aeg (h:mm:ss):",
- "Text CAPTCHA": "CAPTCHA-tekst",
- "Image CAPTCHA": "CAPTCHA-foto",
"Sign In": "Logi sisse",
"Register": "Registreeru",
"E-mail": "E-post",
@@ -57,48 +55,48 @@
"preferences_quality_dash_option_auto": "Automaatne",
"preferences_quality_dash_option_best": "Parim",
"preferences_quality_dash_option_worst": "Halvim",
- "preferences_volume_label": "Video helitugevus: ",
+ "preferences_volume_label": "Video helivaljus: ",
"youtube": "YouTube",
"reddit": "Reddit",
- "preferences_related_videos_label": "Näita sarnaseid videosid: ",
+ "preferences_related_videos_label": "Näita sarnaseid videoid: ",
"preferences_vr_mode_label": "Interaktiivne 360-kraadine video (vajalik WebGL): ",
- "preferences_dark_mode_label": "Teema: ",
+ "preferences_dark_mode_label": "Kujundus: ",
"dark": "tume",
"light": "hele",
- "preferences_category_subscription": "Tellimuse seaded",
+ "preferences_category_subscription": "Tellimuse eelistused",
"preferences_max_results_label": "Avalehel näidatavate videote arv: ",
"preferences_sort_label": "Sorteeri: ",
"published": "avaldatud",
"alphabetically": "tähestikulises järjekorras",
"alphabetically - reverse": "vastupidi tähestikulises järjekorras",
"channel name": "kanali nimi",
- "preferences_unseen_only_label": "Näita ainult vaatamata videosid: ",
+ "preferences_unseen_only_label": "Näita ainult vaatamata videoid: ",
"Only show latest video from channel: ": "Näita ainult viimast videot: ",
"preferences_notifications_only_label": "Näita ainult teavitusi (kui neid on): ",
"Enable web notifications": "Luba veebiteavitused",
"`x` uploaded a video": "`x` laadis video üles",
"`x` is live": "`x` teeb otseülekannet",
"preferences_category_data": "Andme-eelistused",
- "Clear watch history": "Puhasta vaatamisajalugu",
+ "Clear watch history": "Kustuta vaatamisajalugu",
"Import/export data": "Impordi/ekspordi andmed",
"Change password": "Muuda salasõna",
"Watch history": "Vaatamisajalugu",
"Delete account": "Kustuta kasutaja",
"Save preferences": "Salvesta eelistused",
- "Token": "Token",
+ "Token": "Tunnusluba",
"Import/export": "Imprort/eksport",
"unsubscribe": "loobu tellimusest",
"Subscriptions": "Tellimused",
"search": "otsi",
- "Source available here.": "Allikas on kättesaadaval siin.",
- "View privacy policy.": "Vaata privaatsuspoliitikat.",
+ "Source available here.": "Lähtekood on kättesaadaval siin.",
+ "View privacy policy.": "Vaata andmekaitsepõhimõtteid.",
"Public": "Avalik",
"Private": "Privaatne",
"View all playlists": "Vaata kõiki esitusloendeid",
"Updated `x` ago": "Uuendas `x` tagasi",
"Delete playlist `x`?": "Kustuta esitusloend `x`?",
"Delete playlist": "Kustuta esitusloend",
- "Create playlist": "Loo esitlusloend",
+ "Create playlist": "Koosta esitlusloend",
"Title": "Pealkiri",
"Playlist privacy": "Esitusloendi privaatsus",
"Show more": "Näita rohkem",
@@ -117,14 +115,14 @@
"Show replies": "Näita vastuseid",
"Incorrect password": "Vale salasõna",
"Wrong answer": "Vale vastus",
- "User ID is a required field": "Kasutaja ID on kohustuslik väli",
+ "User ID is a required field": "Kasutajatunnus on kohustuslik väli",
"Password is a required field": "Salasõna on kohustuslik väli",
"Wrong username or password": "Vale kasutajanimi või salasõna",
"Password cannot be longer than 55 characters": "Salasõna ei tohi olla pikem kui 55 tähemärki",
"Password cannot be empty": "Salasõna ei tohi olla tühi",
- "Please log in": "Palun logige sisse",
+ "Please log in": "Palun logi sisse",
"channel:`x`": "kanal:`x`",
- "Deleted or invalid channel": "Kanal on kustutatud või seda ei leitud",
+ "Deleted or invalid channel": "Kanal on kustutatud või seda ei leidu",
"This channel does not exist.": "Sellist kanalit pole olemas.",
"comments_view_x_replies": "{{count}} vastus",
"comments_view_x_replies_plural": "{{count}} vastust",
@@ -134,86 +132,86 @@
"Not a playlist.": "Tegu pole esitusloendiga.",
"Playlist does not exist.": "Seda esitusloendit pole olemas.",
"No such user": "Sellist kasutajat pole",
- "English": "Inglise",
- "English (United Kingdom)": "Inglise (Suurbritannia)",
- "English (United States)": "Inglise (USA)",
- "English (auto-generated)": "Inglise (automaatselt koostatud)",
- "Afrikaans": "Afrikaani",
- "Albanian": "Albaania",
- "Arabic": "Araabia",
- "Armenian": "Armeenia",
- "Bangla": "Bengali",
- "Basque": "Baski",
- "Belarusian": "Valgevene",
- "Bulgarian": "Bulgaaria",
- "Burmese": "Birma",
- "Cantonese (Hong Kong)": "Kantoni (Hong Konk)",
- "Chinese (China)": "Hiina (Hiina)",
- "Chinese (Hong Kong)": "Hiina (Hong Kong)",
- "Chinese (Simplified)": "Hiina (lihtsustatud)",
- "Chinese (Taiwan)": "Hiina (Taiwan)",
- "Croatian": "Horvaatia",
- "Czech": "Tšehhi",
- "Danish": "Taani",
- "Dutch": "Hollandi",
- "Esperanto": "Esperanto",
- "Estonian": "Eesti",
- "Filipino": "Filipiini",
- "Finnish": "Soome",
- "French": "Prantsuse",
- "French (auto-generated)": "Prantsuse (automaatne)",
- "Dutch (auto-generated)": "Hollandi (automaatne)",
- "Galician": "Kaliitsia",
- "Georgian": "Gruusia",
- "Haitian Creole": "Haiti kreool",
- "Hausa": "Hausa",
- "Hawaiian": "Havaii",
- "Hebrew": "Heebrea",
- "Hindi": "Hindi",
- "Hungarian": "Ungari",
- "Icelandic": "Islandi",
- "Indonesian": "Indoneesia",
- "Japanese (auto-generated)": "Jaapani (automaatne)",
- "Kannada": "Kannada",
- "Kazakh": "Kasahhi",
- "Luxembourgish": "Luksemburgi",
- "Macedonian": "Makedoonia",
- "Malay": "Malai",
- "Maltese": "Malta",
- "Maori": "Maori",
- "Marathi": "Marathi",
- "Mongolian": "Mongoli",
- "Nepali": "Nepaali",
- "Norwegian Bokmål": "Norra (Bokmål)",
- "Persian": "Pärsia",
- "Polish": "Poola",
- "Portuguese": "Portugali",
- "Portuguese (auto-generated)": "Portugali (automaatne)",
- "Portuguese (Brazil)": "Portugali (Brasiilia)",
- "Romanian": "Rumeenia",
- "Russian": "Vene",
- "Russian (auto-generated)": "Vene (automaatne)",
- "Scottish Gaelic": "Šoti (Gaeli)",
- "Serbian": "Serbia",
- "Slovak": "Slovaki",
- "Slovenian": "Sloveeni",
- "Somali": "Somaali",
- "Spanish": "Hispaania",
- "Spanish (auto-generated)": "Hispaania (automaatne)",
- "Spanish (Latin America)": "Hispaania (Ladina-Ameerika)",
- "Spanish (Mexico)": "Hispaania (Mehhiko)",
- "Spanish (Spain)": "Hispaania (Hispaania)",
- "Swahili": "Suahili",
- "Swedish": "Rootsi",
- "Tajik": "Tadžiki",
- "Tamil": "Tamiili",
- "Thai": "Tai",
- "Turkish": "Türgi",
- "Turkish (auto-generated)": "Türgi (automaatne)",
- "Ukrainian": "Ukraina",
- "Uzbek": "Usbeki",
- "Vietnamese": "Vietnami",
- "Vietnamese (auto-generated)": "Vietnami (automaatne)",
+ "English": "inglise",
+ "English (United Kingdom)": "inglise (Suurbritannia)",
+ "English (United States)": "inglise (USA)",
+ "English (auto-generated)": "inglise (automaatselt koostatud)",
+ "Afrikaans": "afrikaani",
+ "Albanian": "albaania",
+ "Arabic": "araabia",
+ "Armenian": "armeenia",
+ "Bangla": "bengali",
+ "Basque": "baski",
+ "Belarusian": "valgevene",
+ "Bulgarian": "bulgaaria",
+ "Burmese": "birma",
+ "Cantonese (Hong Kong)": "kantoni (Hongkong)",
+ "Chinese (China)": "hiina (Hiina)",
+ "Chinese (Hong Kong)": "hiina (Hongkong)",
+ "Chinese (Simplified)": "hiina (lihtsustatud)",
+ "Chinese (Taiwan)": "hiina (Taiwan)",
+ "Croatian": "horvaadi",
+ "Czech": "tšehhi",
+ "Danish": "taani",
+ "Dutch": "hollandi",
+ "Esperanto": "esperanto",
+ "Estonian": "eesti",
+ "Filipino": "filipiini",
+ "Finnish": "soome",
+ "French": "prantsuse",
+ "French (auto-generated)": "prantsuse (automaatselt koostatud)",
+ "Dutch (auto-generated)": "hollandi (automaatne)",
+ "Galician": "galeegi",
+ "Georgian": "gruusia",
+ "Haitian Creole": "haiti kreooli",
+ "Hausa": "hausa",
+ "Hawaiian": "havaii",
+ "Hebrew": "heebrea",
+ "Hindi": "hindi",
+ "Hungarian": "ungari",
+ "Icelandic": "islandi",
+ "Indonesian": "indoneesia",
+ "Japanese (auto-generated)": "jaapani (automaatselt koostatud)",
+ "Kannada": "kannada",
+ "Kazakh": "kasahhi",
+ "Luxembourgish": "letseburgi",
+ "Macedonian": "makedoonia",
+ "Malay": "malai",
+ "Maltese": "malta",
+ "Maori": "maoori",
+ "Marathi": "marathi",
+ "Mongolian": "mongoli",
+ "Nepali": "nepaali",
+ "Norwegian Bokmål": "norra (Bokmål)",
+ "Persian": "pärsia",
+ "Polish": "poola",
+ "Portuguese": "portugali",
+ "Portuguese (auto-generated)": "portugali (automaatne)",
+ "Portuguese (Brazil)": "portugali (Brasiilia)",
+ "Romanian": "rumeenia",
+ "Russian": "vene",
+ "Russian (auto-generated)": "vene (automaatne)",
+ "Scottish Gaelic": "gaeli",
+ "Serbian": "serbia",
+ "Slovak": "slovaki",
+ "Slovenian": "sloveeni",
+ "Somali": "somaali",
+ "Spanish": "hispaania",
+ "Spanish (auto-generated)": "hispaania (automaatne)",
+ "Spanish (Latin America)": "hispaania (Ladina-Ameerika)",
+ "Spanish (Mexico)": "hispaania (Mehhiko)",
+ "Spanish (Spain)": "hispaania (Hispaania)",
+ "Swahili": "suahiili",
+ "Swedish": "rootsi",
+ "Tajik": "tadžiki",
+ "Tamil": "tamili",
+ "Thai": "tai",
+ "Turkish": "türgi",
+ "Turkish (auto-generated)": "türgi (automaatne)",
+ "Ukrainian": "ukraina",
+ "Uzbek": "usbeki",
+ "Vietnamese": "vietnami",
+ "Vietnamese (auto-generated)": "vietnami (automaatne)",
"generic_count_years": "{{count}} aasta",
"generic_count_years_plural": "{{count}} aastat",
"generic_count_months": "{{count}} kuu",
@@ -228,15 +226,15 @@
"generic_count_minutes_plural": "{{count}} minutit",
"Popular": "Populaarne",
"Search": "Otsi",
- "Top": "Top",
- "About": "Leheküljest",
+ "Top": "Parimad",
+ "About": "Saidi teave",
"preferences_locale_label": "Keel: ",
"View as playlist": "Vaata esitusloendina",
"Movies": "Filmid",
- "Download as: ": "Laadi kui: ",
+ "Download as: ": "Laadi alla kui: ",
"(edited)": "(muudetud)",
"`x` marked it with a ❤": "`x` märkis ❤",
- "Audio mode": "Audiorežiim",
+ "Audio mode": "Helirežiim",
"Video mode": "Videorežiim",
"search_filters_date_label": "Üleslaadimise kuupäev",
"search_filters_date_option_none": "Ükskõik mis kuupäev",
@@ -246,10 +244,10 @@
"search_filters_date_option_month": "Sel kuul",
"search_filters_date_option_year": "Sel aastal",
"search_filters_type_label": "Tüüp",
- "search_filters_type_option_all": "Ükskõik mis tüüp",
+ "search_filters_type_option_all": "Ükskõik mis tüüpi",
"search_filters_duration_label": "Kestus",
"search_filters_type_option_show": "Näita",
- "search_filters_duration_option_none": "Ükskõik mis kestus",
+ "search_filters_duration_option_none": "Ükskõik mis kestusega",
"search_filters_duration_option_short": "Lühike (alla 4 minuti)",
"search_filters_duration_option_medium": "Keskmine (4 - 20 minutit)",
"search_filters_duration_option_long": "Pikk (üle 20 minuti)",
@@ -258,9 +256,9 @@
"search_filters_features_option_hd": "HD",
"search_filters_features_option_subtitles": "Subtiitrid",
"search_filters_features_option_location": "Asukoht",
- "search_filters_sort_label": "Sorteeri",
+ "search_filters_sort_label": "Järjestus",
"search_filters_sort_option_views": "Vaatamiste arv",
- "next_steps_error_message": "Pärast mida võiksite proovida: ",
+ "next_steps_error_message": "Pärast seda võiksid proovida: ",
"videoinfo_started_streaming_x_ago": "Alustas otseülekannet `x` tagasi",
"Yes": "Jah",
"generic_views_count": "{{count}} vaatamine",
@@ -270,48 +268,48 @@
"preferences_region_label": "Riik: ",
"View YouTube comments": "Vaata YouTube'i kommentaare",
"preferences_extend_desc_label": "Ava video kirjeldus automaatselt: ",
- "German (auto-generated)": "Saksa (automaatne)",
- "Italian": "Itaalia",
- "preferences_player_style_label": "Mängija stiil: ",
+ "German (auto-generated)": "saksa (automaatselt koostatud)",
+ "Italian": "itaalia",
+ "preferences_player_style_label": "Meediaesitaja stiil: ",
"subscriptions_unseen_notifs_count": "{{count}} lugemata teavitus",
"subscriptions_unseen_notifs_count_plural": "{{count}} lugemata teavitust",
"View more comments on Reddit": "Vaata teisi kommentaare Redditis",
"Only show latest unwatched video from channel: ": "Näita ainult viimast vaatamata videot: ",
- "tokens_count": "{{count}} token",
- "tokens_count_plural": "{{count}} tokenit",
+ "tokens_count": "{{count}} tunnusluba",
+ "tokens_count_plural": "{{count}} tunnusluba",
"Log out": "Logi välja",
"Premieres `x`": "Linastub`x`",
"View `x` comments": {
"([^.,0-9]|^)1([^.,0-9]|$)": "Vaata `x` kommentaari",
"": "Vaata `x` kommentaare"
},
- "Khmer": "Khmeeri",
- "Bosnian": "Bosnia",
- "Corsican": "Korsika",
- "Javanese": "Jaava",
- "Lithuanian": "Leedu",
+ "Khmer": "khmeeri",
+ "Bosnian": "bosnia",
+ "Corsican": "korsika",
+ "Javanese": "jaava",
+ "Lithuanian": "leedu",
"channel_tab_videos_label": "Videod",
"channel_tab_community_label": "Kogukond",
- "CAPTCHA is a required field": "CAPTCHA on kohustuslik väli",
+ "CAPTCHA is a required field": "Robotilõks on kohustuslik väli",
"comments_points_count": "{{count}} punkt",
"comments_points_count_plural": "{{count}} punkti",
- "Chinese": "Hiina",
- "German": "Saksa",
- "Indonesian (auto-generated)": "Indoneesia (automaatne)",
- "Italian (auto-generated)": "Itaalia (automaatne)",
- "Kyrgyz": "Kirkiisi",
- "Latin": "Ladina",
+ "Chinese": "hiina",
+ "German": "saksa",
+ "Indonesian (auto-generated)": "indoneesia (automaatselt koostatud)",
+ "Italian (auto-generated)": "itaalia (automaatselt koostatud)",
+ "Kyrgyz": "kirgiisi",
+ "Latin": "ladina",
"generic_count_seconds": "{{count}} sekund",
"generic_count_seconds_plural": "{{count}} sekundit",
- "Catalan": "Katalaani",
- "Chinese (Traditional)": "Hiina (traditsiooniline)",
- "Greek": "Kreeka",
- "Kurdish": "Kurdi",
- "Latvian": "Läti",
- "Irish": "Iiri",
- "Korean": "Korea",
- "Japanese": "Jaapani",
- "Korean (auto-generated)": "Korea (automaatne)",
+ "Catalan": "katalaani",
+ "Chinese (Traditional)": "hiina (traditsiooniline)",
+ "Greek": "kreeka",
+ "Kurdish": "kurdi",
+ "Latvian": "läti",
+ "Irish": "iiri",
+ "Korean": "korea",
+ "Japanese": "jaapani",
+ "Korean (auto-generated)": "korea (automaatselt koostatud)",
"Music": "Muusika",
"Playlists": "Esitusloendid",
"search_filters_type_option_video": "Video",
@@ -325,8 +323,186 @@
"search_filters_type_option_channel": "Kanal",
"search_filters_type_option_playlist": "Esitusloend",
"search_filters_type_option_movie": "Film",
- "next_steps_error_message_go_to_youtube": "Minna YouTube'i",
- "next_steps_error_message_refresh": "Laadida uuesti",
+ "next_steps_error_message_go_to_youtube": "Mine YouTube'i",
+ "next_steps_error_message_refresh": "Laadi uuesti",
"footer_donate_page": "Anneta",
- "videoinfo_watch_on_youTube": "Vaata YouTube'is"
+ "videoinfo_watch_on_youTube": "Vaata YouTube'is",
+ "Authorize token for `x`?": "Kas volitad tunnusloa kasutamise `x`-le?",
+ "Export data as JSON": "Expordi Invidious andmed JSON-ina",
+ "Import Invidious data": "Impordi Invidious JSON andmed",
+ "preferences_local_label": "Edasta videod vaheserveri kaudu: ",
+ "Music in this video": "Muusika selles videos",
+ "Token manager": "Tunnuslubade haldur",
+ "search_message_use_another_instance": "Võid ka otsida teisest serverist.",
+ "Standard YouTube license": "Tavaline Youtube'i litsens",
+ "Song: ": "Lugu: ",
+ "Add to playlist": "Lisa esitlusloendisse",
+ "Add to playlist: ": "Lisa esitlusloendisse: ",
+ "Search for videos": "Otsi videoid",
+ "The Popular feed has been disabled by the administrator.": "Administraator on populaarse voo välja lülitanud.",
+ "preferences_quality_dash_option_2160p": "2160p",
+ "generic_button_rss": "RSS uudisvoog",
+ "Import YouTube watch history (.json)": "Impordi Youtube vaatamiste ajalugu (.json)",
+ "published - reverse": "avaldatud - vastupidine",
+ "preferences_default_home_label": "Vaikimisi koduleht: ",
+ "preferences_feed_menu_label": "Voogude menüü: ",
+ "Login enabled: ": "Sisselogimine lubatud: ",
+ "Registration enabled: ": "Registreerimine lubatud: ",
+ "CAPTCHA enabled: ": "Robotilõks on kasutusel: ",
+ "Blacklisted regions: ": "Mustas nimekirjas piirkonnad: ",
+ "Wilson score: ": "Wilsoni skoor: ",
+ "generic_button_delete": "Kustuta",
+ "generic_button_edit": "Muuda",
+ "generic_button_save": "Salvesta",
+ "generic_button_cancel": "Tühista",
+ "Import YouTube playlist (.csv)": "Impordi Youtube esitlusloend (.csv)",
+ "preferences_category_misc": "Muud seadistused",
+ "preferences_annotations_subscribed_label": "Kas vaikimisi näitame tellitud kanalite sisukokkuvõtteid?: ",
+ "preferences_quality_dash_option_480p": "480p",
+ "preferences_continue_label": "Vaikimisi mängi järgmine video: ",
+ "View JavaScript license information.": "Vaata JavaScripti litsensiteavet.",
+ "preferences_listen_label": "Kuula vaikimisi: ",
+ "preferences_quality_dash_option_1080p": "1080p",
+ "Erroneous CAPTCHA": "Vigane robotilõks",
+ "Hidden field \"challenge\" is a required field": "Peidetud väli \"väljakutse\" on kohustuslik väli",
+ "Fallback captions: ": "Tagavara subtiitrid: ",
+ "preferences_category_admin": "Administraatori seadistused",
+ "preferences_automatic_instance_redirect_label": "Automaatne serveri ümbersuunamine (varuvariandile redirect.invidious.io): ",
+ "channel name - reverse": "kanali nimi - vastupidine",
+ "An alternative front-end to YouTube": "Alternatiivne Youtube esiliides",
+ "Subscription manager": "Tellimuste haldur",
+ "Redirect homepage to feed: ": "Suuna koduleht voole: ",
+ "Azerbaijani": "aserbaidžaani",
+ "Gujarati": "gudžarati",
+ "generic_channels_count": "{{count}} kanal",
+ "generic_channels_count_plural": "{{count}} kanalit",
+ "preferences_video_loop_label": "Alati korda: ",
+ "preferences_watch_history_label": "Lülita vaatamiste ajalugu sisse: ",
+ "preferences_speed_label": "Vaikimisi kiirus: ",
+ "preferences_quality_dash_option_4320p": "4320p",
+ "preferences_quality_dash_option_1440p": "1440p",
+ "preferences_quality_dash_option_720p": "720p",
+ "preferences_quality_dash_option_360p": "360p",
+ "preferences_quality_dash_option_240p": "240p",
+ "preferences_captions_label": "Vaikimisi subtiitrid: ",
+ "preferences_annotations_label": "Vaikimisi näita sisukokkuvõtteid: ",
+ "preferences_thin_mode_label": "Napp režiim: ",
+ "Manage subscriptions": "Halda tellimusi",
+ "Manage tokens": "Halda tunnuslube",
+ "preferences_show_nick_label": "Näita üleval hüüdnime ",
+ "revoke": "võta tagasi",
+ "Released under the AGPLv3 on Github.": "Avaldatud GitHubis AGPLv3 litsentsi alusel.",
+ "Trending": "Trendikas",
+ "Unlisted": "Ajajooneväline",
+ "Switch Invidious Instance": "Vaheta Invidiouse Serverit",
+ "Whitelisted regions: ": "Valges nimekirjas piirkonnad: ",
+ "Artist: ": "Esitaja: ",
+ "Could not fetch comments": "Kommentaaride laadimine ei õnnestunud",
+ "Album: ": "Album: ",
+ "Invidious Private Feed for `x`": "Invidiouse privaatne Voog `x`-ile",
+ "Could not pull trending pages.": "Ei saanud alla laadida trendikaid lehti.",
+ "Hidden field \"token\" is a required field": "Peidetud väli \"tunnusluba\" on kohustuslik väli",
+ "Erroneous challenge": "Ekslik väljakutse",
+ "Erroneous token": "Ekslik tunnusluba",
+ "Token is expired, please try again": "Tunnusluba on aegunud, palun proovi uuesti",
+ "Amharic": "amhari",
+ "Cebuano": "sebu",
+ "preferences_autoplay_label": "Automaatesitus: ",
+ "invidious": "Invidious",
+ "preferences_quality_dash_option_144p": "144p",
+ "Popular enabled: ": "Populaarsed videod on kasutusel: ",
+ "Top enabled: ": "Ülariba lubatud: ",
+ "Editing playlist `x`": "Esitlusloendi `x` muutmine",
+ "Show annotations": "Näita sisukokkuvõtteid",
+ "Hide annotations": "Peida sisukokkuvõtted",
+ "Could not create mix.": "Ei saanud miksi luua.",
+ "Authorize token?": "Kas volitad tunnusloa kasutamise?",
+ "playlist_button_add_items": "Lisa videoid",
+ "First page": "Esimene leht",
+ "preferences_preload_label": "Eellaadi videoandmed: ",
+ "preferences_category_visual": "Visuaalsed seadistused",
+ "preferences_comments_label": "Vaikimisi kommentaarid: ",
+ "Filipino (auto-generated)": "filipiini (automaatselt koostatud)",
+ "Could not get channel info.": "Kanali info tuvastamine ei õnnestunud.",
+ "Answer": "Vastus",
+ "Report statistics: ": "Teavita statistikast: ",
+ "Hmong": "hmongi",
+ "Igbo": "igbo",
+ "Interlingue": "interlingue",
+ "Lao": "lao",
+ "Malagasy": "malagassi",
+ "Malayalam": "malajalami",
+ "Pashto": "puštu",
+ "Nyanja": "njandža",
+ "Punjabi": "pandžabi",
+ "Samoan": "samoa",
+ "Shona": "šona",
+ "Sindhi": "sindhi",
+ "Sinhala": "singali",
+ "Southern Sotho": "lõunasotho",
+ "Sundanese": "sunda",
+ "Telugu": "telugu",
+ "Urdu": "urdu",
+ "Welsh": "kõmri",
+ "Western Frisian": "läänefriisi",
+ "Xhosa": "koosa",
+ "Yiddish": "jidiši",
+ "Yoruba": "joruba",
+ "Zulu": "suulu",
+ "Fallback comments: ": "Kommentaaride tagavaravariant: ",
+ "Rating: ": "Hinnang: ",
+ "Default": "Vaikimisi",
+ "Download is disabled": "Allalaadimine on keelatud",
+ "YouTube comment permalink": "YouTube'i kommentaari püsilink",
+ "permalink": "püsilink",
+ "Channel Sponsor": "Kanali sponsor",
+ "search_filters_features_label": "Omadused",
+ "search_filters_features_option_c_commons": "Creative Commons litsents",
+ "search_filters_features_option_three_sixty": "360°-video",
+ "search_filters_features_option_vr180": "VR180-video",
+ "search_filters_features_option_three_d": "3D-video",
+ "search_filters_features_option_hdr": "HDR-video",
+ "search_filters_features_option_purchased": "Ostetud",
+ "search_filters_sort_option_relevance": "Olulisus",
+ "search_filters_sort_option_rating": "Hinnang",
+ "search_filters_apply_button": "Rakenda valitud filtrid",
+ "footer_source_code": "Lähtekood",
+ "footer_original_source_code": "Algne lähtekood",
+ "footer_modfied_source_code": "Muudetud lähtekood",
+ "none": "mitte midagi",
+ "videoinfo_youTube_embed_link": "Lõimi",
+ "videoinfo_invidious_embed_link": "Lõimi link",
+ "adminprefs_modified_source_code_url_label": "Link muudetud lähtekoodi hoidlale",
+ "channel_tab_podcasts_label": "Taskuhäälingud",
+ "Engagement: ": "Kaasatus: ",
+ "download_subtitles": "Subtiitrid - `x` (.vtt)",
+ "user_created_playlists": "`x` - koostatud esitusloendid",
+ "user_saved_playlists": "`x` - salvestatud esitusloendid",
+ "Video unavailable": "Video pole saadaval",
+ "preferences_save_player_pos_label": "Salvesta taasesituse asukoht: ",
+ "crash_page_you_found_a_bug": "Tundub, et oled Invidiousest leidnud vea!",
+ "crash_page_before_reporting": "Enne veast teatamist, palun kontrolli, et oleksid:",
+ "crash_page_refresh": "proovinud lehte uuesti laadida",
+ "crash_page_switch_instance": "proovinud kasutada mõnda muud Invidiouse serverit",
+ "crash_page_read_the_faq": "lugenud Korduma kippuvaid küsimusi (KKK)",
+ "crash_page_search_issue": "otsinud GitHubist sarnaseid ja juba teaeatud vigu",
+ "crash_page_report_issue": "Kui ükski ülaltoodud võimalustest seda viga ei lahendanud, siis palun koosta GitHubis meie veahalduses uus veateade (soovitavalt inglise keeles) ja lisa sinnakogu järgnev tekst (palun ÄRA tõlgi seda teksti):",
+ "error_video_not_in_playlist": "Selles esitusloendis ei leidu soovitud videot. Siit pääsed esitusloendi avalehele.",
+ "channel_tab_shorts_label": "Lühivideod",
+ "channel_tab_streams_label": "Otseülekanded",
+ "%A %B %-d, %Y": "%A %B %-d, %Y",
+ "channel_tab_releases_label": "Versioonid",
+ "channel_tab_courses_label": "Kursused",
+ "channel_tab_playlists_label": "Esitusloendid",
+ "channel_tab_posts_label": "Postitused",
+ "channel_tab_channels_label": "Kanalid",
+ "toggle_theme": "Vaheta kujundust",
+ "carousel_slide": "Slaid {{current}} / {{total}}",
+ "carousel_skip": "Jäta karussell vahele",
+ "carousel_go_to": "Ava slaid `x`",
+ "timeline_parse_error_placeholder_heading": "Objekti töötlemine ei õnnestu",
+ "timeline_parse_error_placeholder_message": "Selle objekti töötlemisel tekkis Invidiouses viga. Lisateave on alljärgnevas:",
+ "timeline_parse_error_show_technical_details": "Näita tehnilisi üksikasju",
+ "preferences_default_playlist": "Vaikimisi esitusloend: ",
+ "preferences_default_playlist_none": "Ühtegi vaikimisi esitusloendit ei leidu"
}
From 2c5a3a9538f49f7bdd9057ad5f4fae4a2f4e2908 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:03:16 +0200
Subject: [PATCH 067/329] Update Russian translation
Update Russian translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Artyom Rybakov
Co-authored-by: Hosted Weblate
Co-authored-by: Yurt Page
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/ru.json | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/locales/ru.json b/locales/ru.json
index 906f00fc1..6de83bca2 100644
--- a/locales/ru.json
+++ b/locales/ru.json
@@ -22,7 +22,7 @@
"Import and Export Data": "Импорт и экспорт данных",
"Import": "Импорт",
"Import Invidious data": "Импортировать JSON с данными Invidious",
- "Import YouTube subscriptions": "Импортировать подписки из CSV или OPML",
+ "Import YouTube subscriptions": "Импортировать подписки из YouTube через файлы CSV или OPML",
"Import FreeTube subscriptions (.db)": "Импортировать подписки из FreeTube (.db)",
"Import NewPipe subscriptions (.json)": "Импортировать подписки из NewPipe (.json)",
"Import NewPipe data (.zip)": "Импортировать данные из NewPipe (.zip)",
@@ -40,8 +40,6 @@
"User ID": "ИД пользователя",
"Password": "Пароль",
"Time (h:mm:ss):": "Время (ч:мм:сс):",
- "Text CAPTCHA": "Текстовая капча (англ.)",
- "Image CAPTCHA": "Капча-картинка",
"Sign In": "Войти",
"Register": "Регистрация",
"E-mail": "Эл. почта",
@@ -511,11 +509,17 @@
"Answer": "Ответить",
"Search for videos": "Поиск видео",
"The Popular feed has been disabled by the administrator.": "Лента популярного была отключена администратором.",
- "toggle_theme": "Переключатель тем",
- "carousel_slide": "Пролистано {{current}} из {{total}}",
+ "toggle_theme": "Переключить тему оформления",
+ "carousel_slide": "Слайд {{current}} из {{total}}",
"carousel_skip": "Пропустить всё",
- "carousel_go_to": "Перейти к странице `x`",
+ "carousel_go_to": "Перейти на слайд `x`",
"preferences_preload_label": "Предзагрузка видеоданных: ",
"channel_tab_courses_label": "Курсы",
- "channel_tab_posts_label": "Записи"
+ "channel_tab_posts_label": "Записи",
+ "timeline_parse_error_placeholder_message": "Invidious столкнулся с ошибкой, пытаясь разобрать с этот элемент. Подробнее смотрите ниже:",
+ "timeline_parse_error_placeholder_heading": "Невозможно разобрать элемент",
+ "timeline_parse_error_show_technical_details": "Показать технические подробности",
+ "Filipino (auto-generated)": "Филиппинский (автоматически сгенерировано)",
+ "preferences_default_playlist": "Плейлист по умолчанию: ",
+ "preferences_default_playlist_none": "Плейлист по умолчанию не указан"
}
From abd5bfb7b7acd0c90d1d7167ed49f9df5fd679f8 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:03:27 +0200
Subject: [PATCH 068/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/ro.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/ro.json b/locales/ro.json
index ccbeef63e..a3bfeb1fa 100644
--- a/locales/ro.json
+++ b/locales/ro.json
@@ -39,8 +39,6 @@
"User ID": "ID Utilizator",
"Password": "Parolă",
"Time (h:mm:ss):": "Ora (h:mm:ss) :",
- "Text CAPTCHA": "Text CAPTCHA",
- "Image CAPTCHA": "Imagine CAPTCHA",
"Sign In": "Conectați-vă",
"Register": "Înregistrați-vă",
"E-mail": "E-mail",
From 5a1e86ddb6ef852201b7b332797e5a29f6e3b7ec Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:03:37 +0200
Subject: [PATCH 069/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/bn.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/bn.json b/locales/bn.json
index 501a1ca34..79347286d 100644
--- a/locales/bn.json
+++ b/locales/bn.json
@@ -36,8 +36,6 @@
"User ID": "ইউজার আইডি",
"Password": "পাসওয়ার্ড",
"Time (h:mm:ss):": "সময় (ঘণ্টা:মিনিট:সেকেন্ড):",
- "Text CAPTCHA": "টেক্সট ক্যাপচা",
- "Image CAPTCHA": "চিত্র ক্যাপচা",
"Sign In": "সাইন ইন",
"Register": "নিবন্ধন",
"E-mail": "ই-মেইল",
From dd03b16ff9ea6770a044b41361088b1bcb4d4c48 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:03:46 +0200
Subject: [PATCH 070/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/bg.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/bg.json b/locales/bg.json
index 5c99d98fa..cf74a6594 100644
--- a/locales/bg.json
+++ b/locales/bg.json
@@ -102,7 +102,6 @@
"Spanish (Spain)": "Испански (Испания)",
"invidious": "Invidious",
"crash_page_refresh": "пробвал да опресниш страницата",
- "Image CAPTCHA": "CAPTCHA с Изображение",
"search_filters_features_option_hd": "HD",
"Chinese (Hong Kong)": "Китайски (Хонг Конг)",
"Import Invidious data": "Импортиране на Invidious JSON информацията",
@@ -457,7 +456,6 @@
"next_steps_error_message": "След което можеш да пробваш да: ",
"Hide annotations": "Скрий анотации",
"Standard YouTube license": "Стандартен YouTube лиценз",
- "Text CAPTCHA": "Текст CAPTCHA",
"Log in/register": "Вход/регистрация",
"Punjabi": "Пенджаби",
"Change password": "Смяна на паролата",
From f38742e4e764bf500915f7fc9a08cb4afffc2f33 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:03:57 +0200
Subject: [PATCH 071/329] Update Ukrainian translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Ihor Hordiichuk
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/uk.json | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/locales/uk.json b/locales/uk.json
index b99923e2f..fbf2cd6a5 100644
--- a/locales/uk.json
+++ b/locales/uk.json
@@ -39,8 +39,6 @@
"User ID": "ID користувача",
"Password": "Пароль",
"Time (h:mm:ss):": "Час (г:хх:сс):",
- "Text CAPTCHA": "Текст CAPTCHA",
- "Image CAPTCHA": "Зображення CAPTCHA",
"Sign In": "Увійти",
"Register": "Зареєструватися",
"E-mail": "Електронна пошта",
@@ -518,5 +516,8 @@
"Filipino (auto-generated)": "Філіппінська (згенеровано автоматично)",
"First page": "Перша сторінка",
"channel_tab_courses_label": "Курси",
- "channel_tab_posts_label": "Дописи"
+ "channel_tab_posts_label": "Дописи",
+ "timeline_parse_error_placeholder_heading": "Неможливо розібрати елемент",
+ "timeline_parse_error_show_technical_details": "Показати технічні подробиці",
+ "timeline_parse_error_placeholder_message": "Invidious зіткнувся з помилкою під час спроби розібрати цей елемент. Докладнішу інформацію читайте нижче:"
}
From 5b3cb5268bcd679c406d1a0c6cc5cee2e57656b8 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:04 +0200
Subject: [PATCH 072/329] Update Japanese translation
Update Japanese translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Himmel
Co-authored-by: Hosted Weblate
Co-authored-by: maboroshin
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/ja.json | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/locales/ja.json b/locales/ja.json
index c4b824860..633dfa0d9 100644
--- a/locales/ja.json
+++ b/locales/ja.json
@@ -44,8 +44,6 @@
"User ID": "ユーザー ID",
"Password": "パスワード",
"Time (h:mm:ss):": "時間 (時:分分:秒秒):",
- "Text CAPTCHA": "テキスト CAPTCHA",
- "Image CAPTCHA": "画像 CAPTCHA",
"Sign In": "サインイン",
"Register": "登録",
"E-mail": "メールアドレス",
@@ -484,5 +482,10 @@
"Filipino (auto-generated)": "フィリピノ語 (自動生成)",
"First page": "最初のページ",
"channel_tab_posts_label": "投稿",
- "channel_tab_courses_label": "コース"
+ "channel_tab_courses_label": "コース",
+ "timeline_parse_error_placeholder_message": "Invidious によるこの項目の解析中にエラーが発生。詳細は以下:",
+ "timeline_parse_error_placeholder_heading": "この項目を解析できません",
+ "timeline_parse_error_show_technical_details": "技術的詳細を表示",
+ "preferences_default_playlist": "デフォルトのプレイリスト: ",
+ "preferences_default_playlist_none": "デフォルトのプレイリストは設定されていません"
}
From 9b3c46e74e287be9d6f9b66f63858ba941932fae Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:10 +0200
Subject: [PATCH 073/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/ca.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/ca.json b/locales/ca.json
index 474d6a3cd..7b753153f 100644
--- a/locales/ca.json
+++ b/locales/ca.json
@@ -167,7 +167,6 @@
"comments_points_count_plural": "{{count}} punts",
"%A %B %-d, %Y": "%A %B %-d, %Y",
"Create playlist": "Crear llista de reproducció",
- "Text CAPTCHA": "Text CAPTCHA",
"Next page": "Pàgina següent",
"preferences_category_visual": "Preferències visuals",
"preferences_unseen_only_label": "Mostra només no vistos: ",
@@ -387,7 +386,6 @@
"Delete account?": "Esborrar compte?",
"Please log in": "Si us plau inicieu sessió",
"Import NewPipe data (.zip)": "Importar dades de NewPipe (.zip)",
- "Image CAPTCHA": "Imatge CAPTCHA",
"channel_tab_streams_label": "Transmissions en directe",
"preferences_category_misc": "Preferències diverses",
"preferences_annotations_subscribed_label": "Mostra les anotacions per defecte dels canals subscrits? ",
From 019a5cdb7de8b18370aae217b2c628350273083d Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:16 +0200
Subject: [PATCH 074/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/cy.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/cy.json b/locales/cy.json
index eb391572e..6eee59617 100644
--- a/locales/cy.json
+++ b/locales/cy.json
@@ -162,8 +162,6 @@
"preferences_quality_dash_option_1080p": "1080p",
"preferences_quality_dash_option_720p": "720p",
"invidious": "Invidious",
- "Text CAPTCHA": "CAPTCHA testun",
- "Image CAPTCHA": "CAPTCHA delwedd",
"preferences_continue_label": "Chwarae'r fideo nesaf fel rhagosodiad: ",
"preferences_continue_autoplay_label": "Chwarae'r fideo nesaf yn awtomatig: ",
"preferences_listen_label": "Sain yn unig: ",
From 90269a5d09bec5877afc611b22b2ac49fd3ee50d Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:22 +0200
Subject: [PATCH 075/329] Update Czech translation
Update Czech translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Fjuro
Co-authored-by: Fjuro
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/cs.json | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/locales/cs.json b/locales/cs.json
index 41f3db5c8..a4a65d709 100644
--- a/locales/cs.json
+++ b/locales/cs.json
@@ -39,8 +39,6 @@
"User ID": "ID uživatele",
"Password": "Heslo",
"Time (h:mm:ss):": "Čas (h:mm:ss):",
- "Text CAPTCHA": "Textové CAPTCHA",
- "Image CAPTCHA": "Obrázkové CAPTCHA",
"Sign In": "Přihlásit se",
"Register": "Vytvořit účet",
"E-mail": "E-mail",
@@ -518,5 +516,10 @@
"Filipino (auto-generated)": "Filipínština (vytvořeno automaticky)",
"First page": "První stránka",
"channel_tab_courses_label": "Kurzy",
- "channel_tab_posts_label": "Příspěvky"
+ "channel_tab_posts_label": "Příspěvky",
+ "timeline_parse_error_show_technical_details": "Zobrazit technické podrobnosti",
+ "timeline_parse_error_placeholder_message": "Invidious narazil při pokusu o zpracování této položky na chybu. Další informace naleznete níže:",
+ "timeline_parse_error_placeholder_heading": "Nepodařilo se zpracovat položku",
+ "preferences_default_playlist": "Výchozí playlist: ",
+ "preferences_default_playlist_none": "Nenastaven žádný výchozí playlist"
}
From 166435b26d860033544a59f314cb22afff65b9c7 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:28 +0200
Subject: [PATCH 076/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/pt.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/pt.json b/locales/pt.json
index 6438e15ba..e5484a30e 100644
--- a/locales/pt.json
+++ b/locales/pt.json
@@ -236,8 +236,6 @@
"Preferences": "Preferências",
"E-mail": "E-mail",
"Register": "Registar",
- "Image CAPTCHA": "Imagem CAPTCHA",
- "Text CAPTCHA": "Texto CAPTCHA",
"Time (h:mm:ss):": "Tempo (h:mm:ss):",
"Password": "Palavra-passe",
"User ID": "Utilizador",
From 1d671b61176d70460f484e877ed763d93190f2ee Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:33 +0200
Subject: [PATCH 077/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/vi.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/vi.json b/locales/vi.json
index 9c4a5a159..a8bdc735d 100644
--- a/locales/vi.json
+++ b/locales/vi.json
@@ -41,8 +41,6 @@
"User ID": "Mã nhận dạng người dùng",
"Password": "Mật khẩu",
"Time (h:mm:ss):": "Thời gian (h:mm:ss):",
- "Text CAPTCHA": "CAPTCHA dạng chữ",
- "Image CAPTCHA": "CAPTCHA dạng ảnh",
"Sign In": "Đăng nhập",
"Register": "Đăng ký",
"E-mail": "E-mail",
From 22ee5573e393dfa4483cd72f674535ad69c2a785 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:38 +0200
Subject: [PATCH 078/329] Update Icelandic translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Sveinn í Felli
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/is.json | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/locales/is.json b/locales/is.json
index 28cacf31c..332a53678 100644
--- a/locales/is.json
+++ b/locales/is.json
@@ -39,8 +39,6 @@
"User ID": "Auðkenni notanda",
"Password": "Lykilorð",
"Time (h:mm:ss):": "Tími (h:mm: ss):",
- "Text CAPTCHA": "CAPTCHA-texti",
- "Image CAPTCHA": "CAPTCHA-mynd",
"Sign In": "Skrá inn",
"Register": "Nýskrá",
"E-mail": "Tölvupóstur",
@@ -501,5 +499,8 @@
"Filipino (auto-generated)": "Filippínska (sjálfvirkt útbúin)",
"channel_tab_posts_label": "Færslur",
"First page": "Fyrsta síða",
- "channel_tab_courses_label": "Kennsluefni"
+ "channel_tab_courses_label": "Kennsluefni",
+ "timeline_parse_error_placeholder_heading": "Tekst ekki að meðhöndla þetta atriði",
+ "timeline_parse_error_placeholder_message": "Invidious rakst á villu við að reyna að meðhöndla þetta atriði. Skoðaðu nánari upplýsingar hér fyrir neðan:",
+ "timeline_parse_error_show_technical_details": "Sýna nánari tæknilegar upplýsingar"
}
From 1176ac59e5e8f604cd1256f01e990f934e61519a Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:41 +0200
Subject: [PATCH 079/329] Update Croatian translation
Update Croatian translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Milo Ivir
Co-authored-by: Vid
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/hr.json | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/locales/hr.json b/locales/hr.json
index 6adbcdc39..7698b32c3 100644
--- a/locales/hr.json
+++ b/locales/hr.json
@@ -39,8 +39,6 @@
"User ID": "Korisnički ID",
"Password": "Lozinka",
"Time (h:mm:ss):": "Vrijeme (h:mm:ss):",
- "Text CAPTCHA": "Tekstualni CAPTCHA",
- "Image CAPTCHA": "Slikovni CAPTCHA",
"Sign In": "Prijavi se",
"Register": "Registriraj se",
"E-mail": "E-mail adresa",
@@ -515,5 +513,11 @@
"carousel_go_to": "Idi na kadar `x`",
"carousel_skip": "Preskoči vrtuljak",
"Filipino (auto-generated)": "Filipinski (automatski generirano)",
- "preferences_preload_label": "Unaprijed učitaj podatke videa: "
+ "preferences_preload_label": "Unaprijed učitaj podatke videa: ",
+ "channel_tab_posts_label": "Objave",
+ "timeline_parse_error_placeholder_heading": "Nije moguće obraditi stavku",
+ "timeline_parse_error_placeholder_message": "Invidious je naišao na grešku prilikom obrade ove stavke. Za više informacija pogledajte niže dolje:",
+ "timeline_parse_error_show_technical_details": "Prikaži tehničke detalje",
+ "First page": "Prva stranica",
+ "channel_tab_courses_label": "Tečajevi"
}
From fb2fcc48d5134df8465d462e3b9aaee5d64117ae Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:45 +0200
Subject: [PATCH 080/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/hu-HU.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/hu-HU.json b/locales/hu-HU.json
index 8fbdd82f3..39bc2c519 100644
--- a/locales/hu-HU.json
+++ b/locales/hu-HU.json
@@ -49,8 +49,6 @@
"User ID": "Felhasználói azonosító",
"Password": "Jelszó",
"Time (h:mm:ss):": "A pontos idő (ó:pp:mm):",
- "Text CAPTCHA": "Szöveges CAPTCHA kérése",
- "Image CAPTCHA": "Kép CAPTCHA kérése",
"Sign In": "Bejelentkezés",
"Register": "Regisztrálás",
"E-mail": "E-mail-cím",
From 2e59a50c24eb4b66378fe847a7a6e4a339a5b5d3 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:49 +0200
Subject: [PATCH 081/329] Update Hindi translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update Hindi translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Saurmanđal
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/hi.json | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/locales/hi.json b/locales/hi.json
index 0a1c09dd3..b44e4f71e 100644
--- a/locales/hi.json
+++ b/locales/hi.json
@@ -80,8 +80,6 @@
"Register": "पंजीकृत करें",
"E-mail": "ईमेल",
"Time (h:mm:ss):": "समय (घं:मिमि:सेसे):",
- "Text CAPTCHA": "टेक्स्ट CAPTCHA",
- "Image CAPTCHA": "चित्र CAPTCHA",
"Sign In": "साइन इन करें",
"Preferences": "प्राथमिकताएँ",
"preferences_category_player": "प्लेयर की प्राथमिकताएँ",
@@ -199,7 +197,7 @@
"Switch Invidious Instance": "Invidious उदाहरण बदलें",
"search_message_no_results": "कोई परिणाम नहीं मिला।",
"search_message_change_filters_or_query": "अपने खोज क्वेरी को और चौड़ा करें और/या फ़िल्टर बदलें।",
- "search_message_use_another_instance": " आप दूसरे उदाहरण पर भी खोज सकते हैं।",
+ "search_message_use_another_instance": "आप दूसरे उदाहरण पर भी खोज सकते हैं।",
"Hide annotations": "टिप्पणियाँ छिपाएँ",
"Show annotations": "टिप्पणियाँ दिखाएँ",
"Genre: ": "श्रेणी: ",
@@ -434,7 +432,7 @@
"search_filters_features_option_location": "जगह",
"search_filters_features_option_purchased": "खरीदा गया",
"search_filters_sort_label": "इस क्रम से लगाएँ",
- "search_filters_sort_option_date": "अपलोड की ताऱीख",
+ "search_filters_sort_option_date": "अपलोड की तारीख",
"search_filters_sort_option_views": "देखे जाने की संख्या",
"search_filters_apply_button": "चयनित फ़िल्टर लागू करें",
"footer_documentation": "प्रलेख",
@@ -476,7 +474,7 @@
"generic_button_cancel": "रद्द करें",
"generic_button_rss": "आरएसएस",
"generic_button_edit": "संपादित करें",
- "generic_button_delete": "हटाएं",
+ "generic_button_delete": "हटाएँ",
"playlist_button_add_items": "वीडियो जोड़ें",
"Song: ": "गाना: ",
"channel_tab_podcasts_label": "पाॅडकास्ट",
@@ -496,5 +494,13 @@
"carousel_skip": "कैरोसेल छोड़ें",
"Add to playlist: ": "प्लेलिस्ट में जोड़ें: ",
"Search for videos": "वीडियो खोजें",
- "carousel_go_to": "स्लाइड `x` पर जाएँ"
+ "carousel_go_to": "स्लाइड `x` पर जाएँ",
+ "First page": "पहला पृष्ठ",
+ "preferences_preload_label": "वीडियो डेटा प्रीलोड करें: ",
+ "Filipino (auto-generated)": "फ़िलिपीनो (अपने-आप जनरेट हुआ)",
+ "channel_tab_courses_label": "कोर्स",
+ "channel_tab_posts_label": "पोस्ट",
+ "timeline_parse_error_placeholder_heading": "आयटम को पार्स नहीं किया जा सका",
+ "timeline_parse_error_placeholder_message": "इस आयटम को पार्स करते समय Invidious को एक त्रुटि आई। अधिक जानकारी के लिए नीचे देखें:",
+ "timeline_parse_error_show_technical_details": "तकनीकी जानकारी दिखाएँ"
}
From deee01fe7bc54d6aa7219031a0d8543983e83ee5 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:04:56 +0200
Subject: [PATCH 082/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/he.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/he.json b/locales/he.json
index 6fee93b27..c05db1075 100644
--- a/locales/he.json
+++ b/locales/he.json
@@ -39,8 +39,6 @@
"User ID": "שם משתמש",
"Password": "סיסמה",
"Time (h:mm:ss):": "זמן (h:mm:ss):",
- "Text CAPTCHA": "Text CAPTCHA",
- "Image CAPTCHA": "Image CAPTCHA",
"Sign In": "התחברות",
"Register": "הרשמה",
"E-mail": "דוא״ל",
From 0eff8c8cd91689104a3b15027140357c0c689c54 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:02 +0200
Subject: [PATCH 083/329] Update Polish translation
Update Polish translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Matthaiks
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/pl.json | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/locales/pl.json b/locales/pl.json
index d78b7a951..bb68f53b8 100644
--- a/locales/pl.json
+++ b/locales/pl.json
@@ -39,8 +39,6 @@
"User ID": "ID użytkownika",
"Password": "Hasło",
"Time (h:mm:ss):": "Godzina (h:mm:ss):",
- "Text CAPTCHA": "Tekst CAPTCHA",
- "Image CAPTCHA": "Obraz CAPTCHA",
"Sign In": "Zaloguj się",
"Register": "Zarejestruj się",
"E-mail": "E-mail",
@@ -78,7 +76,7 @@
"Redirect homepage to feed: ": "Przekieruj stronę główną do subskrybcji: ",
"preferences_max_results_label": "Liczba filmów widoczna na stronie subskrybcji: ",
"preferences_sort_label": "Sortuj filmy: ",
- "published": "po czasie publikacji",
+ "published": "opublikowano",
"published - reverse": "po czasie publikacji od najstarszych",
"alphabetically": "alfabetycznie",
"alphabetically - reverse": "alfabetycznie od tyłu",
@@ -518,5 +516,10 @@
"Filipino (auto-generated)": "filipiński (wygenerowany automatycznie)",
"First page": "Pierwsza strona",
"channel_tab_posts_label": "Posty",
- "channel_tab_courses_label": "Kursy"
+ "channel_tab_courses_label": "Kursy",
+ "timeline_parse_error_placeholder_message": "Invidious napotkał błąd podczas próby parsowania tego elementu. Aby uzyskać więcej informacji, zobacz poniżej:",
+ "timeline_parse_error_placeholder_heading": "Nie można przeanalizować elementu",
+ "timeline_parse_error_show_technical_details": "Pokaż szczegóły techniczne",
+ "preferences_default_playlist_none": "Brak domyślnej playlisty",
+ "preferences_default_playlist": "Domyślna playlista: "
}
From 003f462580c8b818a89679fa906f2c5c6cc1d18e Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:08 +0200
Subject: [PATCH 084/329] Update Italian translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Random
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/it.json | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/locales/it.json b/locales/it.json
index c7143ef61..3fc215629 100644
--- a/locales/it.json
+++ b/locales/it.json
@@ -48,8 +48,6 @@
"User ID": "ID utente",
"Password": "Password",
"Time (h:mm:ss):": "Orario (h:mm:ss):",
- "Text CAPTCHA": "Testo del CAPTCHA",
- "Image CAPTCHA": "Immagine CAPTCHA",
"Sign In": "Accedi",
"Register": "Registrati",
"E-mail": "E-mail",
@@ -129,7 +127,7 @@
"subscriptions_unseen_notifs_count_0": "{{count}} notifica non visualizzata",
"subscriptions_unseen_notifs_count_1": "{{count}} notifiche non visualizzate",
"subscriptions_unseen_notifs_count_2": "{{count}} notifiche non visualizzate",
- "search": "Cerca",
+ "search": "cerca",
"Log out": "Esci",
"Source available here.": "Codice sorgente.",
"View JavaScript license information.": "Guarda le informazioni di licenza del codice JavaScript.",
@@ -518,5 +516,8 @@
"Filipino (auto-generated)": "Filippino (generati automaticamente)",
"First page": "Prima pagina",
"channel_tab_courses_label": "Corsi",
- "channel_tab_posts_label": "Post"
+ "channel_tab_posts_label": "Post",
+ "timeline_parse_error_show_technical_details": "Mostra i dettagli tecnici",
+ "timeline_parse_error_placeholder_message": "Invidious ha riscontrato un errore tentando di leggere questo elemento. Per altre informazioni vedi di seguito:",
+ "timeline_parse_error_placeholder_heading": "Lettura elemento non riuscita"
}
From d4b8801bbf92add194744002c9bd1173ff62c32e Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:14 +0200
Subject: [PATCH 085/329] Update Arabic translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Rex_sa
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/ar.json | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/locales/ar.json b/locales/ar.json
index 94103c29f..dcc58ca77 100644
--- a/locales/ar.json
+++ b/locales/ar.json
@@ -39,8 +39,6 @@
"User ID": "مُعرِّف المُستخدم",
"Password": "كلمة المرور",
"Time (h:mm:ss):": "الوقت (h:mm:ss):",
- "Text CAPTCHA": "نص الكابتشا",
- "Image CAPTCHA": "صورة الكابتشا",
"Sign In": "إنشاء حساب",
"Register": "التسجيل",
"E-mail": "البريد الإلكتروني",
@@ -569,5 +567,8 @@
"Filipino (auto-generated)": "الفلبينية (المولدة تلقائيًا)",
"channel_tab_courses_label": "الدورات",
"channel_tab_posts_label": "المنشورات",
- "First page": "الصفحة الأولى"
+ "First page": "الصفحة الأولى",
+ "timeline_parse_error_placeholder_heading": "غير قادر على تحليل العنصر",
+ "timeline_parse_error_placeholder_message": "واجه Invidious خطأ أثناء محاولة تحليل هذا العنصر. لمزيد من المعلومات انظر أدناه:",
+ "timeline_parse_error_show_technical_details": "عرض التفاصيل التقنية"
}
From 928b290fdb7dfbc242f032301769a34d622b997f Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:19 +0200
Subject: [PATCH 086/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/ia.json | 1 -
1 file changed, 1 deletion(-)
diff --git a/locales/ia.json b/locales/ia.json
index 236ec4b4d..c8a882060 100644
--- a/locales/ia.json
+++ b/locales/ia.json
@@ -5,7 +5,6 @@
"oldest": "plus ancian",
"published": "data de publication",
"invidious": "Invidious",
- "Image CAPTCHA": "Imagine CAPTCHA",
"newest": "plus nove",
"generic_button_save": "Salveguardar",
"Dark mode: ": "Modo obscur: ",
From a2d48051e37a8be88606f69e4072bcb8184104e2 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:25 +0200
Subject: [PATCH 087/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/id.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/id.json b/locales/id.json
index 4c6e8548d..d52e31bf5 100644
--- a/locales/id.json
+++ b/locales/id.json
@@ -44,8 +44,6 @@
"User ID": "ID Pengguna",
"Password": "Kata Sandi",
"Time (h:mm:ss):": "Waktu (j:mm:dd):",
- "Text CAPTCHA": "Teks CAPTCHA",
- "Image CAPTCHA": "Gambar CAPTCHA",
"Sign In": "Masuk",
"Register": "Daftar",
"E-mail": "Surel",
From 692a12336a014bd7848aa83b3f81e58050f61f77 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:33 +0200
Subject: [PATCH 088/329] Update Dutch translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Dick Groskamp
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/nl.json | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/locales/nl.json b/locales/nl.json
index e9ce7674e..50446c829 100644
--- a/locales/nl.json
+++ b/locales/nl.json
@@ -39,8 +39,6 @@
"User ID": "Gebruikers-id",
"Password": "Wachtwoord",
"Time (h:mm:ss):": "Tijd (h:mm:ss):",
- "Text CAPTCHA": "Tekst-CAPTCHA",
- "Image CAPTCHA": "Afbeelding-CAPTCHA",
"Sign In": "Inloggen",
"Register": "Registreren",
"E-mail": "E-mailadres",
@@ -501,5 +499,8 @@
"Filipino (auto-generated)": "Filipijns (automatisch gegenereerd)",
"channel_tab_courses_label": "Cursussen",
"First page": "Eerste pagina",
- "channel_tab_posts_label": "Gepost"
+ "channel_tab_posts_label": "Gepost",
+ "timeline_parse_error_placeholder_heading": "Kan item niet parsen",
+ "timeline_parse_error_placeholder_message": "Invidious kwam een fout tegen bij het proberen te parsen van dit item. Voor meer informatie, kijk hieronder:",
+ "timeline_parse_error_show_technical_details": "Technische details weergeven"
}
From 28cf74e32153f1799df8716b50aac836a8589975 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:40 +0200
Subject: [PATCH 089/329] Update Spanish translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update Spanish translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: TransGecko
Co-authored-by: Álvaro Alonso Ramírez
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/es.json | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/locales/es.json b/locales/es.json
index 686e13f93..53b4b3b44 100644
--- a/locales/es.json
+++ b/locales/es.json
@@ -39,8 +39,6 @@
"User ID": "Nombre",
"Password": "Contraseña",
"Time (h:mm:ss):": "Hora (h:mm:ss):",
- "Text CAPTCHA": "CAPTCHA en texto",
- "Image CAPTCHA": "CAPTCHA en imagen",
"Sign In": "Iniciar sesión",
"Register": "Registrarse",
"E-mail": "Correo",
@@ -319,7 +317,7 @@
"`x` marked it with a ❤": "`x` lo ha marcado con un ❤",
"Audio mode": "Modo de audio",
"Video mode": "Modo de video",
- "channel_tab_videos_label": "Videos",
+ "channel_tab_videos_label": "Vídeos",
"Playlists": "Listas de reproducción",
"channel_tab_community_label": "Comunidad",
"search_filters_sort_option_relevance": "Relevancia",
@@ -439,7 +437,7 @@
"generic_count_seconds_2": "{{count}} segundos",
"crash_page_before_reporting": "Antes de notificar un error asegúrate de que has:",
"crash_page_switch_instance": "probado a usar otra instancia",
- "crash_page_read_the_faq": "leído las Preguntas Frecuentes",
+ "crash_page_read_the_faq": "lee las Preguntas Frecuentes",
"crash_page_search_issue": "buscado problemas existentes en GitHub",
"crash_page_you_found_a_bug": "¡Parece que has encontrado un error en Invidious!",
"crash_page_refresh": "probado a recargar la página",
@@ -482,7 +480,7 @@
"tokens_count_2": "{{count}} tokens",
"search_message_use_another_instance": "También puedes buscar en otra instancia.",
"Popular enabled: ": "¿Habilitar la sección popular? ",
- "error_video_not_in_playlist": "El video que solicitaste no existe en esta lista de reproducción. Haz clic aquí para acceder a la página de inicio de la lista de reproducción.",
+ "error_video_not_in_playlist": "El vídeo que has solicitado no existe en esta lista de reproducción. Haz clic aquí para acceder a la página de inicio de la lista de reproducción.",
"channel_tab_streams_label": "Directos",
"channel_tab_channels_label": "Canales",
"channel_tab_shorts_label": "Cortos",
@@ -520,5 +518,8 @@
"Filipino (auto-generated)": "Filipino (generados automáticamente)",
"channel_tab_posts_label": "Publicaciones",
"First page": "Primera página",
- "channel_tab_courses_label": "Cursos"
+ "channel_tab_courses_label": "Cursos",
+ "timeline_parse_error_show_technical_details": "Enseñar detalles técnicos",
+ "timeline_parse_error_placeholder_message": "Invidious ha encontrado un error al tratar de procesar este elemento. Para más información ver abajo:",
+ "timeline_parse_error_placeholder_heading": "Imposible procesar este elemento"
}
From 2c7e513c636f641a4e9fe8196d1efdb77de33c64 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:44 +0200
Subject: [PATCH 090/329] Update French translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Tristan B
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/fr.json | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/locales/fr.json b/locales/fr.json
index 49aa09dfd..88f3a94f4 100644
--- a/locales/fr.json
+++ b/locales/fr.json
@@ -62,8 +62,6 @@
"User ID": "Identifiant utilisateur",
"Password": "Mot de passe",
"Time (h:mm:ss):": "Heure (h:mm:ss) :",
- "Text CAPTCHA": "CAPTCHA textuel",
- "Image CAPTCHA": "CAPTCHA pictural",
"Sign In": "S'identifier",
"Register": "S'inscrire",
"E-mail": "Courriel",
@@ -518,5 +516,6 @@
"preferences_preload_label": "Précharger les données de la vidéo : ",
"First page": "Première page",
"channel_tab_courses_label": "Cours",
- "channel_tab_posts_label": "Messages"
+ "channel_tab_posts_label": "Messages",
+ "timeline_parse_error_show_technical_details": "Afficher les détails techniques"
}
From fc76964c87c760c546010d45a20b9ad208f83114 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:48 +0200
Subject: [PATCH 091/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/sv-SE.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/sv-SE.json b/locales/sv-SE.json
index 8f050d98b..0f0808c2d 100644
--- a/locales/sv-SE.json
+++ b/locales/sv-SE.json
@@ -39,8 +39,6 @@
"User ID": "Användar-ID",
"Password": "Lösenord",
"Time (h:mm:ss):": "Tid (h:mm:ss):",
- "Text CAPTCHA": "Text-CAPTCHA",
- "Image CAPTCHA": "Bild-CAPTCHA",
"Sign In": "Inloggning",
"Register": "Registrera",
"E-mail": "E-post",
From 7ab925e45b3f678e9dbe5c9aaea7a67a0a3a2ddb Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:51 +0200
Subject: [PATCH 092/329] Update Persian translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Atur
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/fa.json | 82 ++++++++++++++++++++++++++-----------------------
1 file changed, 43 insertions(+), 39 deletions(-)
diff --git a/locales/fa.json b/locales/fa.json
index 2326370da..b5b72b4d7 100644
--- a/locales/fa.json
+++ b/locales/fa.json
@@ -1,12 +1,12 @@
{
"generic_views_count": "{{count}} بازدید",
"generic_views_count_plural": "{{count}} بازدید",
- "generic_videos_count": "{{count}} ویدئو",
- "generic_videos_count_plural": "{{count}} ویدئو",
+ "generic_videos_count": "{{count}} ویدیو",
+ "generic_videos_count_plural": "{{count}} ویدیو",
"generic_playlists_count": "{{count}} فهرست پخش",
"generic_playlists_count_plural": "{{count}} فهرست پخش",
- "generic_subscribers_count": "{{count}} دنبال کننده",
- "generic_subscribers_count_plural": "{{count}} دنبال کننده",
+ "generic_subscribers_count": "{{count}} دنبالکننده",
+ "generic_subscribers_count_plural": "{{count}} دنبالکننده",
"generic_subscriptions_count": "{{count}} اشتراک",
"generic_subscriptions_count_plural": "{{count}} اشتراک",
"LIVE": "زنده",
@@ -24,21 +24,21 @@
"Clear watch history?": "پاک کردن تاریخچه نمایش؟",
"New password": "گذرواژه تازه",
"New passwords must match": "گذارواژه های تازه باید باهم همخوانی داشته باشند",
- "Authorize token?": "توکن دسترسی؟",
- "Authorize token for `x`?": "توکن دسترسی برای `x`؟",
- "Yes": "بله",
- "No": "خیر",
+ "Authorize token?": "اجازه دادن به توکن؟",
+ "Authorize token for `x`?": "اجازه دادن به توکن برای `x`؟",
+ "Yes": "آری",
+ "No": "نه",
"Import and Export Data": "درونبرد و برونبرد داده",
"Import": "درونبرد",
- "Import Invidious data": "وارد کردن داده JSON اینویدیوس",
- "Import YouTube subscriptions": "وارد کردن فایل CSV یا OPML سابسکرایب های یوتیوب",
+ "Import Invidious data": "درونبرد داده JSON اینویدیوس",
+ "Import YouTube subscriptions": "درونبرد پروندهٔ CSV یا OPML اشتراکهای یوتیوب",
"Import FreeTube subscriptions (.db)": "درونبرد اشتراکهای فریتیوب (.db)",
"Import NewPipe subscriptions (.json)": "درونبرد اشتراکهای نیوپایپ (.json)",
"Import NewPipe data (.zip)": "درونبرد داده نیوپایپ (.zip)",
"Export": "برونبرد",
"Export subscriptions as OPML": "برونبرد اشتراکها در قالب OPML",
"Export subscriptions as OPML (for NewPipe & FreeTube)": "برونبرد اشتراکها در قالب OPML (برای نیوپایپ و فریتیوب)",
- "Export data as JSON": "گرفتن(خارج کردن) اطلاعات اینویدیوس با فرمت JSON",
+ "Export data as JSON": "برونبرد دادهٔ اینویدیوس بهعنوان JSON",
"Delete account?": "حذف حساب کاربری؟",
"History": "تاریخچه",
"An alternative front-end to YouTube": "یک پیشانه جایگزین برای یوتیوب",
@@ -49,15 +49,13 @@
"User ID": "شناسه کاربری",
"Password": "گذرواژه",
"Time (h:mm:ss):": "زمان (h:mm:ss):",
- "Text CAPTCHA": "کپچای متنی",
- "Image CAPTCHA": "کپچای تصویری",
"Sign In": "ورود",
"Register": "ثبت نام",
"E-mail": "ایمیل",
"Preferences": "ترجیحات",
"preferences_category_player": "ترجیحات نمایشدهنده",
- "preferences_video_loop_label": "همواره ویدئو را بازپخش کن ",
- "preferences_autoplay_label": "نمایش خودکار: ",
+ "preferences_video_loop_label": "همیشه بازپخش کن: ",
+ "preferences_autoplay_label": "پخش خودکار: ",
"preferences_continue_label": "پخش بعدی به طور پیشفرض: ",
"preferences_continue_autoplay_label": "پخش خودکار ویدیو بعدی: ",
"preferences_listen_label": "گوش کردن به طور پیشفرض: ",
@@ -68,14 +66,14 @@
"preferences_comments_label": "نظرات پیشفرض: ",
"youtube": "یوتیوب",
"reddit": "ردیت",
- "preferences_captions_label": "زیرنویس های پیشفرض: ",
- "Fallback captions: ": "عقب گرد زیرنویس ها: ",
- "preferences_related_videos_label": "نمایش ویدیو های مرتبط: ",
- "preferences_annotations_label": "نمایش حاشیه نویسی ها به طور پیشفرض: ",
- "preferences_extend_desc_label": "گسترش خودکار توضیحات ویدئو: ",
- "preferences_vr_mode_label": "ویدئوها ۳۶۰ درجه تعاملی(نیازمند WebGL): ",
+ "preferences_captions_label": "زیرنویسهای پیشفرض: ",
+ "Fallback captions: ": "عقبگرد زیرنویسها: ",
+ "preferences_related_videos_label": "نمایش ویدیوهای مرتبط: ",
+ "preferences_annotations_label": "نمایش حاشیهنویسیها بهطور پیشفرض: ",
+ "preferences_extend_desc_label": "گسترش خودکار توضیحات ویدیو: ",
+ "preferences_vr_mode_label": "ویدیوهای ۳۶۰ درجهٔ تعاملی (نیازمند WebGL): ",
"preferences_category_visual": "ترجیحات بصری",
- "preferences_player_style_label": "حالت پخش کننده: ",
+ "preferences_player_style_label": "حالت پخشکننده: ",
"Dark mode: ": "حالت تاریک: ",
"preferences_dark_mode_label": "تم: ",
"dark": "تاریک",
@@ -84,7 +82,7 @@
"preferences_category_misc": "ترجیحات متفرقه",
"preferences_automatic_instance_redirect_label": "هدایت خودکار نمونه (انتقال به redirect.invidious.io): ",
"preferences_category_subscription": "ترجیحات اشتراک",
- "preferences_annotations_subscribed_label": "نمایش حاشیه نویسی ها به طور پیشفرض برای کانال های مشترک شده: ",
+ "preferences_annotations_subscribed_label": "نمایش حاشیهنویسیها بهطور پیشفرض برای کانالهای مشترکشده: ",
"Redirect homepage to feed: ": "تغییر مسیر صفحه خانه به خوراک: ",
"preferences_max_results_label": "تعداد ویدیو های نمایش داده شده در خوراک: ",
"preferences_sort_label": "مرتب سازی ویدیو ها بر اساس: ",
@@ -383,21 +381,21 @@
"next_steps_error_message_refresh": "تازهسازی",
"next_steps_error_message_go_to_youtube": "رفتن به یوتیوب",
"preferences_quality_option_hd720": "HD720",
- "preferences_quality_option_dash": "DASH (کیفیت تطبیفی)",
+ "preferences_quality_option_dash": "DASH (کیفیت سازگارشونده)",
"preferences_quality_option_medium": "میانه",
"preferences_quality_option_small": "پایین",
"preferences_quality_dash_option_auto": "خودکار",
"preferences_quality_dash_option_best": "بهترین",
"preferences_quality_dash_option_worst": "بدترین",
- "preferences_quality_dash_option_4320p": "4320p",
- "preferences_quality_dash_option_2160p": "2160p",
- "preferences_quality_dash_option_1440p": "1440p",
- "preferences_quality_dash_option_1080p": "1080p",
- "preferences_quality_dash_option_720p": "720p",
- "preferences_quality_dash_option_480p": "480p",
- "preferences_quality_dash_option_360p": "360p",
- "preferences_quality_dash_option_240p": "240p",
- "preferences_quality_dash_option_144p": "144p",
+ "preferences_quality_dash_option_4320p": "۴۳۲۰p",
+ "preferences_quality_dash_option_2160p": "۲۱۶۰p",
+ "preferences_quality_dash_option_1440p": "۱۴۴۰p",
+ "preferences_quality_dash_option_1080p": "۱۰۸۰p",
+ "preferences_quality_dash_option_720p": "۷۲۰p",
+ "preferences_quality_dash_option_480p": "۴۸۰p",
+ "preferences_quality_dash_option_360p": "۳۶۰p",
+ "preferences_quality_dash_option_240p": "۲۴۰p",
+ "preferences_quality_dash_option_144p": "۱۴۴p",
"invidious": "اینویدیوس",
"search_filters_features_option_three_sixty": "360°",
"footer_donate_page": "کمک مالی",
@@ -476,8 +474,8 @@
"generic_button_rss": "خوراک RSS",
"crash_page_read_the_faq": "که سوالات بیشتر پرسیده شده (FAQ) را خواندهاید",
"generic_button_delete": "حذف",
- "Import YouTube playlist (.csv)": "واردکردن فهرستپخش YouTube (.csv)",
- "Import YouTube watch history (.json)": "وارد کردن فهرست پخش YouTube (.json)",
+ "Import YouTube playlist (.csv)": "درونبرد فهرستپخش YouTube (.csv)",
+ "Import YouTube watch history (.json)": "درونبرد تاریخچهٔ تماشای یوتیوب (.json)",
"crash_page_you_found_a_bug": "به نظر میرسد که ایرادی در Invidious پیدا کردهاید!",
"channel_tab_podcasts_label": "پادکستها",
"channel_tab_streams_label": "پخش زندهها",
@@ -485,10 +483,10 @@
"channel_tab_playlists_label": "فهرستهای پخش",
"channel_tab_channels_label": "کانالها",
"error_video_not_in_playlist": "ویدیوی درخواستی معلق به این فهرست پخش نیست. کلیک کنید تا به صفحهٔ اصلی فهرست پخش بروید.",
- "Add to playlist": "به لیست پخش افزوده شود",
+ "Add to playlist": "افزودن به فهرست پخش",
"Answer": "پاسخ",
- "Search for videos": "جست و جو برای ویدیوها",
- "Add to playlist: ": "افزودن به لیست پخش ",
+ "Search for videos": "جستوجو برای ویدیوها",
+ "Add to playlist: ": "افزودن به فهرست پخش ",
"The Popular feed has been disabled by the administrator.": "بخش ویدیوهای پرطرفدار توسط مدیر غیرفعال شده است.",
"carousel_slide": "اسلاید {{current}} از {{total}}",
"carousel_skip": "رد شدن از گرداننده",
@@ -497,5 +495,11 @@
"crash_page_report_issue": "اگر هیچ یک از روش های بالا کمکی نکردند لطفا (ترجیحا به انگلیسی) یک سوال جدید در گیت هاب بپرسید و طوری که سوالتون شامل متن زیر باشه:",
"channel_tab_releases_label": "آثار",
"toggle_theme": "تغییر وضعیت تم",
- "preferences_preload_label": "پیش بار کردن دادههای ویدیو: "
+ "preferences_preload_label": "پیش بار کردن دادههای ویدیو: ",
+ "First page": "نخستین صفحه",
+ "Filipino (auto-generated)": "فیلیپنی (تولید خودکار)",
+ "channel_tab_posts_label": "فرستهها",
+ "timeline_parse_error_placeholder_heading": "ناتوانی در تجزیهٔ مورد",
+ "timeline_parse_error_placeholder_message": "اینویدیوس هنگام کوشش برای تجزیهٔ این مورد به خطایی برخورد. برای اطلاعات بیشتر زیر را ببینید:",
+ "timeline_parse_error_show_technical_details": "نمایش جزئیات فنی"
}
From 39c930145a86c83a657f49db82c4146b03696a2e Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:05:57 +0200
Subject: [PATCH 093/329] Update Finnish translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Jiri Grönroos
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/fi.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/locales/fi.json b/locales/fi.json
index 13fef6de1..db30b396e 100644
--- a/locales/fi.json
+++ b/locales/fi.json
@@ -39,8 +39,6 @@
"User ID": "Käyttäjätunnus",
"Password": "Salasana",
"Time (h:mm:ss):": "Aika (h:mm:ss):",
- "Text CAPTCHA": "Teksti-CAPTCHA",
- "Image CAPTCHA": "Kuva-CAPTCHA",
"Sign In": "Kirjaudu sisään",
"Register": "Rekisteröidy",
"E-mail": "Sähköposti",
@@ -497,5 +495,7 @@
"The Popular feed has been disabled by the administrator.": "Järjestelmänvalvoja on poistanut Suositut-syötteen.",
"Import YouTube watch history (.json)": "Tuo Youtube-katseluhistoria (.json)",
"toggle_theme": "Vaihda teemaa",
- "preferences_preload_label": "Esilataa video data. "
+ "preferences_preload_label": "Esilataa video data. ",
+ "timeline_parse_error_show_technical_details": "Näytä tekniset yksityiskohdat",
+ "First page": "Ensimmäinen sivu"
}
From 6928be1298a9e9b5c88a99fc8d7e141c473844ea Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:00 +0200
Subject: [PATCH 094/329] Update Serbian translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: NEXI
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/sr.json | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/locales/sr.json b/locales/sr.json
index c6614ba59..c5f444a78 100644
--- a/locales/sr.json
+++ b/locales/sr.json
@@ -39,8 +39,6 @@
"User ID": "ID korisnika",
"Password": "Lozinka",
"Time (h:mm:ss):": "Vreme (č:mm:ss):",
- "Text CAPTCHA": "Tekst CAPTCHA",
- "Image CAPTCHA": "Slika CAPTCHA",
"Sign In": "Prijava",
"Register": "Registracija",
"E-mail": "Imejl",
@@ -518,5 +516,8 @@
"Filipino (auto-generated)": "Filipinski (automatski generisano)",
"channel_tab_posts_label": "Objave",
"First page": "Prva stranica",
- "channel_tab_courses_label": "Kursevi"
+ "channel_tab_courses_label": "Kursevi",
+ "timeline_parse_error_placeholder_heading": "Nije moguće raščlaniti predmet",
+ "timeline_parse_error_show_technical_details": "Prikaži tehničke detalje",
+ "timeline_parse_error_placeholder_message": "Invidious je naišao na grešku prilikom pokušaja raščlanjivanja ovog predmeta. Za više informacija pogledajte ispod:"
}
From 8ffbed0d386c61538b4c59ef692bbff3f50a9c77 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:02 +0200
Subject: [PATCH 095/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/sq.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/sq.json b/locales/sq.json
index cdf4b605e..3ef915371 100644
--- a/locales/sq.json
+++ b/locales/sq.json
@@ -42,8 +42,6 @@
"User ID": "ID Përdoruesi",
"Password": "Fjalëkalim",
"Time (h:mm:ss):": "Kohë (h:mm:ss):",
- "Text CAPTCHA": "CAPTCHA Tekst",
- "Image CAPTCHA": "CAPTCHA Figurë",
"Sign In": "Hyni",
"Register": "Regjistrohuni",
"E-mail": "Email",
From 5a1d39683bdcf8253b26847f4745a0de08d4edb3 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:05 +0200
Subject: [PATCH 096/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/ko.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/ko.json b/locales/ko.json
index 0224955f2..097286843 100644
--- a/locales/ko.json
+++ b/locales/ko.json
@@ -36,8 +36,6 @@
"Register": "회원가입",
"Sign In": "로그인",
"preferences_category_misc": "기타 설정",
- "Image CAPTCHA": "이미지 캡차",
- "Text CAPTCHA": "텍스트 캡차",
"Time (h:mm:ss):": "시각 (h:mm:ss):",
"Password": "비밀번호",
"User ID": "사용자 ID",
From 5643cb1c4dab9c4c8d3c6ef061d8151b0552554f Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:08 +0200
Subject: [PATCH 097/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/sk.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/sk.json b/locales/sk.json
index 8add0f577..d9bca6196 100644
--- a/locales/sk.json
+++ b/locales/sk.json
@@ -36,8 +36,6 @@
"User ID": "ID používateľa",
"Password": "Heslo",
"Time (h:mm:ss):": "Čas (h:mm:ss):",
- "Text CAPTCHA": "Textové CAPTCHA",
- "Image CAPTCHA": "Obrázkové CAPTCHA",
"Sign In": "Prihlásiť sa",
"Register": "Registrovať",
"E-mail": "E-mail",
From 4c57aba1f33b3fd1307c1a3a9bb339abbbc566e8 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:11 +0200
Subject: [PATCH 098/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/si.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/si.json b/locales/si.json
index 4637cbd2b..c0d2ccb05 100644
--- a/locales/si.json
+++ b/locales/si.json
@@ -82,8 +82,6 @@
"Export subscriptions as OPML": "දායකත්වයන් OPML ලෙස අපනයනය කරන්න",
"JavaScript license information": "JavaScript බලපත්ර තොරතුරු",
"User ID": "පරිශීලක කේතය",
- "Text CAPTCHA": "CAPTCHA පෙල",
- "Image CAPTCHA": "CAPTCHA රූපය",
"E-mail": "විද්යුත් තැපෑල",
"preferences_quality_label": "කැමති වීඩියෝ ගුණත්වය: ",
"preferences_quality_option_hd720": "HD720",
From aa1f8d0e63596629220e72f5243b7b6ddae70c7a Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:14 +0200
Subject: [PATCH 099/329] Update Slovenian translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Damjan Gerl
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/sl.json | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/locales/sl.json b/locales/sl.json
index c36ad5228..63798f21b 100644
--- a/locales/sl.json
+++ b/locales/sl.json
@@ -24,9 +24,7 @@
"User ID": "ID uporabnika",
"Password": "Geslo",
"Time (h:mm:ss):": "Čas (h:mm:ss):",
- "Text CAPTCHA": "Besedilo CAPTCHA",
"source": "izvorna koda",
- "Image CAPTCHA": "Slika CAPTCHA",
"Sign In": "Prijavi se",
"Register": "Registriraj se",
"E-mail": "E-pošta",
@@ -532,5 +530,11 @@
"carousel_slide": "Diapozitiv {{current}} od {{total}}",
"carousel_skip": "Preskoči galerijo",
"carousel_go_to": "Pojdi na diapozitiv `x`",
- "preferences_preload_label": "Predhodno naloži video podatke: "
+ "preferences_preload_label": "Predhodno naloži video podatke: ",
+ "First page": "Prva stran",
+ "channel_tab_courses_label": "Tečaji",
+ "channel_tab_posts_label": "Objave",
+ "timeline_parse_error_placeholder_heading": "Elementa ni mogoče razčleniti",
+ "timeline_parse_error_placeholder_message": "Invidious je naletel na napako pri poskusu razčlenitve tega elementa. Za več informacij glej spodaj:",
+ "timeline_parse_error_show_technical_details": "Pokaži tehnične podrobnosti"
}
From 4ce4faec13d9a3c152958f6a52bdc56402842336 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:18 +0200
Subject: [PATCH 100/329] Update Portuguese (Portugal) translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: ssantos
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/pt-PT.json | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/locales/pt-PT.json b/locales/pt-PT.json
index 449bde77f..65c662c62 100644
--- a/locales/pt-PT.json
+++ b/locales/pt-PT.json
@@ -39,8 +39,6 @@
"User ID": "Utilizador",
"Password": "Palavra-passe",
"Time (h:mm:ss):": "Tempo (h:mm:ss):",
- "Text CAPTCHA": "Texto CAPTCHA",
- "Image CAPTCHA": "Imagem CAPTCHA",
"Sign In": "Entrar",
"Register": "Registar",
"E-mail": "E-mail",
@@ -518,5 +516,8 @@
"Filipino (auto-generated)": "Filipino (gerado automaticamente)",
"channel_tab_courses_label": "Cursos",
"channel_tab_posts_label": "Publicações",
- "toggle_theme": "Trocar tema"
+ "toggle_theme": "Trocar tema",
+ "timeline_parse_error_placeholder_heading": "Incapaz de processar o elemento",
+ "timeline_parse_error_placeholder_message": "O Invidious encontrou um problema ao processar este elemento. Para mais informações, veja abaixo:",
+ "timeline_parse_error_show_technical_details": "Mostrar detalhes técnicos"
}
From a35fa2bd3c28c819022167f0063023563fba7bed Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:21 +0200
Subject: [PATCH 101/329] Update Chinese (Traditional Han script) translation
Update Chinese (Traditional Han script) translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: Jeff Huang
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/zh-TW.json | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/locales/zh-TW.json b/locales/zh-TW.json
index 778053490..e2649c7bc 100644
--- a/locales/zh-TW.json
+++ b/locales/zh-TW.json
@@ -44,8 +44,6 @@
"User ID": "使用者 ID",
"Password": "密碼",
"Time (h:mm:ss):": "時間 (h:mm:ss):",
- "Text CAPTCHA": "文字 CAPTCHA",
- "Image CAPTCHA": "圖片 CAPTCHA",
"Sign In": "登入",
"Register": "註冊",
"E-mail": "電子郵件",
@@ -484,5 +482,10 @@
"Filipino (auto-generated)": "菲律賓語(自動產生)",
"channel_tab_courses_label": "課程",
"First page": "第一頁",
- "channel_tab_posts_label": "貼文"
+ "channel_tab_posts_label": "貼文",
+ "timeline_parse_error_show_technical_details": "顯示技術細節",
+ "timeline_parse_error_placeholder_heading": "無法解析項目",
+ "timeline_parse_error_placeholder_message": "Invidious 在嘗試解析此項目時遇到錯誤。要取得更多資訊,請見下方:",
+ "preferences_default_playlist": "預設播放清單: ",
+ "preferences_default_playlist_none": "未設定預設播放清單"
}
From 87d3bd0ab85d8743792ccb20a913ab87e0a8fe52 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:23 +0200
Subject: [PATCH 102/329] Update Chinese (Simplified Han script) translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update Chinese (Simplified Han script) translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: 大王叫我来巡山
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/zh-CN.json | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/locales/zh-CN.json b/locales/zh-CN.json
index f3bc660bd..5c32caaa8 100644
--- a/locales/zh-CN.json
+++ b/locales/zh-CN.json
@@ -44,8 +44,6 @@
"User ID": "用户 ID",
"Password": "密码",
"Time (h:mm:ss):": "时间 (h:mm:ss):",
- "Text CAPTCHA": "文本验证码",
- "Image CAPTCHA": "图片验证码",
"Sign In": "登录",
"Register": "注册",
"E-mail": "E-mail",
@@ -484,5 +482,10 @@
"Filipino (auto-generated)": "菲律宾语 (自动生成)",
"channel_tab_posts_label": "帖子",
"First page": "第一页",
- "channel_tab_courses_label": "课程"
+ "channel_tab_courses_label": "课程",
+ "timeline_parse_error_show_technical_details": "显示技术细节",
+ "timeline_parse_error_placeholder_heading": "无法解析项目",
+ "timeline_parse_error_placeholder_message": "Invidious 在尝试解析此项目时遇到一个错误。更多信息请见下方:",
+ "preferences_default_playlist": "默认播放列表: ",
+ "preferences_default_playlist_none": "尚无默认播放列表"
}
From d047a686a4e1a5964b67d885154aaf9f77904b57 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:27 +0200
Subject: [PATCH 103/329] Update Serbian (Cyrillic script) translation
Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Co-authored-by: NEXI
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/sr_Cyrl.json | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/locales/sr_Cyrl.json b/locales/sr_Cyrl.json
index e6ab0f354..872bd00e5 100644
--- a/locales/sr_Cyrl.json
+++ b/locales/sr_Cyrl.json
@@ -39,8 +39,6 @@
"User ID": "ID корисника",
"Password": "Лозинка",
"Time (h:mm:ss):": "Време (ч:мм:сс):",
- "Text CAPTCHA": "Текст CAPTCHA",
- "Image CAPTCHA": "Слика CAPTCHA",
"Sign In": "Пријава",
"Register": "Регистрација",
"E-mail": "Имејл",
@@ -518,5 +516,8 @@
"Filipino (auto-generated)": "Филипински (аутоматски генерисано)",
"channel_tab_courses_label": "Курсеви",
"First page": "Прва страница",
- "channel_tab_posts_label": "Објаве"
+ "channel_tab_posts_label": "Објаве",
+ "timeline_parse_error_show_technical_details": "Прикажи техничке детаље",
+ "timeline_parse_error_placeholder_heading": "Није могуће рашчланити предмет",
+ "timeline_parse_error_placeholder_message": "Invidious је наишао на грешку приликом покушаја рашчлањивања овог предмета. За више информација погледајте испод:"
}
From fce446c10ed61f68ee74174a0a6355d50d71b0aa Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:30 +0200
Subject: [PATCH 104/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/bn_BD.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/bn_BD.json b/locales/bn_BD.json
index a82b0da74..8ed582161 100644
--- a/locales/bn_BD.json
+++ b/locales/bn_BD.json
@@ -39,8 +39,6 @@
"User ID": "ইউজার আইডি",
"Password": "পাসওয়ার্ড",
"Time (h:mm:ss):": "সময় (ঘণ্টা:মিনিট:সেকেন্ড):",
- "Text CAPTCHA": "টেক্সট ক্যাপচা",
- "Image CAPTCHA": "চিত্র ক্যাপচা",
"Sign In": "সাইন ইন",
"Register": "নিবন্ধন",
"E-mail": "ই-মেইল",
From 6ce4717ed010d0124a3c476cf2fb0aadfa80ea0a Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:34 +0200
Subject: [PATCH 105/329] Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Update Alemannic translation
Add Alemannic translation
Co-authored-by: Hosted Weblate
Co-authored-by: Lenny Angst
---
locales/gsw.json | 506 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 506 insertions(+)
create mode 100644 locales/gsw.json
diff --git a/locales/gsw.json b/locales/gsw.json
new file mode 100644
index 000000000..cf131de50
--- /dev/null
+++ b/locales/gsw.json
@@ -0,0 +1,506 @@
+{
+ "Add to playlist": "Enere Widergabelischte hinzuefüege",
+ "Add to playlist: ": "Enere Widergabelischte hinzuefüege: ",
+ "Answer": "Antwort",
+ "Search for videos": "Nach Videos sueche",
+ "The Popular feed has been disabled by the administrator.": "De Feed für beliebti Inhält isch vom Administrator deaktiviert worde.",
+ "generic_channels_count": "{{count}} Kanal",
+ "generic_channels_count_plural": "{{count}} Kanäl",
+ "generic_views_count": "{{count}} Uufruef",
+ "generic_views_count_plural": "{{count}} Uufrüef",
+ "generic_videos_count": "{{count}} Video",
+ "generic_videos_count_plural": "{{count}} Videos",
+ "generic_playlists_count": "{{count}} Widergabelischte",
+ "generic_playlists_count_plural": "{{count}} Widergabelischtene",
+ "generic_subscribers_count": "{{count}} Abonnent",
+ "generic_subscribers_count_plural": "{{count}} Abonnente",
+ "generic_subscriptions_count": "{{count}} Abo",
+ "generic_subscriptions_count_plural": "{{count}} Abos",
+ "generic_button_delete": "Lösche",
+ "generic_button_edit": "Bearbeite",
+ "generic_button_save": "Speichere",
+ "generic_button_cancel": "Abbreche",
+ "generic_button_rss": "RSS",
+ "LIVE": "LIVE",
+ "Shared `x` ago": "Vor `x` teilt",
+ "Unsubscribe": "Abo beende",
+ "Subscribe": "Abonniere",
+ "View channel on YouTube": "Kanal uf YouTube aazeige",
+ "View playlist on YouTube": "Widergabelischte uf YouTube aazeige",
+ "newest": "neusti",
+ "oldest": "ältisti",
+ "popular": "beliebtisti",
+ "last": "neusti",
+ "Next page": "Nächsti Siite",
+ "Previous page": "Vorherigi Siite",
+ "First page": "Ersti Siite",
+ "Clear watch history?": "Widergabeverlauf lösche?",
+ "New password": "Neus Passwort",
+ "New passwords must match": "Neui Passwörter müend übereinstimme",
+ "Authorize token?": "Token autorisiere?",
+ "Authorize token for `x`?": "Token für `x` autorisiere?",
+ "Yes": "Ja",
+ "No": "Nei",
+ "Import and Export Data": "Date importiere und exportiere",
+ "Import": "Importiere",
+ "Import Invidious data": "Invidious-JSON-Date importiere",
+ "Import YouTube subscriptions": "YouTube-CSV/OPML-Abonnements importiere",
+ "Import YouTube playlist (.csv)": "YouTube-Widergabelischte importiere (.csv)",
+ "Import YouTube watch history (.json)": "YouTube-Widergabeverlauf importiere (.json)",
+ "Import FreeTube subscriptions (.db)": "FreeTube Abonnements importiere (.db)",
+ "Import NewPipe subscriptions (.json)": "NewPipe Abonnements importiere (.json)",
+ "Import NewPipe data (.zip)": "NewPipe Date importiere (.zip)",
+ "Export": "Exportiere",
+ "Export subscriptions as OPML": "Abonnements als OPML exportiere",
+ "Export subscriptions as OPML (for NewPipe & FreeTube)": "Abonnements als OPML exportiere (für NewPipe & FreeTube)",
+ "Export data as JSON": "Invidious-Date als JSON exportiere",
+ "Delete account?": "Konto lösche?",
+ "History": "Verlauf",
+ "An alternative front-end to YouTube": "En alternativi Oberflächi für YouTube",
+ "JavaScript license information": "JavaScript Lizenzinformatione",
+ "source": "Quelle",
+ "Log in": "Aamelde",
+ "Log in/register": "Aamelde/registriere",
+ "User ID": "Benutzer-ID",
+ "Password": "Passwort",
+ "Time (h:mm:ss):": "Ziit (h:mm:ss):",
+ "Sign In": "Aamelde",
+ "Register": "Registriere",
+ "E-mail": "E-Mail",
+ "Preferences": "Iistellige",
+ "preferences_category_player": "Widergabeiistellige",
+ "preferences_video_loop_label": "Immer widerhole: ",
+ "preferences_preload_label": "Videodate vorlade: ",
+ "preferences_autoplay_label": "Automatisch abspiele: ",
+ "preferences_continue_label": "Immer automatisch nächsts Video abspiele: ",
+ "preferences_continue_autoplay_label": "Nächsts Video automatisch abspiele: ",
+ "preferences_listen_label": "Nur Ton als Standard: ",
+ "preferences_local_label": "Videos dur Proxy leite: ",
+ "preferences_watch_history_label": "Widergabeverlauf aktiviere: ",
+ "preferences_speed_label": "Standardgschwindigkeit: ",
+ "preferences_quality_label": "Bevorzugti Videoqualität: ",
+ "preferences_quality_option_dash": "DASH (adaptivi Qualität)",
+ "preferences_quality_option_hd720": "HD720",
+ "preferences_quality_option_medium": "Mittel",
+ "preferences_quality_option_small": "Niedrig",
+ "preferences_quality_dash_label": "Bevorzugti DASH-Videoqualität: ",
+ "preferences_quality_dash_option_auto": "Auto",
+ "preferences_quality_dash_option_best": "Höchsti",
+ "preferences_quality_dash_option_worst": "Niedrigsti",
+ "preferences_quality_dash_option_4320p": "4320p",
+ "preferences_quality_dash_option_2160p": "2160p",
+ "preferences_quality_dash_option_1440p": "1440p",
+ "preferences_quality_dash_option_1080p": "1080p",
+ "preferences_quality_dash_option_720p": "720p",
+ "preferences_quality_dash_option_480p": "480p",
+ "preferences_quality_dash_option_360p": "360p",
+ "preferences_quality_dash_option_240p": "240p",
+ "preferences_quality_dash_option_144p": "144p",
+ "preferences_volume_label": "Widergabeluutstärchi: ",
+ "preferences_comments_label": "Standardkommentär: ",
+ "youtube": "YouTube",
+ "reddit": "Reddit",
+ "invidious": "Invidious",
+ "preferences_captions_label": "Standarduntertitel: ",
+ "Fallback captions: ": "Ersatzuntertitel: ",
+ "preferences_related_videos_label": "Ähnlichi Videos aazeige: ",
+ "preferences_annotations_label": "Aamerkige standardmässig aazeige: ",
+ "preferences_extend_desc_label": "Videobeschriibig automatisch erwiitere: ",
+ "preferences_vr_mode_label": "Interaktivi 360-Grad-Videos (bruucht WebGL): ",
+ "preferences_category_visual": "Aazeigeiistellige",
+ "preferences_region_label": "Land vo de Inhält: ",
+ "preferences_player_style_label": "Player-Stil: ",
+ "Dark mode: ": "Nachtmodus: ",
+ "preferences_dark_mode_label": "Modus: ",
+ "dark": "Nachtmodus",
+ "light": "hell",
+ "preferences_thin_mode_label": "Schlanke Modus: ",
+ "preferences_category_misc": "Suschtigi Iistellige",
+ "preferences_automatic_instance_redirect_label": "Automatischi Instanzwiiterleitig (über redirect.invidious.io): ",
+ "preferences_category_subscription": "Abonnementiistellige",
+ "preferences_annotations_subscribed_label": "Aamerkige für abonnierti Kanäl standardmässig aazeige? ",
+ "Redirect homepage to feed: ": "Startsiite zu Feed umleite: ",
+ "preferences_max_results_label": "Aazahl vo Videos wo im Feed aazeigt werded: ",
+ "preferences_sort_label": "Videos sortiere nach: ",
+ "published": "veröffentlicht",
+ "published - reverse": "veröffentlicht - invertiert",
+ "alphabetically": "alphabetisch",
+ "alphabetically - reverse": "alphabetisch - invertiert",
+ "channel name": "Kanalname",
+ "channel name - reverse": "Kanalname - invertiert",
+ "Only show latest video from channel: ": "Nur neusti Videos vom Kanal aazeige: ",
+ "Only show latest unwatched video from channel: ": "Neu neusti ungseheni Videos vom Kanal aazeige: ",
+ "preferences_unseen_only_label": "Nur ungseheni aazeige: ",
+ "preferences_notifications_only_label": "Nur Benachrichtigunge aazeige (wenns welchi git): ",
+ "Enable web notifications": "Webbenachrichtigunge aktiviere",
+ "`x` uploaded a video": "`x` het es Video ufeglade",
+ "`x` is live": "`x` isch live",
+ "preferences_category_data": "Dateiistellige",
+ "Clear watch history": "Verlauf lösche",
+ "Import/export data": "Date importiere/exportiere",
+ "Change password": "Passwort ändere",
+ "Manage subscriptions": "Abonnements verwalte",
+ "Manage tokens": "Tokens verwalte",
+ "Watch history": "Widergabeverlauf",
+ "Delete account": "Account lösche",
+ "preferences_category_admin": "Administrator-Iistellige",
+ "preferences_default_home_label": "Standard-Startsiite: ",
+ "preferences_feed_menu_label": "Feed-Menü: ",
+ "preferences_show_nick_label": "Nutzernäme obe aazeige: ",
+ "Popular enabled: ": "„Beliebt“-Siite aktiviert: ",
+ "Top enabled: ": "Top aktiviert? ",
+ "CAPTCHA enabled: ": "CAPTCHA aktiviert? ",
+ "Login enabled: ": "Aameldig aktiviert: ",
+ "Registration enabled: ": "Registrierig aktiviert: ",
+ "Report statistics: ": "Statistike brichte: ",
+ "Save preferences": "Iistellige speichere",
+ "Subscription manager": "Abonnementsverwaltig",
+ "Token manager": "Tokenverwaltig",
+ "Token": "Token",
+ "tokens_count": "{{count}} Token",
+ "tokens_count_plural": "{{count}} Tokens",
+ "Import/export": "Importiere/Exportiere",
+ "unsubscribe": "abbstelle",
+ "revoke": "widerrüefe",
+ "Subscriptions": "Abonnements",
+ "subscriptions_unseen_notifs_count": "{{count}} ungsehni Benachrichtigung",
+ "subscriptions_unseen_notifs_count_plural": "{{count}} ungsehni Benachrichtigunge",
+ "search": "Sueche",
+ "Log out": "Abmelde",
+ "Released under the AGPLv3 on Github.": "Uf GitHub under de AGPLv3 Lizenz veröffentlicht.",
+ "Source available here.": "Quellcode da verfüegbar.",
+ "View JavaScript license information.": "JavaScript-Lizenzinformatione aazeige.",
+ "View privacy policy.": "Dateschutzerchlärig iigseh.",
+ "Trending": "Aagseit",
+ "Public": "Öffentlich",
+ "Unlisted": "Nöd glischtet",
+ "Private": "Privat",
+ "View all playlists": "Alli Widergabelischtene aazeige",
+ "Updated `x` ago": "Aktualisiert vor `x`",
+ "Delete playlist `x`?": "Widergabelischte `x` lösche?",
+ "Delete playlist": "Widergabelischte lösche",
+ "Create playlist": "Widergabelischte erstelle",
+ "Title": "Titel",
+ "Playlist privacy": "Widergabelischte-Privatsphäri",
+ "Editing playlist `x`": "Widergabelischte `x` bearbeite",
+ "playlist_button_add_items": "Videos hinzuefüege",
+ "Show more": "Meh aazeige",
+ "Show less": "Weniger aazeige",
+ "Watch on YouTube": "Video uf YouTube aaluege",
+ "Switch Invidious Instance": "Invidious Instanz wechsle",
+ "search_message_no_results": "Kei Ergebnis gfunde.",
+ "search_message_change_filters_or_query": "Versuech, dini Suechaafrag z erwiitere und/oder d Filter z ändere.",
+ "search_message_use_another_instance": "Du chasch au uf ere andere Instanz sueche.",
+ "Hide annotations": "Aamerkige uusblende",
+ "Show annotations": "Aamerkige aazeige",
+ "Genre: ": "Genre: ",
+ "License: ": "Lizenz: ",
+ "Standard YouTube license": "Standard YouTube-Lizenz",
+ "Family friendly? ": "Familiefründlich? ",
+ "Wilson score: ": "Wilson-Score: ",
+ "Engagement: ": "Engagement: ",
+ "Whitelisted regions: ": "Erlaubti Regione: ",
+ "Blacklisted regions: ": "Unerlaubti Regione: ",
+ "Music in this video": "Musig i dem Video",
+ "Artist: ": "Künschtler: ",
+ "Song: ": "Musig: ",
+ "Album: ": "Album: ",
+ "Shared `x`": "Teilt `x`",
+ "Premieres in `x`": "Premiere i `x`",
+ "Premieres `x`": "Premiere `x`",
+ "Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Hallo! Anschinend hesch du JavaScript deaktiviert. Klick da, zum Kommentär aazzeige, beacht, dass es chli länger duure cha, zum sie z lade.",
+ "View YouTube comments": "YouTube Kommentär aazeige",
+ "View more comments on Reddit": "Meh Kommentär uf Reddit aazeige",
+ "View `x` comments": {
+ "([^.,0-9]|^)1([^.,0-9]|$)": "`x` Kommentar aazeige",
+ "": "`x` Kommentär aazeige"
+ },
+ "View Reddit comments": "Reddit-Kommentär aazeige",
+ "Hide replies": "Antworte verstecke",
+ "Show replies": "Antworte aazeige",
+ "Incorrect password": "Falschs Passwort",
+ "Wrong answer": "Ungültigi Antwort",
+ "Erroneous CAPTCHA": "Ungültigs CAPTCHA",
+ "CAPTCHA is a required field": "CAPTCHA isch en erforderlichi Iigab",
+ "User ID is a required field": "Benutzer ID isch en erforderlichi Iigab",
+ "Password is a required field": "Passwort isch en erforderlichi Iigab",
+ "Wrong username or password": "Ungültige Benutzername oder Passwort",
+ "Password cannot be empty": "Passwort derf nöd leer sii",
+ "Password cannot be longer than 55 characters": "Passwort derf nöd länger als 55 Zeiche sii",
+ "Please log in": "Bitte aamelde",
+ "Invidious Private Feed for `x`": "Invidious Persönliche Feed für `x`",
+ "channel:`x`": "Kanal:`x`",
+ "Deleted or invalid channel": "Glöschte oder ungültige Kanal",
+ "This channel does not exist.": "De Kanal existiert nöd.",
+ "Could not get channel info.": "Kanalinformatione hend nöd chönne glade werde.",
+ "Could not fetch comments": "Kommentär hend nöd chönne glade werde",
+ "comments_view_x_replies": "{{count}} Antwort aazeige",
+ "comments_view_x_replies_plural": "{{count}} Antworte aazeige",
+ "`x` ago": "vor `x`",
+ "Load more": "Meh lade",
+ "comments_points_count": "{{count}} Punkt",
+ "comments_points_count_plural": "{{count}} Pünkt",
+ "Could not create mix.": "Mix het nöd chönne erstellt werde.",
+ "Empty playlist": "Widergabelischte isch leer",
+ "Not a playlist.": "Ungültigi Widergabelischte.",
+ "Playlist does not exist.": "Widergabelischte existiert nöd.",
+ "Could not pull trending pages.": "Beliebt-Siitene hend nöd chönne glade werde.",
+ "Hidden field \"challenge\" is a required field": "Versteckts Feld „challenge“ isch en erforderlichi Iigab",
+ "Hidden field \"token\" is a required field": "Versteckts Feld „token“ isch en erforderlichi Iigab",
+ "Erroneous challenge": "Ungültige Test",
+ "Erroneous token": "Ungültige Token",
+ "No such user": "Ungültige Benutzer",
+ "Token is expired, please try again": "Token isch abgloffe, bitte nomal versueche",
+ "generic_count_years": "{{count}} Jahr",
+ "generic_count_years_plural": "{{count}} Jahr",
+ "generic_count_months": "{{count}} Monet",
+ "generic_count_months_plural": "{{count}} Mönet",
+ "generic_count_weeks": "{{count}} Wuche",
+ "generic_count_weeks_plural": "{{count}} Wuche",
+ "generic_count_days": "{{count}} Tag",
+ "generic_count_days_plural": "{{count}} Täg",
+ "generic_count_hours": "{{count}} Stund",
+ "generic_count_hours_plural": "{{count}} Stunde",
+ "generic_count_minutes": "{{count}} Minute",
+ "generic_count_minutes_plural": "{{count}} Minute",
+ "generic_count_seconds": "{{count}} Sekunde",
+ "generic_count_seconds_plural": "{{count}} Sekunde",
+ "Fallback comments: ": "Alternativi Kommentär: ",
+ "Popular": "Populär",
+ "Search": "Sueche",
+ "Top": "Top",
+ "About": "Über",
+ "Rating: ": "Bewertig: ",
+ "preferences_locale_label": "Spraach: ",
+ "View as playlist": "Als Widergabelischte aazeige",
+ "Default": "Standard",
+ "Music": "Musig",
+ "Gaming": "Videospiel",
+ "News": "Neuigkeite",
+ "Movies": "Film",
+ "Download": "Abelade",
+ "Download as: ": "Abelade als: ",
+ "Download is disabled": "Abelade isch deaktiviert",
+ "%A %B %-d, %Y": "%A %-d %B %Y",
+ "(edited)": "(bearbeitet)",
+ "YouTube comment permalink": "YouTube-Kommentar Permalink",
+ "permalink": "Permalink",
+ "`x` marked it with a ❤": "`x` hets mitme ❤ markiert",
+ "Channel Sponsor": "Kanalsponsor",
+ "Audio mode": "Audiomodus",
+ "Video mode": "Videomodus",
+ "Playlists": "Widergabelischtene",
+ "search_filters_title": "Filtere",
+ "search_filters_date_label": "Upload-Datum",
+ "search_filters_date_option_none": "Bliebigs Datum",
+ "search_filters_date_option_hour": "Letschti Stund",
+ "search_filters_date_option_today": "Hüt",
+ "search_filters_date_option_week": "Die Wuche",
+ "search_filters_date_option_month": "De Monet",
+ "search_filters_date_option_year": "Das Jahr",
+ "search_filters_type_label": "Inhaltstyp",
+ "search_filters_type_option_all": "Bliebige Typ",
+ "search_filters_type_option_video": "Video",
+ "search_filters_type_option_channel": "Kanal",
+ "search_filters_type_option_playlist": "Widergabelischte",
+ "search_filters_type_option_movie": "Film",
+ "search_filters_type_option_show": "Aazeige",
+ "search_filters_duration_label": "Duur",
+ "search_filters_duration_option_none": "Bliebigi Längi",
+ "search_filters_duration_option_short": "Churz (< 4 Minute)",
+ "search_filters_duration_option_medium": "Mittel (4 - 20 Minute)",
+ "search_filters_duration_option_long": "Lang (> 20 Minute)",
+ "search_filters_features_label": "Eigeschafte",
+ "search_filters_features_option_live": "Live",
+ "search_filters_features_option_four_k": "4K",
+ "search_filters_features_option_hd": "HD",
+ "search_filters_features_option_subtitles": "Untertitel/CC",
+ "search_filters_features_option_c_commons": "Creative Commons",
+ "search_filters_features_option_three_sixty": "360°",
+ "search_filters_features_option_vr180": "VR180",
+ "search_filters_features_option_three_d": "3D",
+ "search_filters_features_option_hdr": "HDR",
+ "search_filters_features_option_location": "Standort",
+ "search_filters_features_option_purchased": "Kauft",
+ "search_filters_sort_label": "Sortiere nach",
+ "search_filters_sort_option_relevance": "Relevanz",
+ "search_filters_sort_option_rating": "Bewertig",
+ "search_filters_sort_option_date": "Ueladedatum",
+ "search_filters_sort_option_views": "Uufrüef",
+ "search_filters_apply_button": "Uusgwählti Filter aawende",
+ "Current version: ": "Aktuelli Version: ",
+ "next_steps_error_message": "Nachher das versueche: ",
+ "next_steps_error_message_refresh": "Aktualisiere",
+ "next_steps_error_message_go_to_youtube": "Zu YouTube gah",
+ "footer_donate_page": "Spende",
+ "footer_documentation": "Dokumentation",
+ "footer_source_code": "Quellcode",
+ "footer_original_source_code": "Original Quellcode",
+ "footer_modfied_source_code": "Modifizierte Quellcode",
+ "adminprefs_modified_source_code_url_label": "URL zum Repository vom modifizierte Quellcode",
+ "none": "kei",
+ "videoinfo_started_streaming_x_ago": "Stream het vor `x` aagfange",
+ "videoinfo_watch_on_youTube": "Uf YouTube aaluege",
+ "videoinfo_youTube_embed_link": "Iibettet",
+ "videoinfo_invidious_embed_link": "Link zum Iibette",
+ "download_subtitles": "Untertitel - `x` (.vtt)",
+ "user_created_playlists": "`x` Widergabelischtene erstellt",
+ "user_saved_playlists": "`x` Widergabelischtene gspeicheret",
+ "Video unavailable": "Video nöd verfüegbar",
+ "preferences_save_player_pos_label": "Widergabeposition speichere: ",
+ "crash_page_you_found_a_bug": "Anschinend hesch du en Fehler in Invidious gfunde!",
+ "crash_page_before_reporting": "Bevor du en Bug meldsch, stell sicher, dass du:",
+ "crash_page_refresh": "Versuecht hesch, d Siite neu z lade",
+ "crash_page_switch_instance": "En anderi Instanz versuecht hesch",
+ "crash_page_read_the_faq": "S FAQ glese hesch",
+ "crash_page_search_issue": "Nach scho gmeldete Bugs uf GitHub gsuecht hesch",
+ "crash_page_report_issue": "Wenn all das nöd ghulfe het, öffne bitte es neus Problem (issue) uf GitHub (vorzugswiis uf Englisch) und füeg de folgendi Text i dini Nachricht ii (bitte übersetz de Text NÖD):",
+ "error_video_not_in_playlist": "S agforderete Video existiert nöd i dere Widergabelischte. Klick da, zum zur Startsiite vo de Widergabelischte z cho.",
+ "channel_tab_videos_label": "Videos",
+ "channel_tab_shorts_label": "Shorts",
+ "channel_tab_streams_label": "Livestreams",
+ "channel_tab_podcasts_label": "Podcasts",
+ "channel_tab_releases_label": "Veröffentlichige",
+ "channel_tab_courses_label": "Kürs",
+ "channel_tab_playlists_label": "Widergabelischtene",
+ "channel_tab_community_label": "Community",
+ "channel_tab_posts_label": "Biiträg",
+ "channel_tab_channels_label": "Kanäl",
+ "toggle_theme": "Thema wechsle",
+ "carousel_slide": "Siite {{current}} vo {{total}}",
+ "carousel_skip": "Galerie überspringe",
+ "carousel_go_to": "Zu Element `x` springe",
+ "timeline_parse_error_placeholder_heading": "Element cha nöd parsed werde",
+ "timeline_parse_error_placeholder_message": "Invidious isch bim Parse vo dem Element uf en Fehler gstosse. Für wiiteri Information lueg da une:",
+ "timeline_parse_error_show_technical_details": "Technischi Details aazeige",
+ "English": "Englisch",
+ "English (United Kingdom)": "Englisch (Vereinigts Königriich)",
+ "English (United States)": "Englisch (Vereinigti Staate)",
+ "English (auto-generated)": "Englisch (automatisch generiert)",
+ "Afrikaans": "Afrikaans",
+ "Albanian": "Albanisch",
+ "Amharic": "Amharisch",
+ "Arabic": "Arabisch",
+ "Armenian": "Armenisch",
+ "Azerbaijani": "Aserbaidschanisch",
+ "Bangla": "Bengalisch",
+ "Basque": "Baskisch",
+ "Belarusian": "Wiissrussisch",
+ "Bosnian": "Bosnisch",
+ "Bulgarian": "Bulgarisch",
+ "Burmese": "Burmesisch",
+ "Cantonese (Hong Kong)": "Kantonesisch (Hong Kong)",
+ "Catalan": "Katalanisch",
+ "Cebuano": "Cebuano",
+ "Chinese": "Chinesisch",
+ "Chinese (China)": "Chinesisch (China)",
+ "Chinese (Hong Kong)": "Chinesisch (Hong Kong)",
+ "Chinese (Simplified)": "Chinesisch (vereifacht)",
+ "Chinese (Taiwan)": "Chinesisch (Taiwan)",
+ "Chinese (Traditional)": "Chinesisch (traditionell)",
+ "Corsican": "Korsisch",
+ "Croatian": "Kroatisch",
+ "Czech": "Tschechisch",
+ "Danish": "Dänisch",
+ "Dutch": "Niederländisch",
+ "Dutch (auto-generated)": "Niederländisch (automatisch generiert)",
+ "Esperanto": "Esperanto",
+ "Estonian": "Estnisch",
+ "Filipino": "Philippinisch",
+ "Filipino (auto-generated)": "Philippinisch (automatisch generiert)",
+ "Finnish": "Finnisch",
+ "French": "Französisch",
+ "French (auto-generated)": "Französisch (automatisch generiert)",
+ "Galician": "Galizisch",
+ "Georgian": "Gerogisch",
+ "German": "Dütsch",
+ "German (auto-generated)": "Dütsch (automatisch generiert)",
+ "Greek": "Griechisch",
+ "Gujarati": "Gujarati",
+ "Haitian Creole": "Haitianischs Kreolisch",
+ "Hausa": "Hausa",
+ "Hawaiian": "Hawaiianisch",
+ "Hebrew": "Hebräisch",
+ "Hindi": "Hindi",
+ "Hmong": "Hmong",
+ "Hungarian": "Ungarisch",
+ "Icelandic": "Isländisch",
+ "Igbo": "Igbo",
+ "Indonesian": "Indonesisch",
+ "Indonesian (auto-generated)": "Indonesisch (automatisch generiert)",
+ "Interlingue": "Interlingue",
+ "Irish": "Irisch",
+ "Italian": "Italienisch",
+ "Italian (auto-generated)": "Italienisch (automatisch generiert)",
+ "Japanese": "Japanisch",
+ "Japanese (auto-generated)": "Japanisch (automatisch generiert)",
+ "Javanese": "Javanisch",
+ "Kannada": "Kannada",
+ "Kazakh": "Kasachisch",
+ "Khmer": "Khmer",
+ "Korean": "Koreanisch",
+ "Korean (auto-generated)": "Koreanisch (automatisch generiert)",
+ "Kurdish": "Kurdisch",
+ "Kyrgyz": "Kirgisisch",
+ "Lao": "Laotisch",
+ "Latin": "Latinisch",
+ "Latvian": "Lettisch",
+ "Lithuanian": "Litauisch",
+ "Luxembourgish": "Luxeburgisch",
+ "Macedonian": "Mazedonisch",
+ "Malagasy": "Madagassisch",
+ "Malay": "Malaiisch",
+ "Malayalam": "Malayalam",
+ "Maltese": "Maltesisch",
+ "Maori": "Maori",
+ "Marathi": "Marathi",
+ "Mongolian": "Mongolisch",
+ "Nepali": "Nepalesisch",
+ "Norwegian Bokmål": "Norwegisch",
+ "Nyanja": "Nyanja",
+ "Pashto": "Paschtunisch",
+ "Persian": "Persisch",
+ "Polish": "Polnisch",
+ "Portuguese": "Portugiesisch",
+ "Portuguese (auto-generated)": "Portugiesisch (automatisch generiert)",
+ "Portuguese (Brazil)": "Portugiesisch (Brasilie)",
+ "Punjabi": "Pandschabi",
+ "Romanian": "Rumänisch",
+ "Russian": "Russisch",
+ "Russian (auto-generated)": "Russisch (automatisch generiert)",
+ "Samoan": "Samoanisch",
+ "Scottish Gaelic": "Schottischs Gällisch",
+ "Serbian": "Serbisch",
+ "Shona": "Schona",
+ "Sindhi": "Sindhi",
+ "Sinhala": "Singhalesisch",
+ "Slovak": "Slowakisch",
+ "Slovenian": "Slowenisch",
+ "Somali": "Somali",
+ "Southern Sotho": "Südlichs Sotho",
+ "Spanish": "Spanisch",
+ "Spanish (auto-generated)": "Spanisch (automatisch generiert)",
+ "Spanish (Latin America)": "Spanisch (Latinamerika)",
+ "Spanish (Mexico)": "Spanisch (Mexiko)",
+ "Spanish (Spain)": "Spanisch (Spanie)",
+ "Sundanese": "Sundanesisch",
+ "Swahili": "Suaheli",
+ "Swedish": "Schwedisch",
+ "Tajik": "Tadschikisch",
+ "Tamil": "Tamilisch",
+ "Telugu": "Telugu",
+ "Thai": "Thailändisch",
+ "Turkish": "Türkisch",
+ "Turkish (auto-generated)": "Türkisch (automatisch generiert)",
+ "Ukrainian": "Ukrainisch",
+ "Urdu": "Urdu",
+ "Uzbek": "Usbekisch",
+ "Vietnamese": "Vietnamesisch",
+ "Vietnamese (auto-generated)": "Vietnamesisch (automatisch generiert)",
+ "Welsh": "Walisisch",
+ "Western Frisian": "Weschtfriesisch",
+ "Xhosa": "Xhosa",
+ "Yiddish": "Jiddisch",
+ "Yoruba": "Joruba",
+ "Zulu": "Zulu"
+}
From 5405320b969ca3dd5a077a66ec303a56cf4d54b8 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:40 +0200
Subject: [PATCH 106/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/nb-NO.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/nb-NO.json b/locales/nb-NO.json
index 38402fed1..a75383c07 100644
--- a/locales/nb-NO.json
+++ b/locales/nb-NO.json
@@ -39,8 +39,6 @@
"User ID": "Bruker-ID",
"Password": "Passord",
"Time (h:mm:ss):": "Tid (h:mm:ss):",
- "Text CAPTCHA": "Tekst-CAPTCHA",
- "Image CAPTCHA": "Bilde-CAPTCHA",
"Sign In": "Innlogging",
"Register": "Registrer",
"E-mail": "E-post",
From 36086ce08301640349f5127fe77edab1eb78de35 Mon Sep 17 00:00:00 2001
From: Hosted Weblate
Date: Fri, 12 Sep 2025 17:06:44 +0200
Subject: [PATCH 107/329] Update translation files
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate
Translate-URL: https://hosted.weblate.org/projects/invidious/translations/
Translation: Invidious/Invidious Translations
---
locales/lmo.json | 2 --
1 file changed, 2 deletions(-)
diff --git a/locales/lmo.json b/locales/lmo.json
index 9d2fe2a85..521451b59 100644
--- a/locales/lmo.json
+++ b/locales/lmo.json
@@ -44,8 +44,6 @@
"JavaScript license information": "Informaziòn su la licensa JavaScript",
"source": "font",
"Log in": "Và dent",
- "Text CAPTCHA": "Tèst del CAPTCHA",
- "Image CAPTCHA": "Imàgen del CAPTCHA",
"Sign In": "Ven denter",
"Register": "Registres",
"E-mail": "E-mail",
From cf019e3b45fea1c8cacfd05637e1db0874751b5f Mon Sep 17 00:00:00 2001
From: syeopite <70992037+syeopite@users.noreply.github.com>
Date: Sat, 13 Sep 2025 17:44:38 +0000
Subject: [PATCH 108/329] Release v2.20250913.0 (#5463)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This release primarily marks Invidious companion's ascend out of beta and its stable integration thereof into Invidious!
For those unaware Invidious companion is the successor to the `inv-sig-helper` tool, designed to securely pass YouTube's attestation checks and allow for the efficient retrieval and playback of video streams reliably.
Companion delivers YouTube fixes faster since it’s built on the community-driven [YouTube.js](https://github.com/LuanRT/YouTube.js) project, used by many open source projects such as [FreeTube](https://github.com/FreeTubeApp/FreeTube).
For more information see https://github.com/iv-org/invidious-companion and https://docs.invidious.io/installation/
But companion isn't the only new thing in this release!
Invidious will no longer error out completely as soon as a single item failed to parse in search results, channel pages, etc. Instead it now handles it gracefully by substituting those problematic items with an error card and rendering the page normally.
The player has gained some quality of life features such as being able to choose a default playlist for videos to be added to, or persisting caption appearance settings across the session.
Base Invidious video retrieval without Invidious companion has also been made more stable.
And finally a significant amount of bugs were fixed alongside many other minor improvements.
Co-authored-by: Émilien (perso) <4016501+unixfox@users.noreply.github.com>
---
CHANGELOG.md | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++
shard.yml | 2 +-
2 files changed, 135 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 56fbe7f30..fe0c7a1a2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,140 @@
## vX.Y.0 (future)
+## v2.20250913.0
+
+### Wrap-up
+
+This release primarily marks Invidious companion's ascend out of beta and its stable integration thereof into Invidious!
+
+For those unaware Invidious companion is the successor to the `inv-sig-helper` tool, designed to securely pass YouTube's attestation checks and allow for the efficient retrieval and playback of video streams reliably.
+
+Companion delivers YouTube fixes faster since it’s built on the community-driven [YouTube.js](https://github.com/LuanRT/YouTube.js) project, used by many open source projects such as [FreeTube](https://github.com/FreeTubeApp/FreeTube).
+
+For more information see https://github.com/iv-org/invidious-companion and https://docs.invidious.io/installation/
+
+But companion isn't the only new thing in this release!
+
+Invidious will no longer error out completely as soon as a single item failed to parse in search results, channel pages, etc. Instead it now handles it gracefully by substituting those problematic items with an error card and rendering the page normally.
+
+The player has gained some quality of life features such as being able to choose a default playlist for videos to be added to, or persisting caption appearance settings across the session.
+
+Base Invidious video retrieval without Invidious companion has also been made more stable.
+
+And finally a significant amount of bugs were fixed alongside many other minor improvements.
+
+### New features & important changes
+#### For Users
+ - DASH is now enabled by default due to YouTube's removal of the 720p non-dash streams
+ - Javascript licencing info has been added to all of Invidious' scripts, restoring full compatibility with LibreJS
+ - There is no longer an option for a text captcha during registration due to the shutdown (presumably) of the upstream service
+ - Parse errors in feeds will no longer render the entire feed unusable and instead will substitute only the broken items with error cards
+ - Keyboard shortcuts have been added to configure caption styles:
+ - `-`,`=` can be used to change the font size
+ - `o` can be used to cycle the opacity of the caption text
+ - `w` can be used to cycle the opacity of the caption box
+ - Caption styles changed through the VideoJS menu will now persist
+ - You can now choose a default playlist to add videos to instead of needing to manually select one each time
+
+#### For instance owners
+ - Invidious companion support has been added to replace the deprecated inv-sig-helper
+ - **DASH is now the default resolution! Please ensure that your instances can withstand the significantly higher bandwidth usage or manually configure your instance to use non-dash streams by default**
+ - Invidious will now warn when it is unable to connect to the database instead of failing silently
+ - **The text captcha during registration has been removed due to the shutdown (presumably) of the upstream service**
+
+#### For developers
+ - Dependabot has been added to keep Github Actions and Docker dependencies up-to-date.
+ - CI version matrix has been bumped to the latest patch release for each minor version
+ - The versions of Crystal that we test in CI/CD are now: `1.12.2`, `1.13.3`, `1.14.1`, `1.15.1`, `1.16.3`
+ - `Kilt` is no longer a dependency of Invidious
+ - The ARM64 docker image builds (and the test CI) has been changed to use Github's ARM64 runner instead of QEMU
+ - **An "error" JSON object can now be returned in various API responses in-place of an item that has failed to parse**:
+
+ ```json
+ {
+ "type": "parse-error",
+ "errorMessage": "...",
+ "errorBacktrace": "..."
+ }
+ ```
+
+### Bugs fixed
+#### User-side
+ - Livestream will now be properly proxied again allowing playback from the UI
+ - The proxy video preference for logged-in users will no longer get ignored when a default value is set by the instance
+ - Fixes the missing `label` key error on select search results and other feeds
+ - Invidious will no longer strip out spaces from search queries when navigating back from the preferences page
+ - Restores functionality to the `subscriptions:true` search keyword
+ - The channel RSS feeds will no longer have an empty title
+ - Individual community posts can be viewed again
+ - The playlists tab of channels can be viewed again
+ - Fix incorrect dates, region, etc of videos
+ - Various minor fixes were made to how video info is extracted in setups without Invidious companion to improve resiliency and chances of success
+ - Fix issue where the notification count becomes `TRUE` rather than an actual number
+#### For instance owners
+ - Fixed a minor typo in config.example.yml (`effet` -> `effect`)
+#### For developers
+ - The docker image test CI will now properly check whether Invidious has started
+
+### Full list of pull requests merged since the last release (newest first)
+
+* Add Invidious companion support (https://github.com/iv-org/invidious/pull/4985, by @unixfox)
+* Bump shards.yml version to dev version (https://github.com/iv-org/invidious/pull/5206, by @syeopite)
+* chore: enforce 16 characters for invidious_companion_key (https://github.com/iv-org/invidious/pull/5220, by @unixfox)
+* chore: set dash by default (https://github.com/iv-org/invidious/pull/5216, by @unixfox)
+* Fix minor casing issues in brand names (https://github.com/iv-org/invidious/pull/5258, thanks @efb4f5ff-1298-471a-8973-3d47447115dc)
+* feat: route to invidious companion on downloads (https://github.com/iv-org/invidious/pull/5224, by @alexmaras)
+* Fix proxying live DASH streams (https://github.com/iv-org/invidious/pull/4589, thanks @absidue)
+* Reflect companion secret character limit in example config comment (https://github.com/iv-org/invidious/pull/5269, thanks @Vyquos)
+* chore: Add dependabot for docker and github actions (https://github.com/iv-org/invidious/pull/5285, by @unixfox)
+* Bump actions/stale from 8 to 9 (https://github.com/iv-org/invidious/pull/5291, thanks @dependabot[bot])
+* Bump actions/cache from 3 to 4 (https://github.com/iv-org/invidious/pull/5289, thanks @dependabot[bot])
+* Bump alpine from 3.20 to 3.21 in /docker (https://github.com/iv-org/invidious/pull/5288, thanks @dependabot[bot])
+* Bump docker/build-push-action from 5 to 6 (https://github.com/iv-org/invidious/pull/5287, thanks @dependabot[bot])
+* Bump crystal-lang/install-crystal from 1.8.0 to 1.8.2 (https://github.com/iv-org/invidious/pull/5286, thanks @dependabot[bot])
+* Bump crystallang/crystal from 1.12.2-alpine to 1.16.2-alpine in /docker (https://github.com/iv-org/invidious/pull/5290, thanks @dependabot[bot])
+* Bump crystallang/crystal from 1.16.2-alpine to 1.16.3-alpine in /docker (https://github.com/iv-org/invidious/pull/5301, thanks @dependabot[bot])
+* CI: Bump Crystal version matrix (https://github.com/iv-org/invidious/pull/5293, by @Fijxu)
+* fix(typo): 'Salect' -> 'Select' (https://github.com/iv-org/invidious/pull/5242, by @Fijxu)
+* fix: set CSP header after setting preferences of registered users (https://github.com/iv-org/invidious/pull/5275, by @Fijxu)
+* fix: safely access "label" key (https://github.com/iv-org/invidious/pull/5282, by @Fijxu)
+* Add missing javascript licenses (https://github.com/iv-org/invidious/pull/5292, by @Fijxu)
+* Add Javascript licence information automatically (https://github.com/iv-org/invidious/pull/5297, by @syeopite)
+* Remove text captcha due to textcaptcha.com being down (https://github.com/iv-org/invidious/pull/5308, by @Fijxu)
+* Release versioning maintenance (https://github.com/iv-org/invidious/pull/5310, by @syeopite)
+* Update Kemal to 1.6.0 and remove Kilt (https://github.com/iv-org/invidious/pull/5120, by @syeopite)
+* Translations update from Hosted Weblate (https://github.com/iv-org/invidious/pull/5192, thanks @weblate)
+* require base_job before the other jobs (https://github.com/iv-org/invidious/pull/5194, by @Fijxu)
+* Handle parse errors gracefully on timeline items (https://github.com/iv-org/invidious/pull/5196, by @syeopite)
+* fix: do not strip '+' character from referer (https://github.com/iv-org/invidious/pull/5276, by @Fijxu)
+* fix: pass user to `query.process` if present. (https://github.com/iv-org/invidious/pull/5277, by @Fijxu)
+* Add missing xml.text on "title" element for channels RSS (https://github.com/iv-org/invidious/pull/5320, by @Fijxu)
+* Remove `@iv-org/developers` from codeowners (https://github.com/iv-org/invidious/pull/5314, by @syeopite)
+* Make base-Invidious video info extraction more resilient (https://github.com/iv-org/invidious/pull/5312, by @syeopite)
+* Bump actions/checkout from 4 to 5 (https://github.com/iv-org/invidious/pull/5415, thanks @dependabot[bot])
+* Player: Add keyboard shortcuts to configure captions (https://github.com/iv-org/invidious/pull/5188, thanks @epicsam123)
+* CI: Use public ARM64 Github actions runners for ARM64 builds. (https://github.com/iv-org/invidious/pull/5305, by @Fijxu)
+* CI: Fix docker ci job not checking if Invidious starts successfully or not (https://github.com/iv-org/invidious/pull/5306, by @Fijxu)
+* YtAPI: Bump client versions (https://github.com/iv-org/invidious/pull/5325, by @Fijxu)
+* YTAPI: Add `TvSimply` client (https://github.com/iv-org/invidious/pull/5344, by @Fijxu)
+* Videos: Add fallback to TvSimply client (https://github.com/iv-org/invidious/pull/5345, by @Fijxu)
+* Show message when connection to the database is not possible (https://github.com/iv-org/invidious/pull/5346, by @Fijxu)
+* Channels: Fix fetching of individual community posts (https://github.com/iv-org/invidious/pull/5361, thanks @ChunkyProgrammer)
+* Videos: Fix missing .id to retrieve first playlist video ID (https://github.com/iv-org/invidious/pull/5366, by @SamantazFox)
+* HTML: Add Missing Noreferrers (https://github.com/iv-org/invidious/pull/5368, thanks @epicsam123)
+* Documentation: Fix typo (effet -> effect) (https://github.com/iv-org/invidious/pull/5369, thanks @nsunami)
+* Frontend: Fix notification count of `TRUE` (https://github.com/iv-org/invidious/pull/5391, thanks @fieryhenry)
+* Player: Persist caption settings (https://github.com/iv-org/invidious/pull/5417, thanks @p-himik)
+* Channels: Fix fetching channel playlists (https://github.com/iv-org/invidious/pull/5418, thanks @KrisVos130)
+* CI: fix wrong if statement for build-docker job (https://github.com/iv-org/invidious/pull/5442, by @Fijxu)
+* initial base_url companion support + proxy companion (https://github.com/iv-org/invidious/pull/5266, by @unixfox)
+* Prevent player microformat from being overwritten by the next microformat (https://github.com/iv-org/invidious/pull/5453, by @Fijxu)
+* Bump actions/stale from 9 to 10 (https://github.com/iv-org/invidious/pull/5457, thanks @dependabot[bot])
+* Better documentation for the specific case public_url with companion (https://github.com/iv-org/invidious/pull/5461, by @unixfox)
+* Add default playlist preference (https://github.com/iv-org/invidious/pull/5449, by @Fijxu)
+* Translations update from Hosted Weblate (https://github.com/iv-org/invidious/pull/5313, thanks to our many translators)
+* Release `v2.20250913.0` (https://github.com/iv-org/invidious/pull/5463, by @syeopite)
+
## v2.20250517.0
Inverse fallback for the YouTube client from TVHTML then MWEB. Fixes https://github.com/iv-org/invidious/issues/5273
diff --git a/shard.yml b/shard.yml
index 839ebca57..f6b9ef866 100644
--- a/shard.yml
+++ b/shard.yml
@@ -1,5 +1,5 @@
name: invidious
-version: 2.20250517.0-dev
+version: 2.20250913.0
authors:
- Invidious team
From 325e013e0d9e5670fa0df7635ff30a0ee029e05e Mon Sep 17 00:00:00 2001
From: syeopite
Date: Sat, 13 Sep 2025 11:55:10 -0700
Subject: [PATCH 109/329] Prepare for the next release
---
shard.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shard.yml b/shard.yml
index f6b9ef866..4dc8aa025 100644
--- a/shard.yml
+++ b/shard.yml
@@ -1,5 +1,5 @@
name: invidious
-version: 2.20250913.0
+version: 2.20250913.0-dev
authors:
- Invidious team
From 18a8490587a4ff7e669cdb9e074f9cef0dab4718 Mon Sep 17 00:00:00 2001
From: Alex
Date: Wed, 24 Sep 2025 18:28:17 +0200
Subject: [PATCH 110/329] Fixed broken companion hyperlink
---
src/invidious/config.cr | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/invidious/config.cr b/src/invidious/config.cr
index 36f09d282..616fa7983 100644
--- a/src/invidious/config.cr
+++ b/src/invidious/config.cr
@@ -285,9 +285,9 @@ class Config
end
end
elsif config.signature_server
- puts("WARNING: inv-sig-helper is deprecated. Please switch to Invidious companion: https://docs.invidious.io/companion-installation/")
+ puts("WARNING: inv-sig-helper is deprecated. Please switch to Invidious companion: https://docs.invidious.io/installation/#migration-needed-new-invidious-companion")
else
- puts("WARNING: Invidious companion is required to view and playback videos. For more information see https://docs.invidious.io/companion-installation/")
+ puts("WARNING: Invidious companion is required to view and playback videos. For more information see https://docs.invidious.io/installation/#migration-needed-new-invidious-companion")
end
# HMAC_key is mandatory
From 42d34cd08484fc9ddb8b53e4cdf0a26bda01ca54 Mon Sep 17 00:00:00 2001
From: Alex
Date: Wed, 24 Sep 2025 18:47:45 +0200
Subject: [PATCH 111/329] Removed specific section from hyperlink in config.cr
---
src/invidious/config.cr | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/invidious/config.cr b/src/invidious/config.cr
index 616fa7983..92c510d00 100644
--- a/src/invidious/config.cr
+++ b/src/invidious/config.cr
@@ -285,9 +285,9 @@ class Config
end
end
elsif config.signature_server
- puts("WARNING: inv-sig-helper is deprecated. Please switch to Invidious companion: https://docs.invidious.io/installation/#migration-needed-new-invidious-companion")
+ puts("WARNING: inv-sig-helper is deprecated. Please switch to Invidious companion: https://docs.invidious.io/installation/")
else
- puts("WARNING: Invidious companion is required to view and playback videos. For more information see https://docs.invidious.io/installation/#migration-needed-new-invidious-companion")
+ puts("WARNING: Invidious companion is required to view and playback videos. For more information see https://docs.invidious.io/installation/")
end
# HMAC_key is mandatory
From 710b3f250baffb6b92b3190fb2b0c9c21c6d2c8b Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 29 Sep 2025 23:28:45 +0000
Subject: [PATCH 112/329] Bump crystal-lang/install-crystal from 1.8.2 to 1.8.3
Bumps [crystal-lang/install-crystal](https://github.com/crystal-lang/install-crystal) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/crystal-lang/install-crystal/releases)
- [Commits](https://github.com/crystal-lang/install-crystal/compare/v1.8.2...v1.8.3)
---
updated-dependencies:
- dependency-name: crystal-lang/install-crystal
dependency-version: 1.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
.github/workflows/ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ce166b7b7..a3c8f4ddb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -58,7 +58,7 @@ jobs:
shell: bash
- name: Install Crystal
- uses: crystal-lang/install-crystal@v1.8.2
+ uses: crystal-lang/install-crystal@v1.8.3
with:
crystal: ${{ matrix.crystal }}
@@ -134,7 +134,7 @@ jobs:
- name: Install Crystal
id: lint_step_install_crystal
- uses: crystal-lang/install-crystal@v1.8.2
+ uses: crystal-lang/install-crystal@v1.8.3
with:
crystal: latest
From 3226e17953637858b216639047d284058f56d20f Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Thu, 16 Oct 2025 17:31:33 -0300
Subject: [PATCH 113/329] Fix button overflow (#5452)
---
assets/css/default.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/assets/css/default.css b/assets/css/default.css
index 01d4b736c..644d91c21 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -167,6 +167,7 @@ body a.pure-button-primary,
.pure-button-primary,
.pure-button-secondary {
+ white-space: normal;
border: 1px solid #a0a0a0;
border-radius: 3px;
margin: 0 .4em;
From fdf0a25b9e356538310f4103850574e8cbb5c226 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Thu, 16 Oct 2025 17:31:48 -0300
Subject: [PATCH 114/329] Add Livestreams to trending page (#5480)
---
locales/en-US.json | 1 +
src/invidious/trending.cr | 7 ++++++-
src/invidious/views/feeds/trending.ecr | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/locales/en-US.json b/locales/en-US.json
index fa28e7f8b..6fd1ab0b0 100644
--- a/locales/en-US.json
+++ b/locales/en-US.json
@@ -408,6 +408,7 @@
"Default": "Default",
"Music": "Music",
"Gaming": "Gaming",
+ "Livestreams": "Livestreams",
"News": "News",
"Movies": "Movies",
"Download": "Download",
diff --git a/src/invidious/trending.cr b/src/invidious/trending.cr
index d14cde5d9..e289ed5b8 100644
--- a/src/invidious/trending.cr
+++ b/src/invidious/trending.cr
@@ -4,6 +4,8 @@ def fetch_trending(trending_type, region, locale)
plid = nil
+ browse_id = "FEtrending"
+
case trending_type.try &.downcase
when "music"
params = "4gINGgt5dG1hX2NoYXJ0cw%3D%3D"
@@ -11,12 +13,15 @@ def fetch_trending(trending_type, region, locale)
params = "4gIcGhpnYW1pbmdfY29ycHVzX21vc3RfcG9wdWxhcg%3D%3D"
when "movies"
params = "4gIKGgh0cmFpbGVycw%3D%3D"
+ when "livestreams"
+ browse_id = "UC4R8DWoMoI7CAwX8_LjQHig"
+ params = "EgdsaXZldGFikgEDCKEK"
else # Default
params = ""
end
client_config = YoutubeAPI::ClientConfig.new(region: region)
- initial_data = YoutubeAPI.browse("FEtrending", params: params, client_config: client_config)
+ initial_data = YoutubeAPI.browse(browse_id, params: params, client_config: client_config)
items, _ = extract_items(initial_data)
diff --git a/src/invidious/views/feeds/trending.ecr b/src/invidious/views/feeds/trending.ecr
index 7dc416c6f..69483f306 100644
--- a/src/invidious/views/feeds/trending.ecr
+++ b/src/invidious/views/feeds/trending.ecr
@@ -21,7 +21,7 @@
- <% {"Default", "Music", "Gaming", "Movies"}.each do |option| %>
+ <% {"Default", "Music", "Gaming", "Movies", "Livestreams"}.each do |option| %>
<% if trending_type == option %>
<%= translate(locale, option) %>
From 0c13c4fab182a352a47ac9b63f73050e78ba25d6 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Thu, 16 Oct 2025 17:32:01 -0300
Subject: [PATCH 115/329] Prevent timestamp from being set for Livestreams on
"Watch on Youtube" links (#5481)
---
assets/js/player.js | 22 ++++++++++++----------
src/invidious/views/watch.ecr | 3 ++-
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/assets/js/player.js b/assets/js/player.js
index 108709159..ecdc04485 100644
--- a/assets/js/player.js
+++ b/assets/js/player.js
@@ -137,16 +137,18 @@ player.on('timeupdate', function () {
// YouTube links
- let elem_yt_watch = document.getElementById('link-yt-watch');
- if (elem_yt_watch) {
- let base_url_yt_watch = elem_yt_watch.getAttribute('data-base-url');
- elem_yt_watch.href = addCurrentTimeToURL(base_url_yt_watch);
- }
-
- let elem_yt_embed = document.getElementById('link-yt-embed');
- if (elem_yt_embed) {
- let base_url_yt_embed = elem_yt_embed.getAttribute('data-base-url');
- elem_yt_embed.href = addCurrentTimeToURL(base_url_yt_embed);
+ if (!video_data.live_now) {
+ let elem_yt_watch = document.getElementById('link-yt-watch');
+ if (elem_yt_watch) {
+ let base_url_yt_watch = elem_yt_watch.getAttribute('data-base-url');
+ elem_yt_watch.href = addCurrentTimeToURL(base_url_yt_watch);
+ }
+
+ let elem_yt_embed = document.getElementById('link-yt-embed');
+ if (elem_yt_embed) {
+ let base_url_yt_embed = elem_yt_embed.getAttribute('data-base-url');
+ elem_yt_embed.href = addCurrentTimeToURL(base_url_yt_embed);
+ }
}
// Invidious links
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index fada6361b..59b9a167e 100644
--- a/src/invidious/views/watch.ecr
+++ b/src/invidious/views/watch.ecr
@@ -65,7 +65,8 @@ we're going to need to do it here in order to allow for translations.
"vr" => video.vr?,
"projection_type" => video.projection_type,
"local_disabled" => CONFIG.disabled?("local"),
- "support_reddit" => true
+ "support_reddit" => true,
+ "live_now" => video.live_now
}.to_pretty_json
%>
From 5cfe294063c9317928d8da3387004e3eaddc991a Mon Sep 17 00:00:00 2001
From: shiny-comic
Date: Fri, 17 Oct 2025 09:59:34 +0900
Subject: [PATCH 116/329] Fix 0 view count on related videos section (#5446)
* Fix 0 view count on related videos
* Remove view_count variable since it's unused by Innertube
* Remove view_count from specs and API
---------
Co-authored-by: Fijxu
---
spec/invidious/videos/regular_videos_extract_spec.cr | 2 --
spec/invidious/videos/scheduled_live_extract_spec.cr | 1 -
src/invidious/jsonify/api_v1/video_json.cr | 1 -
src/invidious/videos/parser.cr | 6 ------
src/invidious/views/watch.ecr | 5 ++---
5 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/spec/invidious/videos/regular_videos_extract_spec.cr b/spec/invidious/videos/regular_videos_extract_spec.cr
index f96703f66..b82a08eeb 100644
--- a/spec/invidious/videos/regular_videos_extract_spec.cr
+++ b/spec/invidious/videos/regular_videos_extract_spec.cr
@@ -52,7 +52,6 @@ Spectator.describe "parse_video_info" do
expect(info["relatedVideos"][0]["title"]).to eq("$1 vs $250,000,000 Private Island!")
expect(info["relatedVideos"][0]["author"]).to eq("MrBeast")
expect(info["relatedVideos"][0]["ucid"]).to eq("UCX6OQ3DkcsbYNE6H8uQQuVA")
- expect(info["relatedVideos"][0]["view_count"]).to eq("230617484")
expect(info["relatedVideos"][0]["short_view_count"]).to eq("230M")
expect(info["relatedVideos"][0]["author_verified"]).to eq("true")
@@ -138,7 +137,6 @@ Spectator.describe "parse_video_info" do
expect(info["relatedVideos"][0]["title"]).to eq("Chris Rea - The Road To Hell 1989 Full Version")
expect(info["relatedVideos"][0]["author"]).to eq("NEA ZIXNH")
expect(info["relatedVideos"][0]["ucid"]).to eq("UCYMEOGcvav3gCgImK2J07CQ")
- expect(info["relatedVideos"][0]["view_count"]).to eq("53298661")
expect(info["relatedVideos"][0]["short_view_count"]).to eq("53M")
expect(info["relatedVideos"][0]["author_verified"]).to eq("false")
diff --git a/spec/invidious/videos/scheduled_live_extract_spec.cr b/spec/invidious/videos/scheduled_live_extract_spec.cr
index c3a9b2285..6bb03e427 100644
--- a/spec/invidious/videos/scheduled_live_extract_spec.cr
+++ b/spec/invidious/videos/scheduled_live_extract_spec.cr
@@ -75,7 +75,6 @@ Spectator.describe "parse_video_info" do
expect(info["relatedVideos"][0]["id"]).to eq("j7jPzzjbVuk")
expect(info["relatedVideos"][0]["author"]).to eq("Democracy Now!")
expect(info["relatedVideos"][0]["ucid"]).to eq("UCzuqE7-t13O4NIDYJfakrhw")
- expect(info["relatedVideos"][0]["view_count"]).to eq("7576")
expect(info["relatedVideos"][0]["short_view_count"]).to eq("7.5K")
expect(info["relatedVideos"][0]["author_verified"]).to eq("true")
diff --git a/src/invidious/jsonify/api_v1/video_json.cr b/src/invidious/jsonify/api_v1/video_json.cr
index 58805af22..ff9ea70ac 100644
--- a/src/invidious/jsonify/api_v1/video_json.cr
+++ b/src/invidious/jsonify/api_v1/video_json.cr
@@ -266,7 +266,6 @@ module Invidious::JSONify::APIv1
json.field "lengthSeconds", rv["length_seconds"]?.try &.to_i
json.field "viewCountText", rv["short_view_count"]?
- json.field "viewCount", rv["view_count"]?.try &.empty? ? nil : rv["view_count"].to_i64
json.field "published", rv["published"]?
if rv["published"]?.try &.presence
json.field "publishedText", translate(locale, "`x` ago", recode_date(Time.parse_rfc3339(rv["published"].to_s), locale))
diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr
index 6b1dedd69..6038dfcfd 100644
--- a/src/invidious/videos/parser.cr
+++ b/src/invidious/videos/parser.cr
@@ -25,11 +25,6 @@ def parse_related_video(related : JSON::Any) : Hash(String, JSON::Any)?
ucid = channel_info.try { |ci| HelperExtractors.get_browse_id(ci) }
- # "4,088,033 views", only available on compact renderer
- # and when video is not a livestream
- view_count = related.dig?("viewCountText", "simpleText")
- .try &.as_s.gsub(/\D/, "")
-
short_view_count = related.try do |r|
HelperExtractors.get_short_view_count(r).to_s
end
@@ -51,7 +46,6 @@ def parse_related_video(related : JSON::Any) : Hash(String, JSON::Any)?
"author" => author || JSON::Any.new(""),
"ucid" => JSON::Any.new(ucid || ""),
"length_seconds" => JSON::Any.new(length || "0"),
- "view_count" => JSON::Any.new(view_count || "0"),
"short_view_count" => JSON::Any.new(short_view_count || "0"),
"author_verified" => JSON::Any.new(author_verified),
"published" => JSON::Any.new(published || ""),
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index 59b9a167e..89632dc59 100644
--- a/src/invidious/views/watch.ecr
+++ b/src/invidious/views/watch.ecr
@@ -355,9 +355,8 @@ we're going to need to do it here in order to allow for translations.
- <%= author %><% if !channel.verified.nil? && channel.verified %> <% end %>
+ <%= author %><% if !channel.verified.nil? && channel.verified %> <% end %>
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index 89632dc59..923c2a830 100644
--- a/src/invidious/views/watch.ecr
+++ b/src/invidious/views/watch.ecr
@@ -230,7 +230,7 @@ we're going to need to do it here in order to allow for translations.
<% if !video.author_thumbnail.empty? %>
<% end %>
- <%= author %><% if !video.author_verified.nil? && video.author_verified %> <% end %>
+ <%= author %><% if !video.author_verified.nil? && video.author_verified %> <% end %>
From 65463333f32384d966c288edb46294336445a498 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Thu, 11 Dec 2025 17:28:20 -0300
Subject: [PATCH 127/329] Display "Erroneous CAPTCHA" for invalid captchas
(#5508)
---
src/invidious/routes/login.cr | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/invidious/routes/login.cr b/src/invidious/routes/login.cr
index e7de5018d..674f0a465 100644
--- a/src/invidious/routes/login.cr
+++ b/src/invidious/routes/login.cr
@@ -98,6 +98,8 @@ module Invidious::Routes::Login
begin
validate_request(tokens[0], answer, env.request, HMAC_KEY, locale)
+ rescue ex : InfoException
+ return error_template(400, InfoException.new("Erroneous CAPTCHA"))
rescue ex
return error_template(400, ex)
end
From 994c25de2ec437c0c9c24f9d5d7e982a5811a951 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20H=C3=A4drich?=
<11225821+shaedrich@users.noreply.github.com>
Date: Sun, 14 Dec 2025 23:30:52 +0100
Subject: [PATCH 128/329] Add link to GitHub release/tag/commit in footer
(#4702)
* Add link to GitHub release/tag/commit in footer
* Only show tag if there is one
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
---------
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
---
src/invidious.cr | 1 +
src/invidious/views/template.ecr | 19 ++++++++++++++++++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/src/invidious.cr b/src/invidious.cr
index 7fa0725ec..4dd5d1ddd 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -84,6 +84,7 @@ HTTP_CHUNK_SIZE = 10485760 # ~10MB
CURRENT_BRANCH = {{ "#{`git branch | sed -n '/* /s///p'`.strip}" }}
CURRENT_COMMIT = {{ "#{`git rev-list HEAD --max-count=1 --abbrev-commit`.strip}" }}
CURRENT_VERSION = {{ "#{`git log -1 --format=%ci | awk '{print $1}' | sed s/-/./g`.strip}" }}
+CURRENT_TAG = {{ "#{`git tag --points-at HEAD`.strip}" }}
# This is used to determine the `?v=` on the end of file URLs (for cache busting). We
# only need to expire modified assets, so we can use this to find the last commit that changes
diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecr
index 9bf33918b..0e0f2e16f 100644
--- a/src/invidious/views/template.ecr
+++ b/src/invidious/views/template.ecr
@@ -150,7 +150,24 @@
<%= translate(locale, "footer_donate_page") %>
- <%= translate(locale, "Current version: ") %> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %>
+
+ <%= translate(locale, "Current version: ") %>
+ <% if CONFIG.modified_source_code_url %>
+ <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %>
+ <% else %>
+ <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %>
+ <% end %>
+ @ <%= CURRENT_BRANCH %>
+ <% if CURRENT_TAG != "" %>
+ (
+ <% if CONFIG.modified_source_code_url %>
+ <%= CURRENT_TAG %>
+ <% else %>
+ <%= CURRENT_TAG %>
+ <% end %>
+ )
+ <% end %>
+
From aba31a8e20edf9cea632e72ab5ff42c04270a271 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Mon, 15 Dec 2025 04:21:55 -0300
Subject: [PATCH 129/329] Set Kemal `max_request_line_size` to 16384 for large
channel continuation query parameters. (#5566)
* feat: Add configurable max_request_line_size to handle long URLs
This commit adds a new configuration option `max_request_line_size` that allows
users to increase the HTTP request line size limit. This is particularly useful
for handling very long continuation tokens that can cause 414 (URI Too Long) errors.
Changes:
- Add `max_request_line_size` property to Config class
- Configure Kemal server to use the custom limit if specified
- Document the option in config.example.yml with recommendations
- Add examples in docker-compose.yml for both YAML and env var configuration
The default behavior remains unchanged (8KB limit) unless explicitly configured.
This provides a solution for users experiencing 414 errors without affecting
existing installations.
* Hardcode max_request_line_size to 16384
---------
Co-authored-by: Sunghyun Kim
---
src/invidious.cr | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/invidious.cr b/src/invidious.cr
index 4dd5d1ddd..2edc47022 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -250,6 +250,8 @@ Kemal.config.app_name = "Invidious"
{% end %}
Kemal.run do |config|
+ config.server.not_nil!.max_request_line_size = 16384
+
if socket_binding = CONFIG.socket_binding
File.delete?(socket_binding.path)
# Create a socket and set its desired permissions
From cf52a353662cce1ff97d294a14e2903ace52206b Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 15 Dec 2025 22:49:01 +0100
Subject: [PATCH 130/329] Bump actions/cache from 4 to 5 (#5569)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
.github/workflows/ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ff82a5bda..b28873d13 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -63,7 +63,7 @@ jobs:
crystal: ${{ matrix.crystal }}
- name: Cache Shards
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
./lib
@@ -139,7 +139,7 @@ jobs:
crystal: latest
- name: Cache Shards
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
./lib
From eed8f25a3d91f63a91d4d9ce87454ee58f47c14a Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Thu, 18 Dec 2025 06:16:15 -0300
Subject: [PATCH 131/329] dockerfile: compile openssl instead of using the one
bundled on the crystal alpine image. (#5441)
* dockerfile: compile openssl instead of using the one bundled on the crystal alpine image.
* fix formatting
* CI: add --no-cache to openssl-builder
* CI: add Dockerfile.arm64 version
* add comment why we compile openssl ourselves
* fix wrong position of comment
* oopsie
* verify openssl checksums
* set nproc for openssl make
* use ARG for openssl sha256 checksum
---
docker/Dockerfile | 31 ++++++++++++++++++++++++++++++-
docker/Dockerfile.arm64 | 31 +++++++++++++++++++++++++++++--
2 files changed, 59 insertions(+), 3 deletions(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 4cfc3c726..3e0d2f7f2 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,6 +1,29 @@
-FROM crystallang/crystal:1.16.3-alpine AS builder
+# https://github.com/openssl/openssl/releases/tag/openssl-3.5.2
+ARG OPENSSL_VERSION='3.5.2'
+ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
+
+FROM crystallang/crystal:1.16.3-alpine AS dependabot-crystal
+
+# We compile openssl ourselves due to a memory leak in how crystal interacts
+# with openssl
+# Reference: https://github.com/iv-org/invidious/issues/1438#issuecomment-3087636228
+FROM dependabot-crystal AS openssl-builder
+RUN apk add --no-cache curl perl linux-headers
+
+WORKDIR /
+
+ARG OPENSSL_VERSION
+ARG OPENSSL_SHA256
+RUN curl -Ls "https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VERSION}/openssl-${OPENSSL_VERSION}.tar.gz" --output openssl-${OPENSSL_VERSION}.tar.gz
+RUN echo "${OPENSSL_SHA256} openssl-${OPENSSL_VERSION}.tar.gz" | sha256sum -c
+RUN tar -xzvf openssl-${OPENSSL_VERSION}.tar.gz
+
+RUN cd openssl-${OPENSSL_VERSION} && ./Configure --openssldir=/etc/ssl && make -j$(nproc)
+
+FROM dependabot-crystal AS builder
RUN apk add --no-cache sqlite-static yaml-static
+RUN apk del openssl-dev openssl-libs-static
ARG release
@@ -21,12 +44,18 @@ COPY ./videojs-dependencies.yml ./videojs-dependencies.yml
RUN crystal spec --warnings all \
--link-flags "-lxml2 -llzma"
+
+ARG OPENSSL_VERSION
+COPY --from=openssl-builder /openssl-${OPENSSL_VERSION} /openssl-${OPENSSL_VERSION}
+
RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ; then \
+ PKG_CONFIG_PATH=/openssl-${OPENSSL_VERSION} \
crystal build ./src/invidious.cr \
--release \
--static --warnings all \
--link-flags "-lxml2 -llzma"; \
else \
+ PKG_CONFIG_PATH=/openssl-${OPENSSL_VERSION} \
crystal build ./src/invidious.cr \
--static --warnings all \
--link-flags "-lxml2 -llzma"; \
diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64
index 758e79506..b02cc8cef 100644
--- a/docker/Dockerfile.arm64
+++ b/docker/Dockerfile.arm64
@@ -1,6 +1,28 @@
-FROM alpine:3.21 AS builder
+# https://github.com/openssl/openssl/releases/tag/openssl-3.5.2
+ARG OPENSSL_VERSION='3.5.2'
+ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
+
+FROM alpine:3.21 AS dependabot-alpine
+
+# We compile openssl ourselves due to a memory leak in how crystal interacts
+# with openssl
+# Reference: https://github.com/iv-org/invidious/issues/1438#issuecomment-3087636228
+FROM dependabot-alpine AS openssl-builder
+RUN apk add --no-cache curl perl linux-headers build-base
+
+WORKDIR /
+
+ARG OPENSSL_VERSION
+ARG OPENSSL_SHA256
+RUN curl -Ls "https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VERSION}/openssl-${OPENSSL_VERSION}.tar.gz" --output openssl-${OPENSSL_VERSION}.tar.gz
+RUN echo "${OPENSSL_SHA256} openssl-${OPENSSL_VERSION}.tar.gz" | sha256sum -c
+RUN tar -xzvf openssl-${OPENSSL_VERSION}.tar.gz
+
+RUN cd openssl-${OPENSSL_VERSION} && ./Configure --openssldir=/etc/ssl && make -j$(nproc)
+
+FROM dependabot-alpine AS builder
RUN apk add --no-cache 'crystal=1.14.0-r0' shards sqlite-static yaml-static yaml-dev libxml2-static \
- zlib-static openssl-libs-static openssl-dev musl-dev xz-static
+ zlib-static musl-dev xz-static
ARG release
@@ -22,12 +44,17 @@ COPY ./videojs-dependencies.yml ./videojs-dependencies.yml
RUN crystal spec --warnings all \
--link-flags "-lxml2 -llzma"
+ARG OPENSSL_VERSION
+COPY --from=openssl-builder /openssl-${OPENSSL_VERSION} /openssl-${OPENSSL_VERSION}
+
RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ; then \
+ PKG_CONFIG_PATH=/openssl-${OPENSSL_VERSION} \
crystal build ./src/invidious.cr \
--release \
--static --warnings all \
--link-flags "-lxml2 -llzma"; \
else \
+ PKG_CONFIG_PATH=/openssl-${OPENSSL_VERSION} \
crystal build ./src/invidious.cr \
--static --warnings all \
--link-flags "-lxml2 -llzma"; \
From d2be57a4546b67679b2507241b6d9f3f6c880244 Mon Sep 17 00:00:00 2001
From: syeopite
Date: Tue, 3 Jun 2025 07:50:21 -0700
Subject: [PATCH 132/329] Replace `Kemal::StaticFileHandler` on Crystal <
1.17.0
Kemal's subclass of the stdlib `HTTP::StaticFileHandler` is not as
maintained as its parent, and so misses out on many enhancements and bug
fixes from upstream, which unfortunately also includes the patches for
security vulnerabilities...
Though this isn't necessarily Kemal's fault since the bulk of the stdlib
handler's logic was done in a single big method, making any changes hard
to maintain. This was fixed in Crystal 1.17.0 where the handler
was refactored into many private methods, making it easier for an
inheriting type to implement custom behaviors while still leveraging
much of the pre-existing code.
Since we don't actually use any of the Kemal specific features added by
`Kemal::StaticFileHandler`, there really isn't a reason to not just
create a new handler based upon the stdlib implementation instead which
will address the problems mentioned above.
This PR implements a new handler which inherits from the stdlib variant
and overrides the helper methods added in Crystal 1.17.0 to add the
caching behavior with minimal code changes. Since this new handler
depends on the code in Crystal 1.17.0, it will only be applied on
versions greater than or equal to 1.17.0. On older versions we'll
fallback to the current monkey patched `Kemal::StaticFileHandler`
---
src/ext/kemal_static_file_handler.cr | 21 +++
src/invidious.cr | 18 ++-
.../http_server/static_assets_handler.cr | 138 ++++++++++++++++++
3 files changed, 171 insertions(+), 6 deletions(-)
create mode 100644 src/invidious/http_server/static_assets_handler.cr
diff --git a/src/ext/kemal_static_file_handler.cr b/src/ext/kemal_static_file_handler.cr
index a5f422617..c6b9a27df 100644
--- a/src/ext/kemal_static_file_handler.cr
+++ b/src/ext/kemal_static_file_handler.cr
@@ -1,3 +1,24 @@
+{% if compare_versions(Crystal::VERSION, "1.17.0") >= 0 %}
+ # Strip StaticFileHandler from the binary
+ #
+ # This allows us to compile on 1.17.0 as the compiler won't try to
+ # semantically check the outdated upstream code.
+ class Kemal::Config
+ private def setup_static_file_handler
+ end
+ end
+
+ # Nullify `Kemal::StaticFileHandler`
+ #
+ # Needed until the next release of Kemal after 1.7
+ class Kemal::StaticFileHandler < HTTP::StaticFileHandler
+ def call(context : HTTP::Server::Context)
+ end
+ end
+
+ {% skip_file %}
+{% end %}
+
# Since systems have a limit on number of open files (`ulimit -a`),
# we serve them from memory to avoid 'Too many open files' without needing
# to modify ulimit.
diff --git a/src/invidious.cr b/src/invidious.cr
index 2edc47022..ea5b9c635 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -223,19 +223,25 @@ error 500 do |env, exception|
error_template(500, exception)
end
-static_headers do |env|
- env.response.headers.add("Cache-Control", "max-age=2629800")
-end
-
# Init Kemal
-public_folder "assets"
-
Kemal.config.powered_by_header = false
add_handler FilteredCompressHandler.new
add_handler APIHandler.new
add_handler AuthHandler.new
add_handler DenyFrame.new
+
+{% if compare_versions(Crystal::VERSION, "1.17.0") >= 0 %}
+ Kemal.config.serve_static = false
+ add_handler Invidious::HttpServer::StaticAssetsHandler.new("assets", directory_listing: false)
+{% else %}
+ public_folder "assets"
+
+ static_headers do |env|
+ env.response.headers.add("Cache-Control", "max-age=2629800")
+ end
+{% end %}
+
add_context_storage_type(Array(String))
add_context_storage_type(Preferences)
add_context_storage_type(Invidious::User)
diff --git a/src/invidious/http_server/static_assets_handler.cr b/src/invidious/http_server/static_assets_handler.cr
new file mode 100644
index 000000000..c6137775b
--- /dev/null
+++ b/src/invidious/http_server/static_assets_handler.cr
@@ -0,0 +1,138 @@
+{% skip_file if compare_versions(Crystal::VERSION, "1.17.0") < 0 %}
+
+module Invidious::HttpServer
+ class StaticAssetsHandler < HTTP::StaticFileHandler
+ # In addition to storing the actual data of a file, it also implements the required
+ # getters needed for the object to imitate a `File::Stat` within `StaticFileHandler`.
+ #
+ # Since the `File::Stat` is created once in `#call` and then passed around to the
+ # rest of the class's methods, imitating the object allows us to only lookup
+ # the cache hash once for every request.
+ #
+ private record CachedFile, data : Bytes, size : Int64, modification_time : Time
+
+ CACHE_LIMIT = 5_000_000 # 5MB
+ @@cached_files = {} of Path => CachedFile
+
+ # A simplified version of `#call` for Invidious to improve performance.
+ #
+ # This is basically the same as what we inherited but just with the directory listing
+ # features stripped out. This removes some conditional checks and calls which improves
+ # performance slightly but otherwise is entirely unneeded.
+ #
+ # Really, all the cache feature actually needs is to override the much simplifier `file_info`
+ # method to return a `CachedFile` or `File::Stat` depending on whether the file is cached.
+ def call(context) : Nil
+ check_request_method!(context) || return
+
+ request_path = request_path(context)
+
+ check_request_path!(context, request_path) || return
+
+ request_path = Path.posix(request_path)
+ expanded_path = request_path.expand("/")
+
+ # The path normalization can be simplified to just this since
+ # we don't need to care about normalizing directory urls.
+ if request_path != expanded_path
+ redirect_to context, expanded_path
+ end
+
+ file_path = @public_dir.join(expanded_path.to_kind(Path::Kind.native))
+
+ if cached_info = @@cached_files[file_path]?
+ return serve_file_with_cache(context, cached_info, file_path)
+ end
+
+ file_info = File.info?(file_path)
+
+ return call_next(context) unless file_info
+
+ if file_info.file?
+ # Actually means to serve file *with cache headers*
+ # The actual logic for serving the file is done in `#serve_file`
+ serve_file_with_cache(context, file_info, file_path)
+ else # Not a normal file (FIFO/device/socket)
+ call_next(context)
+ end
+ end
+
+ # Add "Cache-Control" header to the response
+ private def add_cache_headers(response_headers : HTTP::Headers, last_modified : Time) : Nil
+ super; response_headers["Cache-Control"] = "max-age=2629800"
+ end
+
+ # Serves and caches the file at the given path.
+ #
+ # This is an override of `serve_file` to allow serving a file from memory, and to cache it
+ # it as needed.
+ private def serve_file(context : HTTP::Server::Context, file_info, file_path : Path, original_file_path : Path, last_modified : Time)
+ context.response.content_type = MIME.from_filename(original_file_path.to_s, "application/octet-stream")
+
+ range_header = context.request.headers["Range"]?
+
+ if !file_info.is_a? CachedFile
+ retrieve_bytes_from = IO::Memory.new
+
+ File.open(file_path) do |file|
+ # We cannot cache partial data so we'll rewind and read from the start
+ if range_header
+ dispatch_serve(context, file, file_info, range_header)
+ IO.copy(file.rewind, retrieve_bytes_from)
+ else
+ context.response.output = IO::MultiWriter.new(context.response.output, retrieve_bytes_from, sync_close: true)
+ dispatch_serve(context, file, file_info, range_header)
+ end
+ end
+
+ return flush_io_to_cache(retrieve_bytes_from, file_path, file_info)
+ else
+ return dispatch_serve(context, file_info.data, file_info, range_header)
+ end
+ end
+
+ # Writes file data to the cache
+ private def flush_io_to_cache(io, file_path, file_info)
+ if @@cached_files.sum(&.[1].size) + (size = file_info.size) < CACHE_LIMIT
+ data_slice = io.to_slice
+ @@cached_files[file_path] = CachedFile.new(data_slice, file_info.size, file_info.modification_time)
+ end
+ end
+
+ # Either send the file in full, or just fragments of it depending on the request
+ private def dispatch_serve(context, file, file_info, range_header)
+ if range_header
+ # an IO is needed for `serve_file_range`
+ file = file.is_a?(Bytes) ? IO::Memory.new(file, writeable: false) : file
+ serve_file_range(context, file, range_header, file_info)
+ else
+ context.response.headers["Accept-Ranges"] = "bytes"
+ serve_file_full(context, file, file_info)
+ end
+ end
+
+ # Skips the stdlib logic for serving pre-gzipped files
+ private def serve_file_compressed(context : HTTP::Server::Context, file_info, file_path : Path, last_modified : Time)
+ serve_file(context, file_info, file_path, file_path, last_modified)
+ end
+
+ # If we're serving the full file right away then there's no need for an IO at all.
+ private def serve_file_full(context : HTTP::Server::Context, file : Bytes, file_info)
+ context.response.status = :ok
+ context.response.content_length = file_info.size
+ context.response.write file
+ end
+
+ # Serves segments of a file based on the `Range header`
+ #
+ # An override of `serve_file_range` to allow using a generic IO rather than a `File`.
+ # Literally the same code as what we inherited but just with the `file` argument's type
+ # being set to `IO` rather than `File`
+ #
+ # Can be removed once https://github.com/crystal-lang/crystal/issues/15817 is fixed.
+ private def serve_file_range(context : HTTP::Server::Context, file : IO, range_header : String, file_info)
+ # Paste in the body of inherited serve_file_range
+ {{@type.superclass.methods.select(&.name.==("serve_file_range"))[0].body}}
+ end
+ end
+end
From ddfbed68f7e01d16d6807dd1544a6ac340e85a93 Mon Sep 17 00:00:00 2001
From: syeopite
Date: Tue, 3 Jun 2025 09:04:33 -0700
Subject: [PATCH 133/329] Simplify `StaticAssetsHandler` implementation
Overriding `#call` or patching out `serve_file_compressed` provides
only minimal benefits over the ease of maintenance granted by only
overriding what we need to for the caching behavior.
---
.../http_server/static_assets_handler.cr | 61 ++++++-------------
1 file changed, 17 insertions(+), 44 deletions(-)
diff --git a/src/invidious/http_server/static_assets_handler.cr b/src/invidious/http_server/static_assets_handler.cr
index c6137775b..7ea26dad9 100644
--- a/src/invidious/http_server/static_assets_handler.cr
+++ b/src/invidious/http_server/static_assets_handler.cr
@@ -9,52 +9,30 @@ module Invidious::HttpServer
# rest of the class's methods, imitating the object allows us to only lookup
# the cache hash once for every request.
#
- private record CachedFile, data : Bytes, size : Int64, modification_time : Time
+ private record CachedFile, data : Bytes, size : Int64, modification_time : Time do
+ def directory?
+ false
+ end
+
+ def file?
+ true
+ end
+ end
CACHE_LIMIT = 5_000_000 # 5MB
@@cached_files = {} of Path => CachedFile
- # A simplified version of `#call` for Invidious to improve performance.
+ # Returns metadata for the requested file
#
- # This is basically the same as what we inherited but just with the directory listing
- # features stripped out. This removes some conditional checks and calls which improves
- # performance slightly but otherwise is entirely unneeded.
+ # If the requested file is cached, a `CachedFile` is returned instead of a `File::Stat`.
+ # This represents the metadata info of a cached file and implements all the methods of `File::Stat` that
+ # is used by the `StaticAssetsHandler`.
#
- # Really, all the cache feature actually needs is to override the much simplifier `file_info`
- # method to return a `CachedFile` or `File::Stat` depending on whether the file is cached.
- def call(context) : Nil
- check_request_method!(context) || return
-
- request_path = request_path(context)
-
- check_request_path!(context, request_path) || return
-
- request_path = Path.posix(request_path)
- expanded_path = request_path.expand("/")
-
- # The path normalization can be simplified to just this since
- # we don't need to care about normalizing directory urls.
- if request_path != expanded_path
- redirect_to context, expanded_path
- end
-
+ # The `CachedFile` also stores the raw bytes of the cached file, and this method serves as the place where
+ # the cached file is retrieved if it exists. Though the data will only be read in `#serve_file`
+ private def file_info(expanded_path : Path)
file_path = @public_dir.join(expanded_path.to_kind(Path::Kind.native))
-
- if cached_info = @@cached_files[file_path]?
- return serve_file_with_cache(context, cached_info, file_path)
- end
-
- file_info = File.info?(file_path)
-
- return call_next(context) unless file_info
-
- if file_info.file?
- # Actually means to serve file *with cache headers*
- # The actual logic for serving the file is done in `#serve_file`
- serve_file_with_cache(context, file_info, file_path)
- else # Not a normal file (FIFO/device/socket)
- call_next(context)
- end
+ {@@cached_files[file_path]? || File.info?(file_path), file_path}
end
# Add "Cache-Control" header to the response
@@ -111,11 +89,6 @@ module Invidious::HttpServer
end
end
- # Skips the stdlib logic for serving pre-gzipped files
- private def serve_file_compressed(context : HTTP::Server::Context, file_info, file_path : Path, last_modified : Time)
- serve_file(context, file_info, file_path, file_path, last_modified)
- end
-
# If we're serving the full file right away then there's no need for an IO at all.
private def serve_file_full(context : HTTP::Server::Context, file : Bytes, file_info)
context.response.status = :ok
From 6fd1cb3585fed1faf0ea5edbfcdabe1337186fdc Mon Sep 17 00:00:00 2001
From: syeopite
Date: Tue, 3 Jun 2025 09:23:28 -0700
Subject: [PATCH 134/329] Compare against 1.17.0-dev until full release
---
src/ext/kemal_static_file_handler.cr | 2 +-
src/invidious.cr | 2 +-
src/invidious/http_server/static_assets_handler.cr | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/ext/kemal_static_file_handler.cr b/src/ext/kemal_static_file_handler.cr
index c6b9a27df..16cb84fbf 100644
--- a/src/ext/kemal_static_file_handler.cr
+++ b/src/ext/kemal_static_file_handler.cr
@@ -1,4 +1,4 @@
-{% if compare_versions(Crystal::VERSION, "1.17.0") >= 0 %}
+{% if compare_versions(Crystal::VERSION, "1.17.0-dev") >= 0 %}
# Strip StaticFileHandler from the binary
#
# This allows us to compile on 1.17.0 as the compiler won't try to
diff --git a/src/invidious.cr b/src/invidious.cr
index ea5b9c635..a61f91a9a 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -231,7 +231,7 @@ add_handler APIHandler.new
add_handler AuthHandler.new
add_handler DenyFrame.new
-{% if compare_versions(Crystal::VERSION, "1.17.0") >= 0 %}
+{% if compare_versions(Crystal::VERSION, "1.17.0-dev") >= 0 %}
Kemal.config.serve_static = false
add_handler Invidious::HttpServer::StaticAssetsHandler.new("assets", directory_listing: false)
{% else %}
diff --git a/src/invidious/http_server/static_assets_handler.cr b/src/invidious/http_server/static_assets_handler.cr
index 7ea26dad9..243d6a8d5 100644
--- a/src/invidious/http_server/static_assets_handler.cr
+++ b/src/invidious/http_server/static_assets_handler.cr
@@ -1,4 +1,4 @@
-{% skip_file if compare_versions(Crystal::VERSION, "1.17.0") < 0 %}
+{% skip_file if compare_versions(Crystal::VERSION, "1.17.0-dev") < 0 %}
module Invidious::HttpServer
class StaticAssetsHandler < HTTP::StaticFileHandler
From 9e482b48078a5e8646cd0df2999531a9ce3e12e5 Mon Sep 17 00:00:00 2001
From: syeopite
Date: Tue, 3 Jun 2025 16:35:40 -0700
Subject: [PATCH 135/329] Add specs for the new StaticAssetsHandler
---
.../handlers/static_assets_handler/test.txt | 1 +
.../handlers/static_assets_handler_spec.cr | 205 ++++++++++++++++++
.../http_server/static_assets_handler.cr | 7 +
3 files changed, 213 insertions(+)
create mode 100644 spec/http_server/handlers/static_assets_handler/test.txt
create mode 100644 spec/http_server/handlers/static_assets_handler_spec.cr
diff --git a/spec/http_server/handlers/static_assets_handler/test.txt b/spec/http_server/handlers/static_assets_handler/test.txt
new file mode 100644
index 000000000..70c379b63
--- /dev/null
+++ b/spec/http_server/handlers/static_assets_handler/test.txt
@@ -0,0 +1 @@
+Hello world
\ No newline at end of file
diff --git a/spec/http_server/handlers/static_assets_handler_spec.cr b/spec/http_server/handlers/static_assets_handler_spec.cr
new file mode 100644
index 000000000..89c530147
--- /dev/null
+++ b/spec/http_server/handlers/static_assets_handler_spec.cr
@@ -0,0 +1,205 @@
+{% skip_file if compare_versions(Crystal::VERSION, "1.17.0-dev") < 0 %}
+
+require "http"
+require "spectator"
+require "../../../src/invidious/http_server/static_assets_handler.cr"
+
+private def get_static_assets_handler
+ return Invidious::HttpServer::StaticAssetsHandler.new "spec/http_server/handlers/static_assets_handler", directory_listing: false
+end
+
+# Slightly modified version of `handle` function from
+#
+# https://github.com/crystal-lang/crystal/blob/3f369d2c721e9462d9f6126cb0bcd4c6992f0225/spec/std/http/server/handlers/static_file_handler_spec.cr#L5
+
+private def handle(request, handler : HTTP::Handler? = nil, decompress : Bool = false)
+ io = IO::Memory.new
+ response = HTTP::Server::Response.new(io)
+ context = HTTP::Server::Context.new(request, response)
+
+ if !handler
+ handler = get_static_assets_handler
+ get_static_assets_handler.call context
+ else
+ handler.call(context)
+ end
+
+ response.close
+ io.rewind
+
+ HTTP::Client::Response.from_io(io, decompress: decompress)
+end
+
+# Makes and yields a temporary file with the given prefix
+private def make_temporary_file(prefix, contents = nil, &)
+ tempfile = File.tempfile(prefix, "static_assets_handler_spec", dir: "spec/http_server/handlers/static_assets_handler")
+ yield tempfile
+ensure
+ tempfile.try &.delete
+end
+
+# Get relative file path to a file within the static_assets_handler folder
+macro get_file_path(basename)
+ "spec/http_server/handlers/static_assets_handler/#{ {{basename}} }"
+end
+
+Spectator.describe StaticAssetsHandler do
+ it "Can serve a file" do
+ response = handle HTTP::Request.new("GET", "/test.txt")
+ expect(response.status_code).to eq(200)
+ expect(response.body).to eq(File.read(get_file_path("test.txt")))
+ end
+
+ it "Can serve cached file" do
+ make_temporary_file("cache_test") do |temporary_file|
+ temporary_file.rewind << "foo"
+ temporary_file.flush
+ expect(temporary_file.rewind.gets_to_end).to eq("foo")
+
+ file_link = "/#{File.basename(temporary_file.path)}"
+
+ # Should get cached by the first run
+ response = handle HTTP::Request.new("GET", file_link)
+ expect(response.status_code).to eq(200)
+ expect(response.body).to eq("foo")
+
+ # Update temporary file to "bar"
+ temporary_file.rewind << "bar"
+ temporary_file.flush
+ expect(temporary_file.rewind.gets_to_end).to eq("bar")
+
+ # Second request should still return "foo"
+ response = handle HTTP::Request.new("GET", file_link)
+ expect(response.status_code).to eq(200)
+ expect(response.body).to eq("foo")
+ end
+ end
+
+ it "Adds cache headers" do
+ response = handle HTTP::Request.new("GET", "/test.txt")
+ expect(response.headers["cache_control"]).to eq("max-age=2629800")
+ end
+
+ context "Can handle range requests" do
+ it "Can serve range request" do
+ headers = HTTP::Headers{"Range" => "bytes=0-2"}
+ response = handle HTTP::Request.new("GET", "/test.txt", headers)
+
+ expect(response.status_code).to eq(206)
+ expect(response.headers["Content-Range"]?).to eq "bytes 0-2/11"
+ expect(response.body).to eq "Hel"
+ end
+
+ it "Will cache entire file even if doing partial requests" do
+ make_temporary_file("range_cache") do |temporary_file|
+ temporary_file << "Hello world"
+ temporary_file.flush.rewind
+ file_link = "/#{File.basename(temporary_file.path)}"
+
+ # Make request
+ headers = HTTP::Headers{"Range" => "bytes=0-2"}
+ response = handle HTTP::Request.new("GET", file_link, headers)
+
+ # Mutate file on disk
+ temporary_file << "Something else"
+ temporary_file.flush.rewind
+
+ # Second request shouldn't have changed
+ headers = HTTP::Headers{"Range" => "bytes=3-8"}
+ response = handle HTTP::Request.new("GET", file_link, headers)
+ expect(response.status_code).to eq(206)
+ expect(response.body).to eq "lo wor"
+ end
+ end
+ end
+
+ context "Is able to support compression" do
+ def decompressed(string : String)
+ decompressed = Compress::Gzip::Reader.open(IO::Memory.new(string)) do |gzip|
+ gzip.gets_to_end
+ end
+
+ return expect(decompressed)
+ end
+
+ it "For full file requests" do
+ handler = HTTP::CompressHandler.new
+ handler.next = get_static_assets_handler()
+
+ make_temporary_file("check decompression handler") do |temporary_file|
+ temporary_file << "Hello world"
+ temporary_file.flush.rewind
+ file_link = "/#{File.basename(temporary_file.path)}"
+
+ # Can send from disk?
+ response = handle HTTP::Request.new("GET", file_link, headers: HTTP::Headers{"Accept-Encoding" => "gzip"}), handler: handler
+ expect(response.headers["Content-Encoding"]).to eq("gzip")
+ decompressed(response.body).to eq("Hello world")
+
+ temporary_file << "Hello world"
+ temporary_file.flush.rewind
+ file_link = "/#{File.basename(temporary_file.path)}"
+
+ # Are cached requests working?
+ response = handle HTTP::Request.new("GET", file_link, headers: HTTP::Headers{"Accept-Encoding" => "gzip"}), handler: handler
+ expect(response.headers["Content-Encoding"]).to eq("gzip")
+ decompressed(response.body).to eq("Hello world")
+
+ # Able to retrieve non gzipped file?
+ response = handle HTTP::Request.new("GET", file_link), handler: handler
+ expect(response.body).to eq("Hello world")
+ expect(response.headers).to_not have_key("Content-Encoding")
+ end
+ end
+
+ # Inspired by the equivalent tests from upstream
+ it "For partial file requests" do
+ handler = HTTP::CompressHandler.new
+ handler.next = get_static_assets_handler()
+
+ make_temporary_file("check_decompression_handler_on_partial_requests") do |temporary_file|
+ temporary_file << "Hello world this is a very long string"
+ temporary_file.flush.rewind
+ file_link = "/#{File.basename(temporary_file.path)}"
+
+ range_response_results = {
+ "10-20/38" => "d this is a",
+ "0-0/38" => "H",
+ "5-9/38" => " worl",
+ }
+
+ range_request_header_value = {"10-20", "5-9", "0-0"}.join(',')
+ range_response_header_value = range_response_results.keys
+
+ response = handle HTTP::Request.new("GET", file_link, headers: HTTP::Headers{"Range" => "bytes=#{range_request_header_value}", "Accept-Encoding" => "gzip"}), handler: handler
+ expect(response.headers["Content-Encoding"]).to eq("gzip")
+
+ # Decompress response
+ response = HTTP::Client::Response.new(
+ status: response.status,
+ headers: response.headers,
+ body_io: Compress::Gzip::Reader.new(IO::Memory.new(response.body)),
+ )
+
+ count = 0
+ MIME::Multipart.parse(response) do |headers, part|
+ part_range = headers["Content-Range"][6..]
+ expect(part_range).to be_within(range_response_header_value)
+ expect(part.gets_to_end).to eq(range_response_results[part_range])
+ count += 1
+ end
+
+ expect(count).to eq(3)
+
+ # Is the file cached?
+ temporary_file << "Something else"
+ temporary_file.flush.rewind
+
+ response = handle HTTP::Request.new("GET", file_link, headers: HTTP::Headers{"Accept-Encoding" => "gzip"}), handler: handler
+ decompressed(response.body).to eq("Hello world this is a very long string")
+ end
+ end
+ end
+
+ after_each { Invidious::HttpServer::StaticAssetsHandler.clear_cache }
+end
diff --git a/src/invidious/http_server/static_assets_handler.cr b/src/invidious/http_server/static_assets_handler.cr
index 243d6a8d5..8f2c1b7e6 100644
--- a/src/invidious/http_server/static_assets_handler.cr
+++ b/src/invidious/http_server/static_assets_handler.cr
@@ -107,5 +107,12 @@ module Invidious::HttpServer
# Paste in the body of inherited serve_file_range
{{@type.superclass.methods.select(&.name.==("serve_file_range"))[0].body}}
end
+
+ # Clear cached files.
+ #
+ # This is only used in the specs to clear the cache before each handler test
+ def self.clear_cache
+ return @@cached_files.clear
+ end
end
end
From 7749ea1956401b622d65743271fe2622106bfb72 Mon Sep 17 00:00:00 2001
From: syeopite
Date: Tue, 3 Jun 2025 16:39:59 -0700
Subject: [PATCH 136/329] Isolate static assets handler spec from others
Running `crystal spec` without a file argument essentially produces one
big program that combines every single spec file, their imports, and
the files that those imports themselves depend on. Most of the types
within this combined program will get ignored by the compiler due to a
lack of any calls to them from the spec files.
But for some types, partially the HTTP module ones, using them within
the spec files will suddenly make the compiler enable a bunch of
previously ignored code. And those code will suddenly require the
presence of additional types, constants, etc. This not only make it
annoying for getting the specs working but also makes it difficult to
isolate behaviors for testing.
The `static_assets_handler_spec.cr` causes this issue and so will be
marked as an isolated spec for now. In the future all of the tests
should be organized into independent groupings similar to how the
Crystal compiler splits their tests into std, compiler, primitives and
interpreter.
---
.../handlers/static_assets_handler_spec.cr | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/spec/http_server/handlers/static_assets_handler_spec.cr b/spec/http_server/handlers/static_assets_handler_spec.cr
index 89c530147..9b7a363e1 100644
--- a/spec/http_server/handlers/static_assets_handler_spec.cr
+++ b/spec/http_server/handlers/static_assets_handler_spec.cr
@@ -1,4 +1,13 @@
-{% skip_file if compare_versions(Crystal::VERSION, "1.17.0-dev") < 0 %}
+# Due to the way that specs are handled this file cannot be run together with
+# everything else without causing a compile time error that'll be incredibly
+# annoying to resolve.
+#
+# TODO: Create different spec categories that can then be ran through make.
+# An implementation of this can be seen with the tests for the Crystal compiler itself.
+#
+# For now run this with `crystal spec spec/http_server/handlers/static_assets_handler_spec.cr -Drunning_by_self`
+
+{% skip_file if compare_versions(Crystal::VERSION, "1.17.0-dev") < 0 || !flag?(:running_by_self) %}
require "http"
require "spectator"
From 89a0761a19f48551ed37d9df0f512aceff76f5dc Mon Sep 17 00:00:00 2001
From: syeopite
Date: Tue, 3 Jun 2025 16:40:35 -0700
Subject: [PATCH 137/329] Fix Ameba Lint/UselessAssign
---
spec/http_server/handlers/static_assets_handler_spec.cr | 3 +--
src/invidious/http_server/static_assets_handler.cr | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/spec/http_server/handlers/static_assets_handler_spec.cr b/spec/http_server/handlers/static_assets_handler_spec.cr
index 9b7a363e1..373d59fd2 100644
--- a/spec/http_server/handlers/static_assets_handler_spec.cr
+++ b/spec/http_server/handlers/static_assets_handler_spec.cr
@@ -106,8 +106,7 @@ Spectator.describe StaticAssetsHandler do
file_link = "/#{File.basename(temporary_file.path)}"
# Make request
- headers = HTTP::Headers{"Range" => "bytes=0-2"}
- response = handle HTTP::Request.new("GET", file_link, headers)
+ handle HTTP::Request.new("GET", file_link, HTTP::Headers{"Range" => "bytes=0-2"})
# Mutate file on disk
temporary_file << "Something else"
diff --git a/src/invidious/http_server/static_assets_handler.cr b/src/invidious/http_server/static_assets_handler.cr
index 8f2c1b7e6..94add5a80 100644
--- a/src/invidious/http_server/static_assets_handler.cr
+++ b/src/invidious/http_server/static_assets_handler.cr
@@ -71,7 +71,7 @@ module Invidious::HttpServer
# Writes file data to the cache
private def flush_io_to_cache(io, file_path, file_info)
- if @@cached_files.sum(&.[1].size) + (size = file_info.size) < CACHE_LIMIT
+ if @@cached_files.sum(&.[1].size) + file_info.size < CACHE_LIMIT
data_slice = io.to_slice
@@cached_files[file_path] = CachedFile.new(data_slice, file_info.size, file_info.modification_time)
end
From 7f9cfe1aa201e0c40255ecb0e9296cd6b40d4696 Mon Sep 17 00:00:00 2001
From: syeopite
Date: Tue, 3 Jun 2025 17:07:51 -0700
Subject: [PATCH 138/329] Refactor logic for updating temp files in tests
---
.../handlers/static_assets_handler_spec.cr | 125 ++++++++----------
1 file changed, 57 insertions(+), 68 deletions(-)
diff --git a/spec/http_server/handlers/static_assets_handler_spec.cr b/spec/http_server/handlers/static_assets_handler_spec.cr
index 373d59fd2..4b50171ae 100644
--- a/spec/http_server/handlers/static_assets_handler_spec.cr
+++ b/spec/http_server/handlers/static_assets_handler_spec.cr
@@ -42,11 +42,21 @@ end
# Makes and yields a temporary file with the given prefix
private def make_temporary_file(prefix, contents = nil, &)
tempfile = File.tempfile(prefix, "static_assets_handler_spec", dir: "spec/http_server/handlers/static_assets_handler")
- yield tempfile
+ file_link = "/#{File.basename(tempfile.path)}"
+ yield tempfile, file_link
ensure
tempfile.try &.delete
end
+# Changes the contents of the temporary file after yield
+private def cycle_temporary_file_contents(temporary_file, initial, &)
+ temporary_file.rewind << initial
+ temporary_file.rewind.flush
+ yield
+ temporary_file.rewind << "something else"
+ temporary_file.rewind.flush
+end
+
# Get relative file path to a file within the static_assets_handler folder
macro get_file_path(basename)
"spec/http_server/handlers/static_assets_handler/#{ {{basename}} }"
@@ -60,24 +70,19 @@ Spectator.describe StaticAssetsHandler do
end
it "Can serve cached file" do
- make_temporary_file("cache_test") do |temporary_file|
- temporary_file.rewind << "foo"
- temporary_file.flush
- expect(temporary_file.rewind.gets_to_end).to eq("foo")
+ make_temporary_file("cache_test") do |temporary_file, file_link|
+ cycle_temporary_file_contents(temporary_file, "foo") do
+ expect(temporary_file.rewind.gets_to_end).to eq("foo")
- file_link = "/#{File.basename(temporary_file.path)}"
+ # Should get cached by the first run
+ response = handle HTTP::Request.new("GET", file_link)
+ expect(response.status_code).to eq(200)
+ expect(response.body).to eq("foo")
+ end
- # Should get cached by the first run
- response = handle HTTP::Request.new("GET", file_link)
- expect(response.status_code).to eq(200)
- expect(response.body).to eq("foo")
-
- # Update temporary file to "bar"
- temporary_file.rewind << "bar"
- temporary_file.flush
- expect(temporary_file.rewind.gets_to_end).to eq("bar")
-
- # Second request should still return "foo"
+ # Temporary file is updated after `cycle_temporary_file_contents` is called
+ # but if the file is successfully cached then we'll only get the original
+ # contents.
response = handle HTTP::Request.new("GET", file_link)
expect(response.status_code).to eq(200)
expect(response.body).to eq("foo")
@@ -100,17 +105,10 @@ Spectator.describe StaticAssetsHandler do
end
it "Will cache entire file even if doing partial requests" do
- make_temporary_file("range_cache") do |temporary_file|
- temporary_file << "Hello world"
- temporary_file.flush.rewind
- file_link = "/#{File.basename(temporary_file.path)}"
-
- # Make request
- handle HTTP::Request.new("GET", file_link, HTTP::Headers{"Range" => "bytes=0-2"})
-
- # Mutate file on disk
- temporary_file << "Something else"
- temporary_file.flush.rewind
+ make_temporary_file("range_cache") do |temporary_file, file_link|
+ cycle_temporary_file_contents(temporary_file, "Hello world") do
+ handle HTTP::Request.new("GET", file_link, HTTP::Headers{"Range" => "bytes=0-2"})
+ end
# Second request shouldn't have changed
headers = HTTP::Headers{"Range" => "bytes=3-8"}
@@ -134,19 +132,12 @@ Spectator.describe StaticAssetsHandler do
handler = HTTP::CompressHandler.new
handler.next = get_static_assets_handler()
- make_temporary_file("check decompression handler") do |temporary_file|
- temporary_file << "Hello world"
- temporary_file.flush.rewind
- file_link = "/#{File.basename(temporary_file.path)}"
-
- # Can send from disk?
- response = handle HTTP::Request.new("GET", file_link, headers: HTTP::Headers{"Accept-Encoding" => "gzip"}), handler: handler
- expect(response.headers["Content-Encoding"]).to eq("gzip")
- decompressed(response.body).to eq("Hello world")
-
- temporary_file << "Hello world"
- temporary_file.flush.rewind
- file_link = "/#{File.basename(temporary_file.path)}"
+ make_temporary_file("check decompression handler") do |temporary_file, file_link|
+ cycle_temporary_file_contents(temporary_file, "Hello world") do
+ response = handle HTTP::Request.new("GET", file_link, headers: HTTP::Headers{"Accept-Encoding" => "gzip"}), handler: handler
+ expect(response.headers["Content-Encoding"]).to eq("gzip")
+ decompressed(response.body).to eq("Hello world")
+ end
# Are cached requests working?
response = handle HTTP::Request.new("GET", file_link, headers: HTTP::Headers{"Accept-Encoding" => "gzip"}), handler: handler
@@ -165,40 +156,38 @@ Spectator.describe StaticAssetsHandler do
handler = HTTP::CompressHandler.new
handler.next = get_static_assets_handler()
- make_temporary_file("check_decompression_handler_on_partial_requests") do |temporary_file|
- temporary_file << "Hello world this is a very long string"
- temporary_file.flush.rewind
- file_link = "/#{File.basename(temporary_file.path)}"
+ make_temporary_file("check_decompression_handler_on_partial_requests") do |temporary_file, file_link|
+ cycle_temporary_file_contents(temporary_file, "Hello world this is a very long string") do
+ range_response_results = {
+ "10-20/38" => "d this is a",
+ "0-0/38" => "H",
+ "5-9/38" => " worl",
+ }
- range_response_results = {
- "10-20/38" => "d this is a",
- "0-0/38" => "H",
- "5-9/38" => " worl",
- }
+ range_request_header_value = {"10-20", "5-9", "0-0"}.join(',')
+ range_response_header_value = range_response_results.keys
- range_request_header_value = {"10-20", "5-9", "0-0"}.join(',')
- range_response_header_value = range_response_results.keys
+ response = handle HTTP::Request.new("GET", file_link, headers: HTTP::Headers{"Range" => "bytes=#{range_request_header_value}", "Accept-Encoding" => "gzip"}), handler: handler
+ expect(response.headers["Content-Encoding"]).to eq("gzip")
- response = handle HTTP::Request.new("GET", file_link, headers: HTTP::Headers{"Range" => "bytes=#{range_request_header_value}", "Accept-Encoding" => "gzip"}), handler: handler
- expect(response.headers["Content-Encoding"]).to eq("gzip")
+ # Decompress response
+ response = HTTP::Client::Response.new(
+ status: response.status,
+ headers: response.headers,
+ body_io: Compress::Gzip::Reader.new(IO::Memory.new(response.body)),
+ )
- # Decompress response
- response = HTTP::Client::Response.new(
- status: response.status,
- headers: response.headers,
- body_io: Compress::Gzip::Reader.new(IO::Memory.new(response.body)),
- )
+ count = 0
+ MIME::Multipart.parse(response) do |headers, part|
+ part_range = headers["Content-Range"][6..]
+ expect(part_range).to be_within(range_response_header_value)
+ expect(part.gets_to_end).to eq(range_response_results[part_range])
+ count += 1
+ end
- count = 0
- MIME::Multipart.parse(response) do |headers, part|
- part_range = headers["Content-Range"][6..]
- expect(part_range).to be_within(range_response_header_value)
- expect(part.gets_to_end).to eq(range_response_results[part_range])
- count += 1
+ expect(count).to eq(3)
end
- expect(count).to eq(3)
-
# Is the file cached?
temporary_file << "Something else"
temporary_file.flush.rewind
From 21049518d603da7ea1ba13feb98058e1355fdad4 Mon Sep 17 00:00:00 2001
From: syeopite
Date: Tue, 3 Jun 2025 17:10:10 -0700
Subject: [PATCH 139/329] Improve cache size check to be more performant
Summing the sizes of each cached file every time is very inefficient.
Instead we can simply store the cache size in an constant and increase
it everytime a file is added into the cache.
---
.../handlers/static_assets_handler_spec.cr | 31 +++++++++++++++++++
.../http_server/static_assets_handler.cr | 7 +++--
2 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/spec/http_server/handlers/static_assets_handler_spec.cr b/spec/http_server/handlers/static_assets_handler_spec.cr
index 4b50171ae..76dc7be77 100644
--- a/spec/http_server/handlers/static_assets_handler_spec.cr
+++ b/spec/http_server/handlers/static_assets_handler_spec.cr
@@ -198,5 +198,36 @@ Spectator.describe StaticAssetsHandler do
end
end
+ it "Will not cache additional files if the cache limit is reached" do
+ 5.times do |times|
+ data = "a" * 1_000_000
+
+ make_temporary_file("test cache size limit #{times}") do |temporary_file, file_link|
+ cycle_temporary_file_contents(temporary_file, data) do
+ response = handle HTTP::Request.new("GET", file_link)
+ expect(response.status_code).to eq(200)
+ expect(response.body).to eq(data)
+ end
+
+ response = handle HTTP::Request.new("GET", file_link)
+ expect(response.status_code).to eq(200)
+ expect(response.body).to eq(data)
+ end
+ end
+
+ # Cache should be 5 mb so no more files will be cached.
+ make_temporary_file("test cache size limit uncached") do |temporary_file, file_link|
+ cycle_temporary_file_contents(temporary_file, "a") do
+ response = handle HTTP::Request.new("GET", file_link)
+ expect(response.status_code).to eq(200)
+ expect(response.body).to eq("a")
+ end
+
+ response = handle HTTP::Request.new("GET", file_link)
+ expect(response.status_code).to eq(200)
+ expect(response.body).to_not eq("a")
+ end
+ end
+
after_each { Invidious::HttpServer::StaticAssetsHandler.clear_cache }
end
diff --git a/src/invidious/http_server/static_assets_handler.cr b/src/invidious/http_server/static_assets_handler.cr
index 94add5a80..e086ac3b0 100644
--- a/src/invidious/http_server/static_assets_handler.cr
+++ b/src/invidious/http_server/static_assets_handler.cr
@@ -20,6 +20,7 @@ module Invidious::HttpServer
end
CACHE_LIMIT = 5_000_000 # 5MB
+ @@current_cache_size = 0
@@cached_files = {} of Path => CachedFile
# Returns metadata for the requested file
@@ -71,9 +72,8 @@ module Invidious::HttpServer
# Writes file data to the cache
private def flush_io_to_cache(io, file_path, file_info)
- if @@cached_files.sum(&.[1].size) + file_info.size < CACHE_LIMIT
- data_slice = io.to_slice
- @@cached_files[file_path] = CachedFile.new(data_slice, file_info.size, file_info.modification_time)
+ if (@@current_cache_size += file_info.size) <= CACHE_LIMIT
+ @@cached_files[file_path] = CachedFile.new(io.to_slice, file_info.size, file_info.modification_time)
end
end
@@ -112,6 +112,7 @@ module Invidious::HttpServer
#
# This is only used in the specs to clear the cache before each handler test
def self.clear_cache
+ @@current_cache_size = 0
return @@cached_files.clear
end
end
From 1f5685ef92ef020f60e69e4f2a966dca15368e7b Mon Sep 17 00:00:00 2001
From: syeopite
Date: Sat, 23 Aug 2025 20:51:30 -0700
Subject: [PATCH 140/329] Reduce indent in StaticAssetsHandler#serve_file
---
.../http_server/static_assets_handler.cr | 33 ++++++++++---------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/src/invidious/http_server/static_assets_handler.cr b/src/invidious/http_server/static_assets_handler.cr
index e086ac3b0..7902c95bf 100644
--- a/src/invidious/http_server/static_assets_handler.cr
+++ b/src/invidious/http_server/static_assets_handler.cr
@@ -50,24 +50,25 @@ module Invidious::HttpServer
range_header = context.request.headers["Range"]?
- if !file_info.is_a? CachedFile
- retrieve_bytes_from = IO::Memory.new
-
- File.open(file_path) do |file|
- # We cannot cache partial data so we'll rewind and read from the start
- if range_header
- dispatch_serve(context, file, file_info, range_header)
- IO.copy(file.rewind, retrieve_bytes_from)
- else
- context.response.output = IO::MultiWriter.new(context.response.output, retrieve_bytes_from, sync_close: true)
- dispatch_serve(context, file, file_info, range_header)
- end
- end
-
- return flush_io_to_cache(retrieve_bytes_from, file_path, file_info)
- else
+ # If the file is cached we can just directly serve it
+ if file_info.is_a? CachedFile
return dispatch_serve(context, file_info.data, file_info, range_header)
end
+
+ # Otherwise we'll need to read from disk and cache it
+ retrieve_bytes_from = IO::Memory.new
+ File.open(file_path) do |file|
+ # We cannot cache partial data so we'll rewind and read from the start
+ if range_header
+ dispatch_serve(context, file, file_info, range_header)
+ IO.copy(file.rewind, retrieve_bytes_from)
+ else
+ context.response.output = IO::MultiWriter.new(context.response.output, retrieve_bytes_from, sync_close: true)
+ dispatch_serve(context, file, file_info, range_header)
+ end
+ end
+
+ return flush_io_to_cache(retrieve_bytes_from, file_path, file_info)
end
# Writes file data to the cache
From bf17d5306872f0f997900330117f7fd85d371d22 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Fri, 19 Dec 2025 10:59:42 -0300
Subject: [PATCH 141/329] Replace deprecated `blocking` property of `Socket`
(#5538)
* Replace deprecated `blocking` property of `Socket`
This replaces the deprecated argument `blocking` and uses
`Socket.set_blocking(fd, value)` instead.
Fixes a warning in the compiler
https://github.com/crystal-lang/crystal/pull/16033
* Upgrade to upstream
* chore: only Socket.set_blocking for > 1.18
---------
Co-authored-by: Emilien <4016501+unixfox@users.noreply.github.com>
---
.../helpers/crystal_class_overrides.cr | 27 ++++++++++++++-----
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/src/invidious/helpers/crystal_class_overrides.cr b/src/invidious/helpers/crystal_class_overrides.cr
index fec3f62c3..6fa89395b 100644
--- a/src/invidious/helpers/crystal_class_overrides.cr
+++ b/src/invidious/helpers/crystal_class_overrides.cr
@@ -3,15 +3,28 @@
# IPv6 addresses.
#
class TCPSocket
- def initialize(host, port, dns_timeout = nil, connect_timeout = nil, blocking = false, family = Socket::Family::UNSPEC)
- Addrinfo.tcp(host, port, timeout: dns_timeout, family: family) do |addrinfo|
- super(addrinfo.family, addrinfo.type, addrinfo.protocol, blocking)
- connect(addrinfo, timeout: connect_timeout) do |error|
- close
- error
+ {% if compare_versions(Crystal::VERSION, "1.18.0-dev") >= 0 %}
+ def initialize(host : String, port, dns_timeout = nil, connect_timeout = nil, blocking = false, family = Socket::Family::UNSPEC)
+ Addrinfo.tcp(host, port, timeout: dns_timeout, family: family) do |addrinfo|
+ super(family: addrinfo.family, type: addrinfo.type, protocol: addrinfo.protocol)
+ Socket.set_blocking(self.fd, blocking)
+ connect(addrinfo, timeout: connect_timeout) do |error|
+ close
+ error
+ end
end
end
- end
+ {% else %}
+ def initialize(host : String, port, dns_timeout = nil, connect_timeout = nil, blocking = false, family = Socket::Family::UNSPEC)
+ Addrinfo.tcp(host, port, timeout: dns_timeout, family: family) do |addrinfo|
+ super(addrinfo.family, addrinfo.type, addrinfo.protocol, blocking)
+ connect(addrinfo, timeout: connect_timeout) do |error|
+ close
+ error
+ end
+ end
+ end
+ {% end %}
end
# :ditto:
From 7a4b9018463ba48c1e59bca7d11c498f14cf0f13 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89milien=20=28perso=29?=
<4016501+unixfox@users.noreply.github.com>
Date: Fri, 19 Dec 2025 15:08:07 +0100
Subject: [PATCH 142/329] chore: update crystal 1.18.2 + alpine 3.23 (#5574)
---
.github/workflows/ci.yml | 4 ++--
docker/Dockerfile | 4 ++--
docker/Dockerfile.arm64 | 11 +++++++----
3 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b28873d13..847342f77 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -38,11 +38,11 @@ jobs:
matrix:
stable: [true]
crystal:
- - 1.12.2
- - 1.13.3
- 1.14.1
- 1.15.1
- 1.16.3
+ - 1.17.1
+ - 1.18.2
include:
- crystal: nightly
stable: false
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 3e0d2f7f2..383a60ec3 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -2,7 +2,7 @@
ARG OPENSSL_VERSION='3.5.2'
ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
-FROM crystallang/crystal:1.16.3-alpine AS dependabot-crystal
+FROM crystallang/crystal:1.18.2-alpine AS dependabot-crystal
# We compile openssl ourselves due to a memory leak in how crystal interacts
# with openssl
@@ -61,7 +61,7 @@ RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ;
--link-flags "-lxml2 -llzma"; \
fi
-FROM alpine:3.21
+FROM alpine:3.23
RUN apk add --no-cache rsvg-convert ttf-opensans tini tzdata
WORKDIR /invidious
RUN addgroup -g 1000 -S invidious && \
diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64
index b02cc8cef..8508d4fab 100644
--- a/docker/Dockerfile.arm64
+++ b/docker/Dockerfile.arm64
@@ -2,7 +2,7 @@
ARG OPENSSL_VERSION='3.5.2'
ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
-FROM alpine:3.21 AS dependabot-alpine
+FROM alpine:3.23 AS dependabot-alpine
# We compile openssl ourselves due to a memory leak in how crystal interacts
# with openssl
@@ -21,8 +21,11 @@ RUN tar -xzvf openssl-${OPENSSL_VERSION}.tar.gz
RUN cd openssl-${OPENSSL_VERSION} && ./Configure --openssldir=/etc/ssl && make -j$(nproc)
FROM dependabot-alpine AS builder
-RUN apk add --no-cache 'crystal=1.14.0-r0' shards sqlite-static yaml-static yaml-dev libxml2-static \
- zlib-static musl-dev xz-static
+RUN apk add --no-cache 'crystal=1.18.2-r0' shards \
+ sqlite-static yaml-static yaml-dev \
+ pcre2-static gc-static \
+ libxml2-static zlib-static \
+ openssl-libs-static openssl-dev musl-dev xz-static
ARG release
@@ -60,7 +63,7 @@ RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ;
--link-flags "-lxml2 -llzma"; \
fi
-FROM alpine:3.21
+FROM alpine:3.23
RUN apk add --no-cache rsvg-convert ttf-opensans tini tzdata
WORKDIR /invidious
RUN addgroup -g 1000 -S invidious && \
From dbbaf51f1f4e80c7db14e669aadac7fb87f6267d Mon Sep 17 00:00:00 2001
From: Jeroen Boersma
Date: Fri, 19 Dec 2025 15:09:22 +0100
Subject: [PATCH 143/329] Allow downloading via companion (#5561)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* Allow downloading via companion
* post request where not proxied for the download companion which made
it impossible to download with the companion enabled
* Re-apply Channel to Channels rename which was pulled in
* Update src/invidious/routes/companion.cr
* doc: better comments for each route
---------
Co-authored-by: Fijxu
Co-authored-by: Émilien (perso) <4016501+unixfox@users.noreply.github.com>
---
src/invidious/routes/companion.cr | 20 +++++++++++++++++++-
src/invidious/routing.cr | 1 +
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/src/invidious/routes/companion.cr b/src/invidious/routes/companion.cr
index 11c2e3f59..949b213f3 100644
--- a/src/invidious/routes/companion.cr
+++ b/src/invidious/routes/companion.cr
@@ -1,5 +1,5 @@
module Invidious::Routes::Companion
- # /companion
+ # GET /companion
def self.get_companion(env)
url = env.request.path
if env.request.query
@@ -16,6 +16,24 @@ module Invidious::Routes::Companion
end
end
+ # POST /companion
+ def self.post_companion(env)
+ url = env.request.path
+ if env.request.query
+ url += "?#{env.request.query}"
+ end
+
+ begin
+ COMPANION_POOL.client do |wrapper|
+ wrapper.client.post(url, env.request.headers, env.request.body) do |resp|
+ return self.proxy_companion(env, resp)
+ end
+ end
+ rescue ex
+ end
+ end
+
+
def self.options_companion(env)
url = env.request.path
if env.request.query
diff --git a/src/invidious/routing.cr b/src/invidious/routing.cr
index a51bb4b67..32e8554c3 100644
--- a/src/invidious/routing.cr
+++ b/src/invidious/routing.cr
@@ -227,6 +227,7 @@ module Invidious::Routing
def register_companion_routes
if CONFIG.invidious_companion.present?
get "/companion/*", Routes::Companion, :get_companion
+ post "/companion/*", Routes::Companion, :post_companion
options "/companion/*", Routes::Companion, :options_companion
end
end
From f7a31aa3dee1f37cb90a22303b6d45bec0033a3f Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Sun, 21 Dec 2025 00:50:37 -0300
Subject: [PATCH 144/329] fix lint
---
src/invidious/routes/companion.cr | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/invidious/routes/companion.cr b/src/invidious/routes/companion.cr
index 949b213f3..811393aba 100644
--- a/src/invidious/routes/companion.cr
+++ b/src/invidious/routes/companion.cr
@@ -33,7 +33,6 @@ module Invidious::Routes::Companion
end
end
-
def self.options_companion(env)
url = env.request.path
if env.request.query
From 9603f5151d76768ff704ceeac7a2e8ae687121be Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Mon, 22 Dec 2025 07:19:13 -0300
Subject: [PATCH 145/329] Downgrade Crystal to 1.16.3 in OCI (#5577)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* downgrade to 1.16.3
* Downgrade Alpine base image from 3.23 to 3.22
---------
Co-authored-by: Émilien (perso) <4016501+unixfox@users.noreply.github.com>
---
docker/Dockerfile | 2 +-
docker/Dockerfile.arm64 | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 383a60ec3..e2d303648 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -2,7 +2,7 @@
ARG OPENSSL_VERSION='3.5.2'
ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
-FROM crystallang/crystal:1.18.2-alpine AS dependabot-crystal
+FROM crystallang/crystal:1.16.3-alpine AS dependabot-crystal
# We compile openssl ourselves due to a memory leak in how crystal interacts
# with openssl
diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64
index 8508d4fab..ce691c915 100644
--- a/docker/Dockerfile.arm64
+++ b/docker/Dockerfile.arm64
@@ -2,7 +2,7 @@
ARG OPENSSL_VERSION='3.5.2'
ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
-FROM alpine:3.23 AS dependabot-alpine
+FROM alpine:3.22 AS dependabot-alpine
# We compile openssl ourselves due to a memory leak in how crystal interacts
# with openssl
@@ -21,7 +21,7 @@ RUN tar -xzvf openssl-${OPENSSL_VERSION}.tar.gz
RUN cd openssl-${OPENSSL_VERSION} && ./Configure --openssldir=/etc/ssl && make -j$(nproc)
FROM dependabot-alpine AS builder
-RUN apk add --no-cache 'crystal=1.18.2-r0' shards \
+RUN apk add --no-cache 'crystal=1.16.3-r0' shards \
sqlite-static yaml-static yaml-dev \
pcre2-static gc-static \
libxml2-static zlib-static \
@@ -63,7 +63,7 @@ RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ;
--link-flags "-lxml2 -llzma"; \
fi
-FROM alpine:3.23
+FROM alpine:3.22
RUN apk add --no-cache rsvg-convert ttf-opensans tini tzdata
WORKDIR /invidious
RUN addgroup -g 1000 -S invidious && \
From 5f84a5b353132cec17bd14b0796dc11a3d0eb36d Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Mon, 22 Dec 2025 13:14:59 -0300
Subject: [PATCH 146/329] Generate companion check id one time and add missing
companion check id on captions (#5575)
* Only generate companion check id one time
* Add missing check id for companion captions
---
src/invidious/views/components/player.ecr | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/src/invidious/views/components/player.ecr b/src/invidious/views/components/player.ecr
index 85fa4373f..26ba65f74 100644
--- a/src/invidious/views/components/player.ecr
+++ b/src/invidious/views/components/player.ecr
@@ -1,3 +1,6 @@
+<%
+ invidious_companion_check_id = invidious_companion_encrypt(video.id) if invidious_companion
+%>
From 344bc2d8e950748ab0c5f68f4c18d12e45b9c281 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Fri, 16 Jan 2026 19:39:44 -0300
Subject: [PATCH 147/329] Strip unwanted headers from response headers in
images and videoplayback (#5595)
Image responses contained the following unwanted headers that should not
be passed to the clients:
```
"Cross-Origin-Resource-Policy"
["cross-origin"]
"Cross-Origin-Opener-Policy-Report-Only"
["same-origin; report-to=\"youtube\""]
"Report-To"
["{\"group\":\"youtube\",\"max_age\":2592000,\"endpoints\":[{\"url\":\"https://csp.withgoogle.com/csp/report-to/youtube\"}]}"]
"Timing-Allow-Origin"
["*"]
```
---
src/invidious.cr | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/invidious.cr b/src/invidious.cr
index a61f91a9a..ec5184535 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -78,7 +78,7 @@ TEST_IDS = {"AgbeGFYluEA", "BaW_jenozKc", "a9LDPn-MO4I", "ddFvjfvPnqk"
MAX_ITEMS_PER_PAGE = 1500
REQUEST_HEADERS_WHITELIST = {"accept", "accept-encoding", "cache-control", "content-length", "if-none-match", "range"}
-RESPONSE_HEADERS_BLACKLIST = {"access-control-allow-origin", "alt-svc", "server"}
+RESPONSE_HEADERS_BLACKLIST = {"access-control-allow-origin", "alt-svc", "server", "cross-origin-opener-policy-report-only", "report-to", "cross-origin", "timing-allow-origin", "cross-origin-resource-policy"}
HTTP_CHUNK_SIZE = 10485760 # ~10MB
CURRENT_BRANCH = {{ "#{`git branch | sed -n '/* /s///p'`.strip}" }}
From 66c67f4c7a2646c5d1b555fd833826917f1cb58f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89milien=20=28perso=29?=
<4016501+unixfox@users.noreply.github.com>
Date: Sat, 17 Jan 2026 00:15:32 +0100
Subject: [PATCH 148/329] doc: Update HTTP proxy configuration comments (#5586)
* doc: Update HTTP proxy configuration comments
Added information about proxy configuration for YouTube streams.
* Document supported proxy types in config.example.yml
Added note about supported proxy types in configuration.
---
config/config.example.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/config/config.example.yml b/config/config.example.yml
index eedd95396..7cc480c64 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -223,9 +223,13 @@ https_only: false
##
## Configuration for using a HTTP proxy
-##
## If unset, then no HTTP proxy will be used.
+## Proxy type supported: HTTP, HTTPS
##
+## This is not used for loading the video streams from YouTube servers (circumvent YouTube restrictions)
+## Please instead configure the proxy in Invidious companion:
+## https://github.com/iv-org/invidious-companion/blob/master/config/config.example.toml
+##
#http_proxy:
# user:
# password:
From d25cc9570c9738f16e15437bcc69a12ab2095738 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 19 Jan 2026 22:59:44 +0100
Subject: [PATCH 149/329] Bump crystallang/crystal from 1.16.3-alpine to
1.19.0-alpine in /docker (#5603)
Bumps crystallang/crystal from 1.16.3-alpine to 1.19.0-alpine.
---
updated-dependencies:
- dependency-name: crystallang/crystal
dependency-version: 1.19.0-alpine
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
docker/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index e2d303648..97c43ef1b 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -2,7 +2,7 @@
ARG OPENSSL_VERSION='3.5.2'
ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
-FROM crystallang/crystal:1.16.3-alpine AS dependabot-crystal
+FROM crystallang/crystal:1.19.0-alpine AS dependabot-crystal
# We compile openssl ourselves due to a memory leak in how crystal interacts
# with openssl
From 7e36cfb6678770db8a55e575caddd981dce2d032 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89milien=20=28perso=29?=
<4016501+unixfox@users.noreply.github.com>
Date: Mon, 19 Jan 2026 23:39:01 +0100
Subject: [PATCH 150/329] =?UTF-8?q?Revert=20"Bump=20crystallang/crystal=20?=
=?UTF-8?q?from=201.16.3-alpine=20to=201.19.0-alpine=20in=20/dock=E2=80=A6?=
=?UTF-8?q?"=20(#5604)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This reverts commit d25cc9570c9738f16e15437bcc69a12ab2095738.
---
docker/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 97c43ef1b..e2d303648 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -2,7 +2,7 @@
ARG OPENSSL_VERSION='3.5.2'
ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
-FROM crystallang/crystal:1.19.0-alpine AS dependabot-crystal
+FROM crystallang/crystal:1.16.3-alpine AS dependabot-crystal
# We compile openssl ourselves due to a memory leak in how crystal interacts
# with openssl
From d51a7a44ad91d2fa7d1330970a15a0d8f365f250 Mon Sep 17 00:00:00 2001
From: Kiril Isakov
Date: Fri, 23 Jan 2026 13:18:41 +0100
Subject: [PATCH 151/329] Fix commit command in README instructions, as per
#5606 (#5607)
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 97d2109b0..5b789a505 100644
--- a/README.md
+++ b/README.md
@@ -129,7 +129,7 @@ You can read more here: https://docs.invidious.io/applications/
1. Fork it ( https://github.com/iv-org/invidious/fork ).
1. Create your feature branch (`git checkout -b my-new-feature`).
1. Stage your files (`git add .`).
-1. Commit your changes (`git commit -am 'Add some feature'`).
+1. Commit your changes (`git commit -m 'Add some feature'`).
1. Push to the branch (`git push origin my-new-feature`).
1. Create a new pull request ( https://github.com/iv-org/invidious/compare ).
From abb0aa436ce9dd31d96601c14a352a98de0e3469 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Fri, 30 Jan 2026 18:01:04 -0300
Subject: [PATCH 152/329] Fix thin_mode preference for channel community page
(#5567)
thin_mode only took in account the query param because
env.get("preferences").as(Preferences).thin_mode returned a boolean and
not a string to be able to compare it with the string `"true"`
---
src/invidious/routes/channels.cr | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/invidious/routes/channels.cr b/src/invidious/routes/channels.cr
index f785de183..968d38dc5 100644
--- a/src/invidious/routes/channels.cr
+++ b/src/invidious/routes/channels.cr
@@ -231,8 +231,10 @@ module Invidious::Routes::Channels
env.redirect "/post/#{URI.encode_www_form(lb)}?ucid=#{URI.encode_www_form(ucid)}"
end
- thin_mode = env.params.query["thin_mode"]? || env.get("preferences").as(Preferences).thin_mode
- thin_mode = thin_mode == "true"
+ preferences = env.get("preferences").as(Preferences)
+
+ thin_mode = env.params.query["thin_mode"]?
+ thin_mode = (thin_mode == "true") || preferences.thin_mode
continuation = env.params.query["continuation"]?
From b521e3be6c0d925a96a97ce6a233aa8a55a7edc3 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Fri, 30 Jan 2026 18:01:16 -0300
Subject: [PATCH 153/329] chore: Do not convert thin_mode preference to string
to compare it (#5568)
---
src/invidious/routes/before_all.cr | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/invidious/routes/before_all.cr b/src/invidious/routes/before_all.cr
index 63b935ec6..06746a12e 100644
--- a/src/invidious/routes/before_all.cr
+++ b/src/invidious/routes/before_all.cr
@@ -94,8 +94,8 @@ module Invidious::Routes::BeforeAll
end
dark_mode = convert_theme(env.params.query["dark_mode"]?) || preferences.dark_mode.to_s
- thin_mode = env.params.query["thin_mode"]? || preferences.thin_mode.to_s
- thin_mode = thin_mode == "true"
+ thin_mode = env.params.query["thin_mode"]?
+ thin_mode = (thin_mode == "true") || preferences.thin_mode
locale = env.params.query["hl"]? || preferences.locale
preferences.dark_mode = dark_mode
From 48be830544313ac6ccd2fe257526b5607f3c5fe4 Mon Sep 17 00:00:00 2001
From: Harm133
Date: Fri, 30 Jan 2026 23:39:07 +0100
Subject: [PATCH 154/329] Update shard.yml to include target (#5608)
[shard.yml]
- Include a target for LSPs to use as an entrypoint:
(https://github.com/elbywan/crystalline?tab=readme-ov-file#entry-point)
---
shard.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/shard.yml b/shard.yml
index bc6c4bf48..dde1851ec 100644
--- a/shard.yml
+++ b/shard.yml
@@ -5,6 +5,10 @@ authors:
- Invidious team
- Contributors!
+targets:
+ invidious:
+ main: src/invidious.cr
+
description: |
Invidious is an alternative front-end to YouTube
From a9f812799c2aa2541e13fc291522fb2fb03d47b2 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Tue, 3 Feb 2026 16:18:15 -0300
Subject: [PATCH 155/329] fix: add missing embedded protobuf message in
continuation token for channel videos (#5614)
* fix: add missing embedded protobuf message in continuation token for channel videos
* fix: add missing embedded protobuf message in continuation token for channel shorts
* fix: add missing embedded protobuf message in continuation token for channel livestreams
---
src/invidious/channels/videos.cr | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/invidious/channels/videos.cr b/src/invidious/channels/videos.cr
index 96400f471..e2cc83052 100644
--- a/src/invidious/channels/videos.cr
+++ b/src/invidious/channels/videos.cr
@@ -114,7 +114,11 @@ module Invidious::Channel::Tabs
"2:embedded" => {
"1:string" => "00000000-0000-0000-0000-000000000000",
},
- "4:varint" => sort_options_videos_short(sort_by),
+ "4:varint" => sort_options_videos_short(sort_by),
+ "8:embedded" => {
+ "1:string" => "00000000-0000-0000-0000-000000000000",
+ "3:varint" => sort_options_videos_short(sort_by),
+ },
},
}
@@ -130,7 +134,11 @@ module Invidious::Channel::Tabs
"2:embedded" => {
"1:string" => "00000000-0000-0000-0000-000000000000",
},
- "4:varint" => sort_options_videos_short(sort_by),
+ "4:varint" => sort_options_videos_short(sort_by),
+ "7:embedded" => {
+ "1:string" => "00000000-0000-0000-0000-000000000000",
+ "3:varint" => sort_options_videos_short(sort_by),
+ },
},
}
@@ -154,7 +162,11 @@ module Invidious::Channel::Tabs
"2:embedded" => {
"1:string" => "00000000-0000-0000-0000-000000000000",
},
- "5:varint" => sort_by_numerical,
+ "5:varint" => sort_by_numerical,
+ "8:embedded" => {
+ "1:string" => "00000000-0000-0000-0000-000000000000",
+ "3:varint" => sort_by_numerical,
+ },
},
}
From ecbc21b0678eac4a0c8f745de5cc78eef4841221 Mon Sep 17 00:00:00 2001
From: Cameron Radmore
Date: Wed, 4 Feb 2026 10:57:16 -0500
Subject: [PATCH 156/329] playlist: parse playlist thumbnails for topic
autogenerated playlists (#5616)
---
src/invidious/playlists.cr | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/invidious/playlists.cr b/src/invidious/playlists.cr
index 7c584d153..ec64bee41 100644
--- a/src/invidious/playlists.cr
+++ b/src/invidious/playlists.cr
@@ -359,6 +359,9 @@ def fetch_playlist(plid : String)
thumbnail = playlist_info.dig?(
"thumbnailRenderer", "playlistVideoThumbnailRenderer",
"thumbnail", "thumbnails", 0, "url"
+ ).try &.as_s || playlist_info.dig?(
+ "thumbnailRenderer", "playlistCustomThumbnailRenderer",
+ "thumbnail", "thumbnails", 0, "url"
).try &.as_s
views = 0_i64
From 864893f4c75d79b725aba2ddfbf0d55a2b71111e Mon Sep 17 00:00:00 2001
From: Cameron Radmore
Date: Thu, 5 Feb 2026 09:58:52 -0500
Subject: [PATCH 157/329] Channels: parse pronouns and display them on channel
page (#5617)
---
assets/css/default.css | 17 ++++++++++++++++-
src/invidious/channels/about.cr | 17 +++++++++++++----
src/invidious/routes/api/v1/channels.cr | 1 +
src/invidious/views/components/channel_info.ecr | 5 ++++-
4 files changed, 34 insertions(+), 6 deletions(-)
diff --git a/assets/css/default.css b/assets/css/default.css
index 78ef7a609..ff07bdb48 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -75,6 +75,16 @@ body {
height: auto;
}
+.channel-profile > .channel-name-pronouns {
+ display: inline-block;
+}
+
+.channel-profile > .channel-name-pronouns > .channel-pronouns {
+ font-style: italic;
+ font-size: .8em;
+ font-weight: lighter;
+}
+
body a.channel-owner {
background-color: #008bec;
color: #fff;
@@ -406,7 +416,12 @@ input[type="search"]::-webkit-search-cancel-button {
p.channel-name { margin: 0; overflow-wrap: anywhere;}
p.video-data { margin: 0; font-weight: bold; font-size: 80%; }
-.channel-profile > .channel-name { overflow-wrap: anywhere;}
+
+.channel-profile > .channel-name,
+.channel-profile > .channel-name-pronouns > .channel-name
+{
+ overflow-wrap: anywhere;
+}
/*
diff --git a/src/invidious/channels/about.cr b/src/invidious/channels/about.cr
index 139095279..537aa0340 100644
--- a/src/invidious/channels/about.cr
+++ b/src/invidious/channels/about.cr
@@ -12,6 +12,7 @@ record AboutChannel,
sub_count : Int32,
joined : Time,
is_family_friendly : Bool,
+ pronouns : String?,
allowed_regions : Array(String),
tabs : Array(String),
tags : Array(String),
@@ -160,14 +161,21 @@ def get_about_info(ucid, locale) : AboutChannel
end
sub_count = 0
+ pronouns = nil
if (metadata_rows = initdata.dig?("header", "pageHeaderRenderer", "content", "pageHeaderViewModel", "metadata", "contentMetadataViewModel", "metadataRows").try &.as_a)
metadata_rows.each do |row|
- metadata_part = row.dig?("metadataParts").try &.as_a.find { |i| i.dig?("text", "content").try &.as_s.includes?("subscribers") }
- if !metadata_part.nil?
- sub_count = short_text_to_number(metadata_part.dig("text", "content").as_s.split(" ")[0]).to_i32
+ subscribe_metadata_part = row.dig?("metadataParts").try &.as_a.find { |i| i.dig?("text", "content").try &.as_s.includes?("subscribers") }
+ if !subscribe_metadata_part.nil?
+ sub_count = short_text_to_number(subscribe_metadata_part.dig("text", "content").as_s.split(" ")[0]).to_i32
end
- break if sub_count != 0
+
+ pronoun_metadata_part = row.dig?("metadataParts").try &.as_a.find { |i| i.dig?("tooltip").try &.as_s.includes?("Pronouns") }
+ if !pronoun_metadata_part.nil?
+ pronouns = pronoun_metadata_part.dig("text", "content").as_s
+ end
+
+ break if sub_count != 0 && !pronouns.nil?
end
end
@@ -184,6 +192,7 @@ def get_about_info(ucid, locale) : AboutChannel
sub_count: sub_count,
joined: joined,
is_family_friendly: is_family_friendly,
+ pronouns: pronouns,
allowed_regions: allowed_regions,
tabs: tab_names,
tags: tags,
diff --git a/src/invidious/routes/api/v1/channels.cr b/src/invidious/routes/api/v1/channels.cr
index 503b8c051..f8060342c 100644
--- a/src/invidious/routes/api/v1/channels.cr
+++ b/src/invidious/routes/api/v1/channels.cr
@@ -104,6 +104,7 @@ module Invidious::Routes::API::V1::Channels
json.field "tabs", channel.tabs
json.field "tags", channel.tags
json.field "authorVerified", channel.verified
+ json.field "pronouns", channel.pronouns
json.field "latestVideos" do
json.array do
diff --git a/src/invidious/views/components/channel_info.ecr b/src/invidious/views/components/channel_info.ecr
index 2c177b59a..97a2d7da2 100644
--- a/src/invidious/views/components/channel_info.ecr
+++ b/src/invidious/views/components/channel_info.ecr
@@ -12,7 +12,10 @@
- <%= author %><% if !channel.verified.nil? && channel.verified %> <% end %>
+
+ <%= author %><% if !channel.verified.nil? && channel.verified %> <% end %>
+ <% if !channel.pronouns.nil? %> <%= channel.pronouns %><% end %>
+
From 84a699f7b7b3c1bc60598077f0da111219b621bc Mon Sep 17 00:00:00 2001
From: Cameron Radmore
Date: Thu, 5 Feb 2026 09:59:27 -0500
Subject: [PATCH 158/329] Playlist API: return empty author url if ucid is
empty (#5618)
---
src/invidious/playlists.cr | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/invidious/playlists.cr b/src/invidious/playlists.cr
index ec64bee41..eb084331b 100644
--- a/src/invidious/playlists.cr
+++ b/src/invidious/playlists.cr
@@ -107,7 +107,11 @@ struct Playlist
json.field "author", self.author
json.field "authorId", self.ucid
- json.field "authorUrl", "/channel/#{self.ucid}"
+ if !self.ucid.empty?
+ json.field "authorUrl", "/channel/#{self.ucid}"
+ else
+ json.field "authorUrl", ""
+ end
json.field "subtitle", self.subtitle
json.field "authorThumbnails" do
From 7be6fbd75c9d680e1595bdeae32e62e5ddc5e745 Mon Sep 17 00:00:00 2001
From: ThatMatrix
Date: Thu, 11 Jul 2024 01:53:58 +0200
Subject: [PATCH 159/329] Fix(user/importers): Fixed youtube csv playlist
importer
---
src/invidious/user/imports.cr | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/src/invidious/user/imports.cr b/src/invidious/user/imports.cr
index 007eb666b..0dbc9b038 100644
--- a/src/invidious/user/imports.cr
+++ b/src/invidious/user/imports.cr
@@ -30,22 +30,18 @@ struct Invidious::User
return subscriptions
end
- def parse_playlist_export_csv(user : User, raw_input : String)
+ # Parse a CSV Google Takeout - Youtube Playlist file
+ def parse_playlist_export_csv(user : User, playlist_name : String, raw_input : String)
# Split the input into head and body content
raw_head, raw_body = raw_input.strip('\n').split("\n\n", limit: 2, remove_empty: true)
# Create the playlist from the head content
csv_head = CSV.new(raw_head.strip('\n'), headers: true)
csv_head.next
- title = csv_head[4]
- description = csv_head[5]
- visibility = csv_head[6]
+ title = playlist_name
- if visibility.compare("Public", case_insensitive: true) == 0
- privacy = PlaylistPrivacy::Public
- else
- privacy = PlaylistPrivacy::Private
- end
+ description = "This is the default description of an imported playlist. Feel Free to change it as you see fit."
+ privacy = PlaylistPrivacy::Private
playlist = create_playlist(title, privacy, user)
Invidious::Database::Playlists.update_description(playlist.id, description)
@@ -204,10 +200,12 @@ struct Invidious::User
end
def from_youtube_pl(user : User, body : String, filename : String, type : String) : Bool
- extension = filename.split(".").last
+ filename_array = filename.split(".")
+ playlist_name = filename_array.first
+ extension = filename_array.last
if extension == "csv" || type == "text/csv"
- playlist = parse_playlist_export_csv(user, body)
+ playlist = parse_playlist_export_csv(user, playlist_name,playlist_name, body)
if playlist
return true
else
@@ -219,6 +217,7 @@ struct Invidious::User
end
def from_youtube_wh(user : User, body : String, filename : String, type : String) : Bool
+ filename = filename.split(".")
extension = filename.split(".").last
if extension == "json" || type == "application/json"
From 471857ce8bbb8397e75c9d16a781f5b859fe74b0 Mon Sep 17 00:00:00 2001
From: ThatMatrix
Date: Thu, 11 Jul 2024 02:41:08 +0200
Subject: [PATCH 160/329] Fix(user/importers): Fixed typos
---
docker-compose.yml | 2 +-
src/invidious/user/imports.cr | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/docker-compose.yml b/docker-compose.yml
index cb53bdd61..899f21187 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -34,7 +34,7 @@ services:
# domain:
# https_only: false
# statistics_enabled: false
- hmac_key: "CHANGE_ME!!"
+ hmac_key: "ahyeef5xahyohliefi3A"
healthcheck:
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/stats || exit 1
interval: 30s
diff --git a/src/invidious/user/imports.cr b/src/invidious/user/imports.cr
index 0dbc9b038..df93422f1 100644
--- a/src/invidious/user/imports.cr
+++ b/src/invidious/user/imports.cr
@@ -33,7 +33,7 @@ struct Invidious::User
# Parse a CSV Google Takeout - Youtube Playlist file
def parse_playlist_export_csv(user : User, playlist_name : String, raw_input : String)
# Split the input into head and body content
- raw_head, raw_body = raw_input.strip('\n').split("\n\n", limit: 2, remove_empty: true)
+ raw_head, raw_body = raw_input.split("\n\n", limit: 2, remove_empty: true)
# Create the playlist from the head content
csv_head = CSV.new(raw_head.strip('\n'), headers: true)
@@ -205,7 +205,7 @@ struct Invidious::User
extension = filename_array.last
if extension == "csv" || type == "text/csv"
- playlist = parse_playlist_export_csv(user, playlist_name,playlist_name, body)
+ playlist = parse_playlist_export_csv(user, playlist_name, body)
if playlist
return true
else
@@ -217,7 +217,6 @@ struct Invidious::User
end
def from_youtube_wh(user : User, body : String, filename : String, type : String) : Bool
- filename = filename.split(".")
extension = filename.split(".").last
if extension == "json" || type == "application/json"
From 050032b18880a90118bc27f98ebdf7e5fe9bd67d Mon Sep 17 00:00:00 2001
From: ThatMatrix
Date: Thu, 11 Jul 2024 02:52:39 +0200
Subject: [PATCH 161/329] fix(docker-compose.yml): removed hmac_key (randomly
generated) used for testing
---
docker-compose.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docker-compose.yml b/docker-compose.yml
index 899f21187..cb53bdd61 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -34,7 +34,7 @@ services:
# domain:
# https_only: false
# statistics_enabled: false
- hmac_key: "ahyeef5xahyohliefi3A"
+ hmac_key: "CHANGE_ME!!"
healthcheck:
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/stats || exit 1
interval: 30s
From e4beb00413e3a008d8d87442b6c4eab776406827 Mon Sep 17 00:00:00 2001
From: ThatMatrix
Date: Thu, 11 Jul 2024 03:32:06 +0200
Subject: [PATCH 162/329] fix(user/imports.cr): splitting error fixed
---
src/invidious/user/imports.cr | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/invidious/user/imports.cr b/src/invidious/user/imports.cr
index df93422f1..bc1494546 100644
--- a/src/invidious/user/imports.cr
+++ b/src/invidious/user/imports.cr
@@ -33,7 +33,7 @@ struct Invidious::User
# Parse a CSV Google Takeout - Youtube Playlist file
def parse_playlist_export_csv(user : User, playlist_name : String, raw_input : String)
# Split the input into head and body content
- raw_head, raw_body = raw_input.split("\n\n", limit: 2, remove_empty: true)
+ raw_head, raw_body = raw_input.split("\n", limit: 2, remove_empty: true)
# Create the playlist from the head content
csv_head = CSV.new(raw_head.strip('\n'), headers: true)
From ce9494133df596ada104acee43dcc1b32e34bebc Mon Sep 17 00:00:00 2001
From: ThatMatrix
Date: Thu, 11 Jul 2024 03:44:56 +0200
Subject: [PATCH 163/329] fix(user/imports.cr): double header removal caused
first video to be skipped
---
src/invidious/user/imports.cr | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/invidious/user/imports.cr b/src/invidious/user/imports.cr
index bc1494546..7c4101cc1 100644
--- a/src/invidious/user/imports.cr
+++ b/src/invidious/user/imports.cr
@@ -47,7 +47,7 @@ struct Invidious::User
Invidious::Database::Playlists.update_description(playlist.id, description)
# Add each video to the playlist from the body content
- csv_body = CSV.new(raw_body.strip('\n'), headers: true)
+ csv_body = CSV.new(raw_body.strip('\n'), headers: false)
csv_body.each do |row|
video_id = row[0]
if playlist
From a3a97ccf073808d25900d661b79216625b4221f1 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Sun, 28 Sep 2025 00:38:23 -0300
Subject: [PATCH 164/329] Only generate companion CSP one time to reuse it
---
src/invidious/routes/before_all.cr | 17 +++++++++++++++--
src/invidious/routes/embed.cr | 11 -----------
src/invidious/routes/watch.cr | 11 -----------
3 files changed, 15 insertions(+), 24 deletions(-)
diff --git a/src/invidious/routes/before_all.cr b/src/invidious/routes/before_all.cr
index 06746a12e..347a60211 100644
--- a/src/invidious/routes/before_all.cr
+++ b/src/invidious/routes/before_all.cr
@@ -1,4 +1,17 @@
module Invidious::Routes::BeforeAll
+ struct CompanionCSP
+ property companion_urls : String = ""
+
+ def initialize
+ self.companion_urls = CONFIG.invidious_companion.reject(&.builtin_proxy).map do |companion|
+ uri =
+ "#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
+ end.join(" ")
+ end
+ end
+
+ private COMPANION_CSP = CompanionCSP.new
+
def self.handle(env)
preferences = Preferences.from_json("{}")
@@ -35,9 +48,9 @@ module Invidious::Routes::BeforeAll
"style-src 'self' 'unsafe-inline'",
"img-src 'self' data:",
"font-src 'self' data:",
- "connect-src 'self'",
+ "connect-src 'self' " + COMPANION_CSP.companion_urls,
"manifest-src 'self'",
- "media-src 'self' blob:",
+ "media-src 'self' blob: " + COMPANION_CSP.companion_urls,
"child-src 'self' blob:",
"frame-src 'self'",
"frame-ancestors " + frame_ancestors,
diff --git a/src/invidious/routes/embed.cr b/src/invidious/routes/embed.cr
index d0a3b5c15..ec5a58046 100644
--- a/src/invidious/routes/embed.cr
+++ b/src/invidious/routes/embed.cr
@@ -208,17 +208,6 @@ module Invidious::Routes::Embed
if CONFIG.invidious_companion.present?
invidious_companion = CONFIG.invidious_companion.sample
- invidious_companion_urls = CONFIG.invidious_companion.reject(&.builtin_proxy).map do |companion|
- uri =
- "#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
- end.join(" ")
-
- if !invidious_companion_urls.empty?
- env.response.headers["Content-Security-Policy"] =
- env.response.headers["Content-Security-Policy"]
- .gsub("media-src", "media-src #{invidious_companion_urls}")
- .gsub("connect-src", "connect-src #{invidious_companion_urls}")
- end
end
rendered "embed"
diff --git a/src/invidious/routes/watch.cr b/src/invidious/routes/watch.cr
index 4c1815038..b829b0f5d 100644
--- a/src/invidious/routes/watch.cr
+++ b/src/invidious/routes/watch.cr
@@ -193,17 +193,6 @@ module Invidious::Routes::Watch
if CONFIG.invidious_companion.present?
invidious_companion = CONFIG.invidious_companion.sample
- invidious_companion_urls = CONFIG.invidious_companion.reject(&.builtin_proxy).map do |companion|
- uri =
- "#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
- end.join(" ")
-
- if !invidious_companion_urls.empty?
- env.response.headers["Content-Security-Policy"] =
- env.response.headers["Content-Security-Policy"]
- .gsub("media-src", "media-src #{invidious_companion_urls}")
- .gsub("connect-src", "connect-src #{invidious_companion_urls}")
- end
end
templated "watch"
From 0ee92e329857e416a24815ba13a9f4d951b28946 Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Thu, 4 Dec 2025 11:59:06 -0300
Subject: [PATCH 165/329] Update src/invidious/routes/before_all.cr
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---
src/invidious/routes/before_all.cr | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/invidious/routes/before_all.cr b/src/invidious/routes/before_all.cr
index 347a60211..6d374fff0 100644
--- a/src/invidious/routes/before_all.cr
+++ b/src/invidious/routes/before_all.cr
@@ -4,8 +4,7 @@ module Invidious::Routes::BeforeAll
def initialize
self.companion_urls = CONFIG.invidious_companion.reject(&.builtin_proxy).map do |companion|
- uri =
- "#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
+ "#{companion.public_url.scheme}://#{companion.public_url.host}#{companion.public_url.port ? ":#{companion.public_url.port}" : ""}"
end.join(" ")
end
end
From cc7cb94095a27e2e544e21b11b85f027cd41de8f Mon Sep 17 00:00:00 2001
From: Fijxu
Date: Thu, 12 Jun 2025 18:57:35 -0400
Subject: [PATCH 166/329] Document use of unix sockets for `db`
---
config/config.example.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/config/config.example.yml b/config/config.example.yml
index 7cc480c64..f3f43bbae 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -8,6 +8,13 @@
## Database configuration with separate parameters.
## This setting is MANDATORY, unless 'database_url' is used.
##
+## Note: The 'db' setting allows the use of UNIX
+## sockets. To do so, set 'host' to ""
+## E.g:
+## password: kemal
+## host: ""
+## port: 5432
+##
db:
user: kemal
password: kemal
From ffd9f4b11226c18cd06443917a438f667a323d6f Mon Sep 17 00:00:00 2001
From: Samantaz Fox
Date: Thu, 26 Jun 2025 19:15:12 +0000
Subject: [PATCH 167/329] pages/watch: HTML escape 'action' in download widget
Caught in the review of PR 5224, but forgot to click on "send review" in time.
I realized that too late, after the PR was already merged.
---
src/invidious/frontend/watch_page.cr | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/invidious/frontend/watch_page.cr b/src/invidious/frontend/watch_page.cr
index 14e169e88..642ab4cc6 100644
--- a/src/invidious/frontend/watch_page.cr
+++ b/src/invidious/frontend/watch_page.cr
@@ -36,7 +36,7 @@ module Invidious::Frontend::WatchPage
return String.build(4000) do |str|
str << "\n"
diff --git a/src/invidious/helpers/errors.cr b/src/invidious/helpers/errors.cr
index e2c4b650a..97e28022c 100644
--- a/src/invidious/helpers/errors.cr
+++ b/src/invidious/helpers/errors.cr
@@ -63,19 +63,19 @@ def error_template_helper(env : HTTP::Server::Context, status_code : Int32, exce
error_message = <<-END_HTML