YouTube 2.0.0: native client without ads
All checks were successful
release / release (push) Successful in 10m13s

Replaces the web app (youtube.com/tv in Chromium) with a native Rust +
Slint client on sf-ui, built on Netflex TV's page engine.

- InnerTube: web client for public pages, the TV client with the
  account's OAuth token for personal ones, visionOS (direct URLs) for
  streams, the TV client with yt-dlp's ejs solver (QuickJS) as fallback.
- One version, no ads: ad breaks are never requested, ad renderers are
  skipped in feeds. SponsorBlock skips sponsored parts.
- Sign-in with a QR code / youtube.com/activate (OAuth device flow).
- Signed out: subscriptions and history on the TV; a home filled with
  this week's popular Hungarian videos when YouTube's is empty.
- Playback: one-quality DASH manifest for GStreamer, H.264 up to 1080p
  or AV1 up to 4K, captions, quality switching, up next, resume.
- Release builds for x86-64 and the Raspberry Pi (aarch64).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tamas Csikel
2026-11-02 16:27:41 +01:00
parent 645fd1c6fe
commit 9875d435e1
40 changed files with 15776 additions and 37 deletions

42
Cargo.toml Normal file
View File

@@ -0,0 +1,42 @@
[package]
name = "youtube-tv"
description = "YouTube for Fennec OS: native TV client with Liquid Glass, no ads, QR sign-in"
version = "2.0.0"
edition = "2024"
# sf-ui (and Slint) are GPL-3.0 on a TV box.
license = "GPL-3.0-only"
publish = false
[dependencies]
# The Fennec OS UI kit (Fennec SDK): Liquid Glass, TV components, images.
sf-ui = { git = "https://gitea.bluefox.support/fennec/sdk", tag = "v0.1.2" }
slint = "1.18"
anyhow = "1"
log = "0.4"
env_logger = "0.11"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.9"
ureq = { version = "3", features = ["json"] }
# Runs yt-dlp's challenge solver (ejs/) on YouTube's player script.
rquickjs = "0.14"
qrcode = { version = "0.14", default-features = false }
sha2 = "0.10"
# Video playback (GStreamer) only on Linux, the TV.
[target.'cfg(target_os = "linux")'.dependencies]
sf-ui = { git = "https://gitea.bluefox.support/fennec/sdk", tag = "v0.1.2", features = ["video"] }
[build-dependencies]
slint-build = "1.18"
[profile.release]
lto = "thin"
strip = true
# Keep debug builds snappy for UI iteration.
[profile.dev.package."*"]
opt-level = 2
# Its own workspace (not part of any checkout around it).
[workspace]