youtube search, youtube cookies, youtube channel sync, youtube playlist sync#16
Merged
Conversation
willuhmjs
added a commit
that referenced
this pull request
Jul 26, 2026
The README's feature list predated PR #16 entirely and had no mention of the YouTube account linking, subscription/playlist sync, or search features already covered on the docs site.
Follow-up to the security review on PR willuhmjs#16: - Restrict the CSRF/CORS trust granted to browser-extension origins to the handful of routes the wytui extension actually calls, instead of exempting any chrome-extension://*/moz-extension://* origin app-wide. Extension IDs can't be reliably pinned (Firefox randomises the moz-extension UUID per profile), so scoping by path bounds what another installed extension could abuse via the session-cookie fallback. - Cap search offset at 1000 so callers can't force yt-dlp to page arbitrarily deep into YouTube results on every request. - Give playlist/subscription/history/watch-later routes their own stricter rate-limit bucket (30/min) instead of sharing the 500/min general bucket, since each spawns one or more yt-dlp processes and some bypass cache. - Run playlist sync in bounded batches with a shorter per-call timeout so a 50-playlist sync can't approach ~100 minutes of wall-clock time.
The landing page's feature grid predated this PR's YouTube search, account linking, subscription/playlist sync, and the recently-added YAML config export/import — none of them were listed. Add six cards, slotted next to their closest existing relatives (Browser Extension, Full-Text Search, Speed Throttling, Backup & Restore) rather than as a separate section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pls audit code