{"id":28257220,"url":"https://github.com/code-crash/auto-next-reel","last_synced_at":"2025-10-08T23:39:11.897Z","repository":{"id":288650066,"uuid":"968800596","full_name":"Code-Crash/auto-next-reel","owner":"Code-Crash","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-18T21:06:43.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T14:46:30.184Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Code-Crash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-04-18T18:56:31.000Z","updated_at":"2025-04-18T21:06:47.000Z","dependencies_parsed_at":"2025-04-19T07:10:45.943Z","dependency_job_id":"fdb39235-c1bd-4035-9c07-a425fa65968e","html_url":"https://github.com/Code-Crash/auto-next-reel","commit_stats":null,"previous_names":["code-crash/auto-next-reel"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Code-Crash/auto-next-reel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fauto-next-reel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fauto-next-reel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fauto-next-reel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fauto-next-reel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Crash","download_url":"https://codeload.github.com/Code-Crash/auto-next-reel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fauto-next-reel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000732,"owners_count":26082862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-05-20T00:12:53.028Z","updated_at":"2025-10-08T23:39:11.892Z","avatar_url":"https://github.com/Code-Crash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Auto Next Reel Extension\n\nA Chrome Extension that automatically skips to the **next reel** when the current video finishes or is detected to be looping. It intelligently monitors video playback using `video.currentTime` and `video.duration`, ensuring accuracy even for short or repeated reels.\n\n## 🚀 Features\n\n- ⏭️ Automatically skips to the next reel when the current video is near completion.\n- 🔄 Detects repeated or looping short videos to avoid getting stuck.\n- 🕒 Uses actual `video.currentTime` and `duration` instead of unreliable slider percentages.\n- ⚙️ Configurable polling interval and enable/disable toggle.\n- 🌐 Works across multiple platforms using `\u003cvideo\u003e` elements and `\"Next video\"` buttons.\n- 🧠 Lightweight and runs in the background even on tab switches.\n\n## 🧩 How It Works\n\n- Monitors `\u003cvideo\u003e` elements on the page.\n- Calculates playback progress with `currentTime / duration`.\n- When video reaches 99% (or repeats), it clicks `\"Next video\"` (`aria-label=\"Next video\"`) button.\n- Prevents re-clicks by tracking video `src` and repeat count.\n- Respects user settings configured via the extension popup.\n\n## 📁 File Structure\n\n```\nnext-reel-extension/\n├── .gitignore\n├── background.js       # Handles icon toggles and persistent alarms\n├── content.js          # Main logic for detecting video progress and clicking next\n├── icon48.png\n├── icon48-gray.png\n├── icon128.png\n├── icon128-gray.png\n├── jquery.min.js\n├── manifest.json\n├── popup.css           # Styles for popup UI\n├── popup.html          # Extension popup UI with controls\n├── popup.js            # Syncs user settings with chrome.storage\n└── README.md\n```\n\n## 🔧 Configuration\n\nThe extension offers a simple popup UI to control:\n\n- `✔️ Auto Next`: Toggle to enable or disable automatic skipping.\n- `⏱️ Retry Delay`: Interval (in milliseconds) between progress checks.\n- `🔁 Repeat Count`: Number of times a reel is allowed to repeat before skipping.\n\nSettings are saved via `chrome.storage.sync` and applied immediately.\n\n## 🛠 Setup Instructions\n\n1. Clone or download this repository.\n2. Open Chrome and navigate to `chrome://extensions/`\n3. Enable **Developer mode**.\n4. Click **Load unpacked**.\n5. Select the folder containing this extension.\n\nYou’ll see the 🎬 Next Reel icon in your toolbar. Open it to configure!\n\n## 🔍 Supported Platforms\n\nWorks best on platforms that:\n- Use a `\u003cvideo\u003e` tag for playback\n- Provide a `\"Next video\"` button with `aria-label=\"Next video\"`\n\nTested on:\n- YouTube (shorts \u0026 playlists)\n- Instagram Web (reels): TODO\n- Facebook Watch: TODO\n- Learning platforms with modular videos: TODO\n\n## 🧠 Technical Highlights\n\n- Manifest v3 support using `service_worker`\n- Background icon switching (green/gray) based on enable state\n- Graceful handling of multiple videos and edge cases\n- No third-party tracking — pure client-side logic\n\n## 📃 License\n\nMIT License\n\n---\n\nCreated with ❤️ to skip the wait, keep the reels rolling, and let lazy innovation shine 🚀.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-crash%2Fauto-next-reel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-crash%2Fauto-next-reel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-crash%2Fauto-next-reel/lists"}