looptube-extension

LoopTube – YouTube Loop & Section Repeat

A clean, lightweight Chrome extension (Manifest V3) for looping full YouTube videos or custom A–B sections with exact repeat counts, playback speed presets, visual timeline markers, and local per-video memory.

Features

Keyboard Shortcuts

Windows / Linux macOS Action
Alt + L ⌥ L Toggle loop ON / OFF
Alt + Shift + L ⌥ ⇧ L Open / close in-player loop panel
Alt + [ ⌥ [ Set A (loop start) to current time
Alt + ] ⌥ ] Set B (loop end) to current time
Alt + ← / Alt + → ⌥ ← / ⌥ → Decrease / increase repeat count
Esc Esc Close in-player loop panel

Development

npm ci
npm test          # Vitest unit & component tests
npm run typecheck # TypeScript check
npm run build     # Build extension into dist/
npm run test:e2e  # Playwright extension E2E suite
npm run assets    # Generate Chrome Web Store screenshots & promo tiles from dist/
npm run site      # Build landing site into site-dist/
npm run zip       # Validate dist/ and package release/looptube-v<version>.zip

Load dist/ as an unpacked extension at chrome://extensions with Developer mode enabled.