Search YouTube with thumbnails, duration, and paging. Play or download from results; Search buttons in Player and Downloader.
plugin.js below is only the sandboxed Settings / Apps companion (~help text + open button).
Search UI + results modal run in the host; this pack only registers the Settings / Apps entry.
Desktop host modules (shipped inside ggbro, not this zip):
frontend/src/renderer/components/plugins/YoutubeSearchHostApp.tsxfrontend/src/renderer/components/common/YoutubeSearchModal.tsxfrontend/src/renderer/store/youtubeSearchStore.tsSandbox packs cannot run Electron, yt-dlp, or pdf.js — that is why the real UI stays in the host. Install the pack → Apps grid to use the full feature.
{
"id": "com.ggbro.plugin.youtube-search",
"name": "Youtube Search",
"version": "1.0.1",
"author": "ggbro",
"description": "Search YouTube with thumbnails, duration, and paging. Play or download from results; Search buttons in Player and Downloader.",
"main": "plugin.js",
"permissions": ["ui.panel", "ui.toast", "ui.sound", "storage"]
}
/**
* Youtube Search — companion stub.
* Search UI lives in the desktop/web host (shared modal + yt-dlp / API).
*/
(async function () {
try {
ggbro.log('youtube-search companion ready');
} catch (e) {
ggbro.log('youtube-search init', e && e.message);
}
})();
# Youtube Search (official)
**This pack is NOT the full search UI.** `plugin.js` only registers the Settings / Apps entry.
Search results, paging, Play, and Download live in the **desktop host**.
Host modules:
- `YoutubeSearchHostApp.tsx`
- `YoutubeSearchModal.tsx`
- `youtubeSearchStore.ts`
## Open
- **Apps → Youtube Search**
- Other plugins can dispatch `ggbro:youtube-search-open`
Desktop preferred (yt-dlp search); web may use Piped / YouTube Data API when configured.