This commit is contained in:
MūmüìśDõg
2025-07-26 08:20:33 +08:00
36 changed files with 445 additions and 1 deletions
+347
View File
@@ -0,0 +1,347 @@
name: Generate TrollFools/Cyan files
on:
workflow_dispatch:
inputs:
create_cyan:
description: "Generate .cyan file"
type: boolean
required: true
default: true
create_tf:
description: "Generate .zip for TrollFools"
type: boolean
required: true
default: true
enable_youpip:
description: "Integrate YouPiP"
type: boolean
required: true
default: false
enable_ytuhd:
description: "Integrate YTUHD"
type: boolean
required: true
default: false
enable_yq:
description: "Integrate YouQuality"
type: boolean
required: true
default: false
enable_ryd:
description: "Integrate Return YouTube Dislikes"
type: boolean
required: true
default: false
enable_demc:
description: "Integrate DontEatMyContent"
type: boolean
required: true
default: false
tweak_version:
description: "The version of the tweak to use. Enter the version manually from dayanch96/YTLite/releases or leave default"
default: "5.2b2"
required: true
type: string
display_name:
description: "App Name (Optional)"
default: "YouTube"
required: true
type: string
bundle_id:
description: "BundleID (Optional)"
default: "com.google.ios.youtube"
required: true
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name:
runs-on: macos-latest
permissions:
contents: write
steps:
- name: Checkout Main
uses: actions/checkout@v4.1.1
with:
path: main
submodules: recursive
- name: Check Inputs
if: ${{ !inputs.create_cyan && !inputs.create_tf }}
run: |
echo "No output format selected."
exit 0
- name: Install Dependencies
run: brew install make ldid dpkg
- name: Set PATH environment variable
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
- name: Cache Theos
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
id: theos
uses: actions/cache@v4
env:
cache-name: theos_cache_67db2ab
with:
path: theos/
key: ${{ env.cache-name }}
restore-keys: ${{ env.cache-name }}
- name: Setup Theos
if: ${{ (inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc) && steps.theos.outputs.cache-hit != 'true' }}
uses: actions/checkout@v4.1.7
with:
repository: theos/theos
ref: 67db2ab8d950910161730de77c322658ea3e6b44
path: ${{ github.workspace }}/theos
submodules: recursive
- name: Download iOS SDK
if: ${{ (inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc) && steps.theos.outputs.cache-hit != 'true' }}
run: |
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/theos/sdks/
cd sdks
git sparse-checkout set --no-cone iPhoneOS16.5.sdk
git checkout
mv *.sdk $THEOS/sdks
env:
THEOS: ${{ github.workspace }}/theos
- name: Install cyan
if: ${{ inputs.create_cyan }}
run: pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip
- name: Download YouTube Plus
id: download_ytp
run: |
deb_url="https://github.com/dayanch96/YTLite/releases/download/v${{ inputs.tweak_version }}/com.dvntm.ytlite_${{ inputs.tweak_version }}_iphoneos-arm.deb"
wget "$deb_url" --no-verbose -O ${{ github.workspace }}/ytplus.deb
- name: Clone Open in YouTube (Safari extension)
if: ${{ inputs.create_cyan }}
run: |
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/CokePokes/YoutubeExtensions/
cd YoutubeExtensions
git sparse-checkout set --no-cone OpenYoutubeSafariExtension.appex
git checkout
mv *.appex ${{ github.workspace }}
- name: Clone YouTubeHeader
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
run: |
if [ -d "$THEOS/include/YouTubeHeader" ]; then
echo "YouTubeHeader exists. Pulling latest changes..."
cd $THEOS/include/YouTubeHeader
git pull
else
echo "YouTubeHeader does not exist. Cloning repository..."
cd $THEOS/include
git clone --quiet --depth=1 https://github.com/PoomSmart/YouTubeHeader.git
fi
if [ "${{ inputs.enable_demc }}" = "true" ]; then
echo "Copying YouTubeHeader to YTHeaders..."
rm -rf "$THEOS/include/YTHeaders"
cp -r "$THEOS/include/YouTubeHeader" "$THEOS/include/YTHeaders"
fi
env:
THEOS: ${{ github.workspace }}/theos
- name: Clone PSHeader
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
run: |
if [ -d "$THEOS/include/PSHeader" ]; then
echo "PSHeader exists. Pulling latest changes..."
cd $THEOS/include/PSHeader
git pull
else
echo "PSHeader does not exist. Cloning repository..."
cd $THEOS/include
git clone --quiet --depth=1 https://github.com/PoomSmart/PSHeader.git
fi
env:
THEOS: ${{ github.workspace }}/theos
- name: Clone YouPiP
if: ${{ inputs.enable_youpip }}
run: |
cd ${{ github.workspace }}
git clone --quiet --depth=1 https://github.com/PoomSmart/YouPiP.git
- name: Clone YTUHD
if: ${{ inputs.enable_ytuhd }}
run: |
cd ${{ github.workspace }}
git clone --quiet --depth=1 https://github.com/PoomSmart/YTUHD.git
- name: Clone Return-YouTube-Dislikes
if: ${{ inputs.enable_ryd }}
run: |
cd ${{ github.workspace }}
git clone --quiet --depth=1 https://github.com/PoomSmart/Return-YouTube-Dislikes.git
- name: Clone YouGroupSettings
if: ${{ inputs.enable_demc }}
run: |
cd ${{ github.workspace }}
git clone --quiet --depth=1 https://github.com/PoomSmart/YouGroupSettings.git
- name: Clone YouQuality
if: ${{ inputs.enable_yq }}
run: |
cd ${{ github.workspace }}
git clone --quiet --depth=1 https://github.com/PoomSmart/YouQuality.git
- name: Clone YTVideoOverlay
if: ${{ inputs.enable_yq || inputs.enable_youpip }}
run: |
cd ${{ github.workspace }}
git clone --quiet --depth=1 https://github.com/PoomSmart/YTVideoOverlay.git
- name: Clone DontEatMyContent
if: ${{ inputs.enable_demc }}
run: |
cd ${{ github.workspace }}
git clone --quiet --depth=1 --recurse-submodules https://github.com/therealFoxster/DontEatMyContent.git
- name: Build YouPiP
if: ${{ inputs.enable_youpip }}
run: |
cd ${{ github.workspace }}/YouPiP
make clean package DEBUG=0 FINALPACKAGE=1
mv packages/*.deb ${{ github.workspace }}/youpip.deb
env:
THEOS: ${{ github.workspace }}/theos
- name: Build YTUHD
if: ${{ inputs.enable_ytuhd }}
run: |
cd ${{ github.workspace }}/YTUHD
make clean package DEBUG=0 FINALPACKAGE=1
mv packages/*.deb ${{ github.workspace }}/ytuhd.deb
env:
THEOS: ${{ github.workspace }}/theos
- name: Build Return-YouTube-Dislikes
if: ${{ inputs.enable_ryd }}
run: |
cd ${{ github.workspace }}/Return-YouTube-Dislikes
make clean package DEBUG=0 FINALPACKAGE=1
mv packages/*.deb ${{ github.workspace }}/ryd.deb
env:
THEOS: ${{ github.workspace }}/theos
- name: Build YouGroupSettings
if: ${{ inputs.enable_demc }}
run: |
cd ${{ github.workspace }}/YouGroupSettings
make clean package DEBUG=0 FINALPACKAGE=1
mv packages/*.deb ${{ github.workspace }}/ygs.deb
env:
THEOS: ${{ github.workspace }}/theos
- name: Build YouQuality
if: ${{ inputs.enable_yq }}
run: |
cd ${{ github.workspace }}/YouQuality
make clean package DEBUG=0 FINALPACKAGE=1
mv packages/*.deb ${{ github.workspace }}/yq.deb
env:
THEOS: ${{ github.workspace }}/theos
- name: Build YTVideoOverlay
if: ${{ inputs.enable_yq || inputs.enable_youpip }}
run: |
cd ${{ github.workspace }}/YTVideoOverlay
make clean package DEBUG=0 FINALPACKAGE=1
mv packages/*.deb ${{ github.workspace }}/ytvo.deb
env:
THEOS: ${{ github.workspace }}/theos
- name: Build DontEatMyContent
if: ${{ inputs.enable_demc }}
run: |
cd ${{ github.workspace }}/DontEatMyContent
make clean package DEBUG=0 FINALPACKAGE=1
mv packages/*.deb ${{ github.workspace }}/demc.deb
env:
THEOS: ${{ github.workspace }}/theos
- name: Generate .cyan file
if: ${{ inputs.create_cyan }}
run: |
tweaks="ytplus.deb OpenYoutubeSafariExtension.appex"
for deb in youpip.deb ytuhd.deb ryd.deb ygs.deb yq.deb ytvo.deb demc.deb; do
if [ -f "$deb" ]; then
tweaks="$tweaks $deb"
fi
done
cgen -uwef $tweaks -n "${{ inputs.display_name }}" -b ${{ inputs.bundle_id }} -o cyan_YouTubePlus_${{ inputs.tweak_version }}.cyan
- name: Generate .zip file for TrollFools
if: ${{ inputs.create_tf }}
run: |
mkdir -p ytp_tf
for deb in ytplus.deb youpip.deb ytuhd.deb ryd.deb ygs.deb yq.deb ytvo.deb demc.deb; do
if [ -f "$deb" ]; then
echo "Extracting $deb..."
mkdir -p tmp_deb
dpkg-deb -x "$deb" tmp_deb
find tmp_deb -type f -name "*.dylib" -exec cp -R {} ytp_tf/ \;
find tmp_deb -type d -name "*.bundle" -exec cp -R {} ytp_tf/ \;
rm -rf tmp_deb
fi
done
echo "Zipping..."
cd ytp_tf
zip -r "../TrollFools_YouTubePlus_${{ inputs.tweak_version }}.zip" .
cd ..
rm -rf ytp_tf
- name: Set output file list
id: filelist
run: |
files=""
if [ "${{ inputs.create_cyan }}" = "true" ]; then
files="${files}cyan_YouTubePlus_${{ inputs.tweak_version }}.cyan"$'\n'
fi
if [ "${{ inputs.create_tf }}" = "true" ]; then
files="${files}TrollFools_YouTubePlus_${{ inputs.tweak_version }}.zip"$'\n'
fi
echo -e "files<<EOF" >> $GITHUB_OUTPUT
echo -e "$files" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Upload to GitHub Releases
uses: softprops/action-gh-release@v2.0.1
with:
tag_name: ytp-${{ github.run_number }}
name: YouTubePlus v${{ inputs.tweak_version }}_cyan_trollfools (${{ github.run_number }})
files: ${{ steps.filelist.outputs.files }}
draft: true
- name: Output Release URL
run: |
echo "::notice::Release available at: https://github.com/${{ github.repository }}/releases"
+43
View File
@@ -0,0 +1,43 @@
# FAQ (Frequently Asked Questions)
[✓] 🇺🇸 English FAQ | [🇷🇺 ЧаВо на Русском](FAQ_RU.md)
<details>
<summary>What iOS versions does YouTube Plus support?</summary>
<p>YouTube Plus supports iOS 14 and above. <strong>However</strong>, if you're sideloading it on a non-jailbroken device, you must also consider the YouTube app's compatibility with your iOS version. Below is a list of the latest supported YouTube versions per iOS:</p>
<li><strong>iOS 14</strong>: YouTube v19.20.2</li>
<li><strong>iOS 15</strong>: YouTube v20.21.6</li>
<li><strong>iOS 16+</strong>: Any version, as supported by YouTube</li>
</details>
<br>
<details>
<summary>My iOS version is no longer supported by the latest YouTube app. What can I do?</summary>
<p>Here are some possible options:</p>
<li><a href="https://ios.cfw.guide/get-started/">Jailbreak your device</a>, install the latest supported YouTube version from the App Store, and <a href="http://dvntm0.github.io/#jb">install YouTube Plus as a tweak</a></li>
<li><a href="https://ios.cfw.guide/installing-trollstore/">Install TrollStore</a>, then <a href="https://github.com/Lessica/TrollFools/releases/">TrollFools</a>, install the latest supported YouTube version from the App Store, and inject <a href="https://github.com/dayanch96/YTLite/releases/">YouTube Plus</a> using TrollFools</li>
<li>Find a compatible IPA version online and <a href="../README.md#how-to-build-a-youtube-plus-app-using-github-actions">build a YouTube Plus app using Github actions</a></li>
</details>
<br>
<details>
<summary>Cast stopped working on sideloaded YouTube Plus. What should I do?</summary>
<p>Until this issue is resolved, it is recommended to use YouTube version 20.14.1 or below.</p>
</details>
<br>
<details>
<summary>When I try to play a video, I get <strong><em>Something went wrong. Refresh and try again later.</em></strong></summary>
<p>Before jumping to conclusions, lets clarify a few things:</p>
<ol>
<li><strong>This is NOT</strong> caused by ad blocking</li>
<li><strong>This is NOT</strong> because your account was magically flagged</li>
<li><strong>This is NOT</strong> due to your account being secretly blacklisted</li>
</ol>
<br>
<p>The issue seems to lie somewhere in the sideloading process itself, even without any tweaks applied. It might be related to an invalid or missing VisitorID or VisitorData, as suggested <a href="https://github.com/pepeloni-away/userscripts/issues/6#issuecomment-2860641610">here</a>. This error has become more frequent due to YouTubes stricter anti-download measures.</p>
<br>
<p><strong>Possible temporary workaround:</strong></p>
<ol>
<li>Sign out of your current account (or all accounts) completely: Go to the <em>You tab → Switch account → Manage accounts on this device → Remove from this device</em></li>
<li>Watch a few full-length videos without being signed in. Stay signed out for a few hours.</li>
<li>Sign back into the account that was having issues</li>
</ol>
</details>
+42
View File
@@ -0,0 +1,42 @@
# ЧаВо (Часто задаваемые вопросы)
[🇺🇸 English FAQ](FAQ_EN.md) | [✓] 🇷🇺 ЧаВо на Русском
<details>
<summary>Какие версии iOS поддерживает YouTube Plus?</summary>
<p>YouTube Plus поддерживает iOS 14 и выше. <strong>Однако</strong>, если вы устанавливаете его сертификатом разработчика, нужно учитывать совместимость самой YouTube с вашей iOS. Вот список последних поддерживаемых версий YouTube для каждой iOS:</p>
<li><strong>iOS 14</strong>: YouTube v19.20.2</li>
<li><strong>iOS 15</strong>: YouTube v20.21.6</li>
<li><strong>iOS 16+</strong>: Любая версия, поддерживаемая YouTube</li>
</details>
<br>
<details>
<summary>Моя версия iOS более не поддерживается последним YouTube-ом. Что делать?</summary>
<p>Вот возможные варианты:</p>
<li><a href="https://ios.cfw.guide/get-started/">Установить джейлбрейк</a>, установить поддерживаемую версию YouTube из App Store, затем <a href="http://dvntm0.github.io/#jb">установить YouTube Plus как твик</a></li>
<li><a href="https://ios.cfw.guide/installing-trollstore/">Установить TrollStore</a>, установить <a href="https://github.com/Lessica/TrollFools/releases/">TrollFools</a> через TrollStore, установить подходящую версию YouTube из App Store, затем «инжектнуть» <a href="https://github.com/dayanch96/YTLite/releases/">YouTube Plus</a> через TrollFools</li>
<li>Найти и скачать совместимую IPA-версию в интернете, затем <a href="../README.md#how-to-build-a-youtube-plus-app-using-github-actions">собрать YouTube Plus через GitHub Actions</a></li>
</details>
<br>
<details>
<summary>Перестала работать функция трансляции на ТВ на сертификате разработчика. Что делать?</summary>
<p>Пока проблема не будет решена, рекомендуется использовать версию YouTube 20.14.1 или ниже.</p>
</details>
<br>
<details>
<summary>При попытке воспроизведения видео появляется <strong><em>Произошла ошибка. Обновите страницу и попробуйте снова.</em></strong></summary>
<p>Прежде чем делать выводы, уточним несколько моментов:</p>
<ol>
<li><strong>Это НЕ</strong> из-за блокировщика рекламы</li>
<li><strong>Это НЕ</strong> потому что ваш аккаунт каким-то образом был помечен</li>
<li><strong>Это НЕ</strong> из-за того, что ваш аккаунт добавлен в загадочный чёрный список</li>
</ol>
<br>
<p>Проблема, скорее, кроется в самом процессе сайдлоадинга, даже «чистом» YouTube без твиков. <a href="https://github.com/pepeloni-away/userscripts/issues/6#issuecomment-2860641610">Тут</a> пишут, что причина в некорректных или отсутствующих VisitorID/VisitorData. Такая ошибка стала встречаться чаще из-за новых механизмов YouTube по борьбе с загрузчиками.</p>
<p><strong>Возможные временные решения:</strong></p>
<ol>
<li>Полностью выйдите из аккаунта (или всех аккаунтов): <em>Перейдите во вкладку «Вы» → Сменить аккаунт → Управление аккаунтами на этом устройстве → Удалить</em></li>
<li>Просмотрите несколько длинных видео без входа в аккаунт. Оставайтесь в разлогиненном состоянии несколько часов.</li>
<li>Заново войдите в аккаунт, на котором возникала проблема</li>
</ol>
</details>
+13 -1
View File
@@ -1,6 +1,16 @@
# YouTube Plus (ex. YTLite)
A flexible enhancer for YouTube on iOS, featuring over hundred customizable options.
## Table of Contents
- [Screenshots](#screenshots)
- [Main Features](#main-features)
- [FAQ](#faq)
- [Reviews](#reviews)
- [How to build a YouTube Plus app using GitHub Actions](#how-to-build-a-youtube-plus-app-using-github-actions)
- [Supported YouTube Version](#supported-youtube-version)
- [Tweak Integration Details](#tweak-integration-details)
- [FAQ (Frequently Asked Questions)](#faq-frequently-asked-questions)
## Screenshots
<table>
<tr>
@@ -40,9 +50,11 @@ A flexible enhancer for YouTube on iOS, featuring over hundred customizable opti
**YouTube Plus preferences can be found in the YouTube Settings**
**All contributors are listed in the Contributors section**
**Used open-source libraries are listed in the Open Source Libraries section**
## FAQ
- [🇺🇸 English FAQ](FAQs/FAQ_EN.md)
- [🇷🇺 ЧаВо на Русском](FAQs/FAQ_RU.md)
## Reviews
Review by [@qbap](https://github.com/qbap) on ONE Jailbreak: https://onejailbreak.com/blog/youtube-plus/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.