cool-dev-guy/vidsrc.ts ? reverse-engineered prompt

Reverse engineered prompt

Build me a small TypeScript library that can take a TMDB id and return working stream links from vidsrc sites like vidsrc.me, .net, .xyz, .in, and .io.

I want it to be simple to use, with one function I can import in a Node or Deno project. It should support both movies and TV shows, so for TV I can pass season and episode too. The output should be a clean list of results with things like name, image, media id, and the stream URL, ideally as an m3u8 playlist link.

Make it easy to run in Node and Deno, and keep it usable in other server side setups too. If you need to check current docs or behavior online while building it, go ahead. I mainly want a proof of concept that works well and is easy to drop into a backend project.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab