diff --git a/.gitignore b/.gitignore index 00b1b8a..3e86c14 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ -result/ +result* +config.json diff --git a/config.example.json b/config.example.json new file mode 100644 index 0000000..415846a --- /dev/null +++ b/config.example.json @@ -0,0 +1,12 @@ +{ + "tmdbKey": "YOUR_TMDB_API_KEY", + "enabledProviders": [], + "disabledProviders": ["torrentio"], + "timeoutMs": 20000, + "filters": { + "minQuality": "any", + "audioCodec": "any", + "subtitles": "any", + "subtitleLang": "" + } +} diff --git a/config.json b/config.json deleted file mode 100644 index 0ad6ebd..0000000 --- a/config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "tmdbKey": "ac014b130a8e6344c91dff4e68b18d47", - "enabledProviders": [ - "cineby", - "videasy", - "vidfast" - ], - "timeoutMs": 30000, - "filters": { - "minQuality": "any", - "audioCodec": "any", - "subtitles": "any", - "subtitleLang": "" - } -} diff --git a/docs/api.md b/docs/api.md new file mode 100644 index 0000000..4269aca --- /dev/null +++ b/docs/api.md @@ -0,0 +1,223 @@ +# bug tv v5 — API & module contract + +This is the single source of truth every workstream codes against. If you need to +deviate, keep the deviation backwards compatible and note it at the bottom of this file. + +## Runtime +- Node 22+, CommonJS in `src/` (providers are CommonJS). No TypeScript, no bundler. +- npm deps allowed: `cheerio-without-node-native`, `crypto-js` (providers), `undici` + (keep-alive agent), `webtorrent` (torrents). `ffmpeg`/`ffprobe` come from PATH + (`cfg.remux.ffmpeg` / `cfg.remux.ffprobe`). +- Static site in `web/` is vanilla ES modules (` + + + + + + + + + + + + + + +
+ Skip to content + +