Repository navigation
feat(providers): YouTube bridge and provider for the browser extension (#136) - #395
Merged
Merged
Conversation
Member
Author
|
/mira resume |
Contributor
|
/mira pause |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
rowkav09
force-pushed
the
feat/youtube-bridge
branch
3 times, most recently
from
September 24, 2026 12:29
30d431a to
6b741e1
Compare
rowkav09
force-pushed
the
feat/youtube-bridge
branch
from
September 24, 2026 12:35
6b741e1 to
626fcf7
Compare
Member
Author
|
No Mira review came in after /mira resume (Mira is still paused). Rebased onto main, tests pass and every check is green. I reviewed it myself: extension origin plus token auth, strict schema, TTL, not wired into the server yet. Merging with an explicit squash message (no co-author trailer). |
3 tasks done
This was referenced Sep 24, 2026
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.
Part of #136, slice 1a. Adds
src/youtube-bridge.js, the app side of the YouTube browser extension. The scope was approved on #136: an MV3 extension, minimal permissions, a pairing token and a TTL. Nothing is wired into the HTTP server yet (that's 1b), so the app runs unchanged.receive({ method, headers, body })accepts only POSTs from a browser-extension origin (chrome-extension://…/moz-extension://…) carrying the pairing token (Bearer, constant-time compare). Web pages get 403 and wrong tokens 401.provider: YouTube Music maps totrack(Listening). Other videos areunknownrather than claiming TV or film metadata.Next: 1b wires
/bridge/youtubeinto the local server, with no session cookie and its own auth. Then the extension skeleton.Checks