├── vue
├── dist
│ ├── favicon.ico
│ ├── apple.webp
│ ├── claro.webp
│ ├── globo.webp
│ ├── hayu.webp
│ ├── hbo.webp
│ ├── hulu.webp
│ ├── mubi.webp
│ ├── prime.webp
│ ├── skygo.webp
│ ├── starz.webp
│ ├── viki.webp
│ ├── zee5.webp
│ ├── disney.webp
│ ├── netflix.webp
│ ├── nlziet.webp
│ ├── peacock.webp
│ ├── sonyliv.webp
│ ├── stremio.png
│ ├── youtube.webp
│ ├── canal-plus.webp
│ ├── jiohotstar.webp
│ ├── magellan.webp
│ ├── paramount.webp
│ ├── videoland.webp
│ ├── crunchyroll.webp
│ ├── netflixkids.webp
│ ├── skyshowtime.webp
│ ├── curiositystream.webp
│ ├── discovery-plus.webp
│ ├── streaming-catalogs.png
│ ├── index.html
│ └── assets
│ │ └── index.bc2b5f37.css
├── public
│ ├── favicon.ico
│ ├── hbo.webp
│ ├── apple.webp
│ ├── claro.webp
│ ├── globo.webp
│ ├── hayu.webp
│ ├── hulu.webp
│ ├── mubi.webp
│ ├── prime.webp
│ ├── skygo.webp
│ ├── starz.webp
│ ├── viki.webp
│ ├── zee5.webp
│ ├── disney.webp
│ ├── magellan.webp
│ ├── movistar.webp
│ ├── netflix.webp
│ ├── nlziet.webp
│ ├── peacock.webp
│ ├── sonyliv.webp
│ ├── stremio.png
│ ├── youtube.webp
│ ├── canal-plus.webp
│ ├── jiohotstar.webp
│ ├── paramount.webp
│ ├── videoland.webp
│ ├── crunchyroll.webp
│ ├── netflixkids.webp
│ ├── skyshowtime.webp
│ ├── curiositystream.webp
│ ├── discovery-plus.webp
│ └── streaming-catalogs.png
├── .env.development
├── .vscode
│ └── extensions.json
├── .env
├── postcss.config.cjs
├── vite.config.js
├── tailwind.config.cjs
├── src
│ ├── main.js
│ ├── assets
│ │ └── vue.svg
│ ├── style.css
│ ├── components
│ │ ├── VInput.vue
│ │ └── VButton.vue
│ ├── regions-to-countries.json
│ └── App.vue
├── .gitignore
├── README.md
├── package.json
└── index.html
├── beamup.json
├── deploy.sh
├── index.js
├── nodemon.json
├── docs
├── justwatch.md
├── netflix.graphql
├── netflix.md
└── justwatch.graphql
├── src
├── lib
│ └── stremio.js
├── services
│ ├── cinemeta.js
│ ├── justwatch.js
│ └── netflix
│ │ ├── fetcher.js
│ │ └── resolver.js
├── server
│ ├── routes
│ │ ├── catalog.js
│ │ └── manifest.js
│ └── index.js
└── utils
│ └── cache.js
├── docker-compose.yml
├── .dockerignore
├── Dockerfile.local
├── package.json
├── .gitignore
├── scripts
└── netflixTop10.js
├── .cursorrules
└── README.md
/vue/dist/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vue/public/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vue/.env.development:
--------------------------------------------------------------------------------
1 | VITE_APP_URL='http://127.0.0.1:7700'
2 |
--------------------------------------------------------------------------------
/vue/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": ["Vue.volar"]
3 | }
4 |
--------------------------------------------------------------------------------
/vue/.env:
--------------------------------------------------------------------------------
1 | VITE_APP_URL='https://7a82163c306e-stremio-netflix-catalog-addon.baby-beamup.club'
2 |
--------------------------------------------------------------------------------
/beamup.json:
--------------------------------------------------------------------------------
1 | {
2 | "projectName": "stremio-netflix-catalog-addon",
3 | "lastCommit": "9ea730e"
4 | }
--------------------------------------------------------------------------------
/vue/dist/apple.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/apple.webp
--------------------------------------------------------------------------------
/vue/dist/claro.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/claro.webp
--------------------------------------------------------------------------------
/vue/dist/globo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/globo.webp
--------------------------------------------------------------------------------
/vue/dist/hayu.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/hayu.webp
--------------------------------------------------------------------------------
/vue/dist/hbo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/hbo.webp
--------------------------------------------------------------------------------
/vue/dist/hulu.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/hulu.webp
--------------------------------------------------------------------------------
/vue/dist/mubi.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/mubi.webp
--------------------------------------------------------------------------------
/vue/dist/prime.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/prime.webp
--------------------------------------------------------------------------------
/vue/dist/skygo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/skygo.webp
--------------------------------------------------------------------------------
/vue/dist/starz.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/starz.webp
--------------------------------------------------------------------------------
/vue/dist/viki.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/viki.webp
--------------------------------------------------------------------------------
/vue/dist/zee5.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/zee5.webp
--------------------------------------------------------------------------------
/vue/public/hbo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/hbo.webp
--------------------------------------------------------------------------------
/vue/dist/disney.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/disney.webp
--------------------------------------------------------------------------------
/vue/dist/netflix.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/netflix.webp
--------------------------------------------------------------------------------
/vue/dist/nlziet.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/nlziet.webp
--------------------------------------------------------------------------------
/vue/dist/peacock.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/peacock.webp
--------------------------------------------------------------------------------
/vue/dist/sonyliv.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/sonyliv.webp
--------------------------------------------------------------------------------
/vue/dist/stremio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/stremio.png
--------------------------------------------------------------------------------
/vue/dist/youtube.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/youtube.webp
--------------------------------------------------------------------------------
/vue/public/apple.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/apple.webp
--------------------------------------------------------------------------------
/vue/public/claro.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/claro.webp
--------------------------------------------------------------------------------
/vue/public/globo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/globo.webp
--------------------------------------------------------------------------------
/vue/public/hayu.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/hayu.webp
--------------------------------------------------------------------------------
/vue/public/hulu.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/hulu.webp
--------------------------------------------------------------------------------
/vue/public/mubi.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/mubi.webp
--------------------------------------------------------------------------------
/vue/public/prime.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/prime.webp
--------------------------------------------------------------------------------
/vue/public/skygo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/skygo.webp
--------------------------------------------------------------------------------
/vue/public/starz.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/starz.webp
--------------------------------------------------------------------------------
/vue/public/viki.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/viki.webp
--------------------------------------------------------------------------------
/vue/public/zee5.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/zee5.webp
--------------------------------------------------------------------------------
/vue/dist/canal-plus.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/canal-plus.webp
--------------------------------------------------------------------------------
/vue/dist/jiohotstar.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/jiohotstar.webp
--------------------------------------------------------------------------------
/vue/dist/magellan.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/magellan.webp
--------------------------------------------------------------------------------
/vue/dist/paramount.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/paramount.webp
--------------------------------------------------------------------------------
/vue/dist/videoland.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/videoland.webp
--------------------------------------------------------------------------------
/vue/public/disney.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/disney.webp
--------------------------------------------------------------------------------
/vue/public/magellan.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/magellan.webp
--------------------------------------------------------------------------------
/vue/public/movistar.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/movistar.webp
--------------------------------------------------------------------------------
/vue/public/netflix.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/netflix.webp
--------------------------------------------------------------------------------
/vue/public/nlziet.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/nlziet.webp
--------------------------------------------------------------------------------
/vue/public/peacock.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/peacock.webp
--------------------------------------------------------------------------------
/vue/public/sonyliv.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/sonyliv.webp
--------------------------------------------------------------------------------
/vue/public/stremio.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/stremio.png
--------------------------------------------------------------------------------
/vue/public/youtube.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/youtube.webp
--------------------------------------------------------------------------------
/vue/dist/crunchyroll.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/crunchyroll.webp
--------------------------------------------------------------------------------
/vue/dist/netflixkids.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/netflixkids.webp
--------------------------------------------------------------------------------
/vue/dist/skyshowtime.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/skyshowtime.webp
--------------------------------------------------------------------------------
/vue/postcss.config.cjs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/vue/public/canal-plus.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/canal-plus.webp
--------------------------------------------------------------------------------
/vue/public/jiohotstar.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/jiohotstar.webp
--------------------------------------------------------------------------------
/vue/public/paramount.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/paramount.webp
--------------------------------------------------------------------------------
/vue/public/videoland.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/videoland.webp
--------------------------------------------------------------------------------
/vue/dist/curiositystream.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/curiositystream.webp
--------------------------------------------------------------------------------
/vue/dist/discovery-plus.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/discovery-plus.webp
--------------------------------------------------------------------------------
/vue/public/crunchyroll.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/crunchyroll.webp
--------------------------------------------------------------------------------
/vue/public/netflixkids.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/netflixkids.webp
--------------------------------------------------------------------------------
/vue/public/skyshowtime.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/skyshowtime.webp
--------------------------------------------------------------------------------
/vue/dist/streaming-catalogs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/dist/streaming-catalogs.png
--------------------------------------------------------------------------------
/vue/public/curiositystream.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/curiositystream.webp
--------------------------------------------------------------------------------
/vue/public/discovery-plus.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/discovery-plus.webp
--------------------------------------------------------------------------------
/vue/public/streaming-catalogs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rleroi/Stremio-Streaming-Catalogs-Addon/HEAD/vue/public/streaming-catalogs.png
--------------------------------------------------------------------------------
/deploy.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | set -e
4 |
5 | cd vue
6 | npm run build
7 | cd ../
8 | git add --all
9 | git commit -am "Deploy"
10 | git push origin master
11 | git push beamup master
12 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | import app from './src/server/index.js';
2 |
3 | const port = process.env.PORT || 7700;
4 | app.listen(port, () => {
5 | console.log(`http://127.0.0.1:${port}/manifest.json`);
6 | });
7 |
--------------------------------------------------------------------------------
/vue/vite.config.js:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite'
2 | import vue from '@vitejs/plugin-vue'
3 |
4 | // https://vitejs.dev/config/
5 | export default defineConfig({
6 | plugins: [vue()]
7 | })
8 |
--------------------------------------------------------------------------------
/vue/tailwind.config.cjs:
--------------------------------------------------------------------------------
1 | /** @type {import('tailwindcss').Config} */
2 | module.exports = {
3 | content: [
4 | "./index.html",
5 | "./src/**/*.{vue,js,ts,jsx,tsx}",
6 | ],
7 | theme: {
8 | extend: {},
9 | },
10 | plugins: [],
11 | }
12 |
--------------------------------------------------------------------------------
/nodemon.json:
--------------------------------------------------------------------------------
1 | {
2 | "ignore": [
3 | "cache/**/*",
4 | "node_modules/**/*",
5 | "vue/dist/**/*",
6 | "*.log"
7 | ],
8 | "watch": [
9 | "*.js",
10 | "scripts/**/*.js",
11 | "vue/src/**/*"
12 | ],
13 | "ext": "js,json,vue"
14 | }
15 |
16 |
--------------------------------------------------------------------------------
/vue/src/main.js:
--------------------------------------------------------------------------------
1 | import axios from 'axios'
2 | import { createApp } from 'vue'
3 | import Popper from 'vue3-popper'
4 |
5 | import './style.css'
6 | import App from './App.vue'
7 |
8 | axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
9 |
10 | createApp(App)
11 | .component("Popper", Popper)
12 | .mount('#app');
13 |
--------------------------------------------------------------------------------
/vue/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | *.local
12 |
13 | # Editor directories and files
14 | .vscode/*
15 | !.vscode/extensions.json
16 | .idea
17 | .DS_Store
18 | *.suo
19 | *.ntvs*
20 | *.njsproj
21 | *.sln
22 | *.sw?
23 |
--------------------------------------------------------------------------------
/vue/README.md:
--------------------------------------------------------------------------------
1 | # Vue 3 + Vite
2 |
3 | This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `
16 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "stremio-netflix-catalog-addon",
3 | "version": "1.1.1",
4 | "description": " ",
5 | "main": "index.js",
6 | "type": "module",
7 | "scripts": {
8 | "test": "echo \"Error: no test specified\" && exit 1",
9 | "start": "node index.js",
10 | "dev": "nodemon index.js"
11 | },
12 | "author": "",
13 | "license": "ISC",
14 | "devDependencies": {
15 | "nodemon": "^2.0.19"
16 | },
17 | "dependencies": {
18 | "axios": "^0.27.2",
19 | "cors": "^2.8.5",
20 | "express": "^4.18.1",
21 | "mixpanel": "^0.17.0"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/vue/src/components/VButton.vue:
--------------------------------------------------------------------------------
1 |
2 |
6 |
10 |
11 |
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
3 | vue/dist/error.log
4 | .idea
5 |
6 | # Environment files
7 | .env.local
8 | .env.production
9 | # Keep pre-configured frontend env files
10 | !vue/.env
11 | !vue/.env.development
12 |
13 | # Logs
14 | *.log
15 | npm-debug.log*
16 | yarn-debug.log*
17 | yarn-error.log*
18 |
19 | # Runtime data
20 | pids
21 | *.pid
22 | *.seed
23 | *.pid.lock
24 |
25 | # Coverage directory used by tools like istanbul
26 | coverage/
27 |
28 | # Dependency directories
29 | node_modules/
30 | jspm_packages/
31 |
32 | # Optional npm cache directory
33 | .npm
34 |
35 | # Optional REPL history
36 | .node_repl_history
37 |
38 | # Output of 'npm pack'
39 | *.tgz
40 |
41 | # Yarn Integrity file
42 | .yarn-integrity
43 |
44 | # Cache directory
45 | cache/
46 |
47 |
48 |
--------------------------------------------------------------------------------
/vue/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Streaming Catalogs
8 |
9 |
10 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/vue/dist/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Streaming Catalogs
8 |
9 |
10 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/scripts/netflixTop10.js:
--------------------------------------------------------------------------------
1 | /**
2 | * CLI wrapper for Netflix Top 10 fetcher
3 | * This script provides a command-line interface to test the Netflix Top 10 API
4 | */
5 | import { fetchNetflixTop10 } from '../src/services/netflix/fetcher.js';
6 | import { fileURLToPath } from 'url';
7 | import path from 'path';
8 |
9 | async function runFromCLI() {
10 | const [, , countryCodeArg, typeArg] = process.argv;
11 |
12 | if (!countryCodeArg || !typeArg) {
13 | console.error('Usage: node scripts/netflixTop10.js ');
14 | console.error('Example: node scripts/netflixTop10.js NL shows');
15 | process.exitCode = 1;
16 | return;
17 | }
18 |
19 | try {
20 | const data = await fetchNetflixTop10(countryCodeArg, typeArg, {
21 | allowInsecureTLS: process.env.TUDUM_ALLOW_INSECURE === '1',
22 | });
23 | console.log(JSON.stringify(data, null, 2));
24 | } catch (err) {
25 | console.error(`Failed to fetch Netflix Top 10: ${err.message}`);
26 | process.exitCode = 1;
27 | }
28 | }
29 |
30 | const isCLI = (() => {
31 | try {
32 | const __filename = fileURLToPath(import.meta.url);
33 | return path.resolve(process.argv[1] || '') === __filename;
34 | } catch {
35 | return false;
36 | }
37 | })();
38 |
39 | if (isCLI) {
40 | void runFromCLI();
41 | }
42 |
--------------------------------------------------------------------------------
/src/services/cinemeta.js:
--------------------------------------------------------------------------------
1 | import axios from 'axios';
2 |
3 | /**
4 | * Fetch metadata from Cinemeta API
5 | * @param {string} imdbId - IMDB ID (e.g., "tt1234567")
6 | * @param {string} type - Content type: "MOVIE" or "SHOW" (or "movie"/"series")
7 | * @param {string} fallbackTitle - Title to use if Cinemeta fails
8 | * @returns {Promise