Skip to content

feat(sources): add twitch and generic hls/dash streaming support - #5

Merged
Nxssie merged 1 commit into
mainfrom
feat/twitch-support
Jul 3, 2026
Merged

Nxssie merged 1 commit into
mainfrom
feat/twitch-support

Conversation

@Nxssie

@Nxssie Nxssie commented Jul 3, 2026

Copy link
Copy Markdown
Owner
  • extend Source type with "twitch" (twitch.tv, clips.twitch.tv) and "generic" (.m3u8/.mpd manifests)
  • add resolveTwitchTrack using yt-dlp --dump-json for VOD/clip metadata
  • generic URLs use SHA-256 hash as videoId since HLS/DASH have no native id
  • SSRF gate maintained: generic only accepts URLs with manifest file extensions
  • update frontend Source types, search selector (TW), input placeholder, and open-in links
  • add tests for twitch host detection and manifest URL patterns

- extend Source type with "twitch" (twitch.tv, clips.twitch.tv) and "generic" (.m3u8/.mpd manifests)
- add resolveTwitchTrack using yt-dlp --dump-json for VOD/clip metadata
- generic URLs use SHA-256 hash as videoId since HLS/DASH have no native id
- SSRF gate maintained: generic only accepts URLs with manifest file extensions
- update frontend Source types, search selector (TW), input placeholder, and open-in links
- add tests for twitch host detection and manifest URL patterns
@Nxssie
Nxssie merged commit 71b7134 into main Jul 3, 2026
2 checks passed
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