Skip to content

Deep link protocol handler (Phase 1) - #3

Merged
XyrusCode merged 5 commits into
mainfrom
xyruscode-deep-link-protocol-handler
Aug 2, 2026
Merged

Deep link protocol handler (Phase 1)#3
XyrusCode merged 5 commits into
mainfrom
xyruscode-deep-link-protocol-handler

Conversation

@XyrusCode

Copy link
Copy Markdown
Owner

Implements yt-plucker:// protocol handler for the desktop app:

  • Adds tauri-plugin-deep-link v2 and url crate
  • Registers yt-plucker:// scheme
  • Parses analyze/pluck deep-link URLs and emits events to frontend
  • Frontend auto-populates URL input and triggers actions
  • Deep-link capabilities permission added

Works with the browser extension's chrome.tabs.create(yt-plucker://) calls.

- Add tauri-plugin-deep-link v2 and url crate to Cargo.toml
- Register yt-plucker:// scheme in tauri.conf.json plugins.deep-link
- Parse deep-link URLs (analyze/pluck actions) in single_instance callback
- Emit deep-link-received event with {action, url, quality?} payload
- Frontend listener auto-populates URL input and triggers analyze/pluck
- Add deep-link:default permission to capabilities
- Show/restore window from tray on incoming deep link
The single_instance callback provides argv as Vec<String>, but the
function expects &[String]. Borrow the Vec to fix the type mismatch.
Deep-link protocol handler (Phase 1) adds yt-plucker:// scheme support,
enabling the browser extension to trigger analyze/download actions.
@XyrusCode
XyrusCode merged commit c8b2bae into main Aug 2, 2026
1 check passed
XyrusCode added a commit that referenced this pull request Aug 4, 2026
…dler

Deep link protocol handler (Phase 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant