{"id":48783773,"url":"https://github.com/tilap/stream-helper-extension","last_synced_at":"2026-04-13T15:35:06.149Z","repository":{"id":350024929,"uuid":"1204946790","full_name":"tilap/stream-helper-extension","owner":"tilap","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-08T14:27:56.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-08T16:24:00.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tilap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-08T13:40:49.000Z","updated_at":"2026-04-08T14:28:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tilap/stream-helper-extension","commit_stats":null,"previous_names":["tilap/stream-helper-extension"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tilap/stream-helper-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilap%2Fstream-helper-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilap%2Fstream-helper-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilap%2Fstream-helper-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilap%2Fstream-helper-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tilap","download_url":"https://codeload.github.com/tilap/stream-helper-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilap%2Fstream-helper-extension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-13T15:35:02.108Z","updated_at":"2026-04-13T15:35:06.138Z","avatar_url":"https://github.com/tilap.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stream Helper Extension (Chrome, MV3)\n\nChrome extension for the Senpai streaming website.\n\n## Features\n\n- Automatically skips / bypasses the ad-flow on supported pages.\n- Adds a button near the embedded player to copy a `yt-dlp` command to your clipboard.\n\n## Installation (macOS)\n\n- Open `chrome://extensions`\n- Enable **Developer mode**\n- Click **Load unpacked**\n- Select this folder\n\n## Requirements\n\n- Node.js **18+** (the updater uses the built-in `fetch` API)\n\n## Supported pages\n\nThe content script is injected only on:\n\n- `https://\u003chost\u003e/movie/*`\n- `https://\u003chost\u003e/episode/*`\n- `https://\u003chost\u003e/episode/*/*`\n\nWhere `\u003chost\u003e` is derived from `SENPAI_ORIGIN`.\n\n## Maintenance: when the website changes domain\n\n### Automatic update (recommended)\n\nFetches the currently advertised official domain from `https://senpai-stream.wiki/`, then updates both `domain-config.js` and `manifest.json`:\n\n```bash\nnode update.mjs\n```\n\n### Manual update\n\nIf you already know the new domain:\n\n```bash\nnode update.mjs https://new-domain.com\n```\n\n### Test the live fetch\n\nThis performs a real fetch to `https://senpai-stream.wiki/` and prints the resolved origin + host (or exits with an error):\n\n```bash\nnode test-fetch-domain.mjs\n```\n\n\n### Why update `manifest.json`?\n\nChrome requires static match patterns in the manifest for content scripts. If the domain changes but `manifest.json` isn’t updated, the content script won’t be injected on the new host.\n\n### After running the updater\n\nAfter updating the domain, go to `chrome://extensions` and click **Reload** on the extension.\n\n## How it works (MV3)\n\n- The extension uses a **content script** (`content.js`) declared in `manifest.json`.\n- It observes DOM changes to detect the \"Continue\" ad step and the player iframe, then performs the same clicks a user would.\n- The download button copies a `yt-dlp` command to the clipboard (best-effort URL extraction; cross-origin iframes may limit what can be read directly).\n\n## Debugging\n\n`content.js` has a `DEBUG` flag. When enabled, it shows a small overlay and prints extra logs to the console.\n\n## Permissions\n\nThis extension currently declares **no special permissions** and relies on static `content_scripts` matches.\n\n## Security \u0026 privacy\n\n- **No tracking**: the extension does not include analytics.\n- **No network exfiltration**: it does not send page data to external servers.\n- **Local-only behavior**: it modifies the current page DOM and may copy a generated command to your clipboard when you click the button.\n- **Least privilege**: the extension is scoped to specific URL match patterns, not `\u003call_urls\u003e`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilap%2Fstream-helper-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftilap%2Fstream-helper-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilap%2Fstream-helper-extension/lists"}