Commit 4572309927

4572309927baba508ca13d8290ecfc994679c350

parent: 4879affad8

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-10-26 13:12 UTC

nuvio ext

Layout: unified · split

docs/.vitepress/configs/constants.ts +49 −40
@@ -304,6 +304,14 @@ export const homeCards: HomeCard[] = [
304 link: '/ext/stremio', 304 link: '/ext/stremio',
305 section: 'Extensions' 305 section: 'Extensions'
306 }, 306 },
307 {
308 id: 'ext-nuvio',
309 icon: ':lucide-puzzle:',
310 title: 'Nuvio',
311 details: 'Movies & Series',
312 link: '/ext/nuvio',
313 section: 'Extensions'
314 },
307 { 315 {
308 id: 'glossary-general', 316 id: 'glossary-general',
309 icon: ':lucide-book-open:', 317 icon: ':lucide-book-open:',
@@ -340,7 +348,7 @@ export const homeCards: HomeCard[] = [
340 id: 'glossary-nsfw', 348 id: 'glossary-nsfw',
341 icon: ':lucide-book-open:', 349 icon: ':lucide-book-open:',
342 title: 'NSFW Glossary', 350 title: 'NSFW Glossary',
343 details: 'Things Jesus wouldn\'t want you to know', 351 details: "Things Jesus wouldn't want you to know",
344 link: '/glossary/nsfw', 352 link: '/glossary/nsfw',
345 section: 'Glossary' 353 section: 'Glossary'
346 }, 354 },
@@ -565,48 +573,49 @@ export const sidebar: DefaultTheme.Sidebar = [
565 text: '<span class="i-twemoji-comet"></span> VTuber', 573 text: '<span class="i-twemoji-comet"></span> VTuber',
566 link: '/vtuber' 574 link: '/vtuber'
567 }, 575 },
568 { 576 {
569 text: 577 text:
570 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:puzzle"></span> Extensions', 578 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:puzzle"></span> Extensions',
571 collapsed: true, 579 collapsed: true,
572 link: '/ext', 580 link: '/ext',
573 items: [ 581 items: [
574 { 582 {
575 text: 'Android', 583 text: 'Android',
576 collapsed: true, 584 collapsed: true,
577 items: [ 585 items: [
578 { text: 'Mihon', link: '/ext/mihon' }, 586 { text: 'Mihon', link: '/ext/mihon' },
579 { text: 'Aniyomi', link: '/ext/aniyomi' }, 587 { text: 'Aniyomi', link: '/ext/aniyomi' },
580 { text: 'Cloudstream', link: '/ext/cloudstream' }, 588 { text: 'Cloudstream', link: '/ext/cloudstream' },
581 { text: 'Echo', link: '/ext/echo' }, 589 { text: 'Echo', link: '/ext/echo' },
582 { text: 'IReader', link: '/ext/ireader' }, 590 { text: 'IReader', link: '/ext/ireader' },
583 { text: 'Kotatsu', link: '/ext/kotatsu' }, 591 { text: 'Kotatsu', link: '/ext/kotatsu' },
584 { text: 'LNReader', link: '/ext/lnreader' }, 592 { text: 'LNReader', link: '/ext/lnreader' },
585 { text: 'Shosetsu', link: '/ext/shosetsu' }, 593 { text: 'Shosetsu', link: '/ext/shosetsu' },
586 { text: 'Tsundoku', link: '/ext/tsundoku' } 594 { text: 'Tsundoku', link: '/ext/tsundoku' }
587 ] 595 ]
588 }, 596 },
589 { 597 {
590 text: 'iOS', 598 text: 'iOS',
591 collapsed: true, 599 collapsed: true,
592 items: [ 600 items: [
593 { text: 'Aidoku', link: '/ext/aidoku' }, 601 { text: 'Aidoku', link: '/ext/aidoku' },
594 { text: 'Mana', link: '/ext/mana' }, 602 { text: 'Mana', link: '/ext/mana' },
595 { text: 'Paperback', link: '/ext/paperback' }, 603 { text: 'Paperback', link: '/ext/paperback' },
596 { text: 'Suwatte', link: '/ext/suwatte' }, 604 { text: 'Suwatte', link: '/ext/suwatte' },
597 { text: 'Sora', link: '/ext/sora' } 605 { text: 'Sora', link: '/ext/sora' }
598 ] 606 ]
599 }, 607 },
600 { 608 {
601 text: 'Multi', 609 text: 'Multi',
602 collapsed: true, 610 collapsed: true,
603 items: [ 611 items: [
604 { text: 'Hayase', link: '/ext/hayase' }, 612 { text: 'Hayase', link: '/ext/hayase' },
605 { text: 'Mangayomi', link: '/ext/mangayomi' }, 613 { text: 'Mangayomi', link: '/ext/mangayomi' },
606 { text: 'Seanime', link: '/ext/seanime' }, 614 { text: 'Seanime', link: '/ext/seanime' },
607 { text: 'Stremio', link: '/ext/stremio' } 615 { text: 'Stremio', link: '/ext/stremio' },
608 ] 616 { text: 'Nuvio', link: '/ext/nuvio' }
609 } 617 ]
618 }
610 ] 619 ]
611 }, 620 },
612 { 621 {
@@ -619,7 +628,7 @@ export const sidebar: DefaultTheme.Sidebar = [
619 text: 'Anime', 628 text: 'Anime',
620 collapsed: true, 629 collapsed: true,
621 items: [ 630 items: [
622 { text: 'Disc Ripping', link: '/guides/anime/discrip' }, 631 { text: 'Disc Ripping', link: '/guides/anime/discrip' }
623 ] 632 ]
624 }, 633 },
625 { 634 {
@@ -679,7 +688,7 @@ export const sidebar: DefaultTheme.Sidebar = [
679 { text: `Trackers`, link: '/torrenting/trackers' } 688 { text: `Trackers`, link: '/torrenting/trackers' }
680 ] 689 ]
681 }, 690 },
682 { 691 {
683 text: 692 text:
684 '<span class="mr-2 w-4 h-4 bg-cover i-uil:letter-japanese-a"></span> Japan', 693 '<span class="mr-2 w-4 h-4 bg-cover i-uil:letter-japanese-a"></span> Japan',
685 collapsed: true, 694 collapsed: true,
docs/.vitepress/theme/components/extrepo/SiteCell.vue +3 −3
@@ -1,6 +1,6 @@
1<script setup lang="ts"> 1<script setup lang="ts">
2import { computed } from 'vue' 2import { computed } from 'vue'
3import { langFlagClass, ratingIcon, ratingTitle } from './helpers' 3import { langFlagClass, langLabel, ratingIcon, ratingTitle } from './helpers'
4import { hasSiteCopyButton } from './install' 4import { hasSiteCopyButton } from './install'
5import LazyIcon from './LazyIcon.vue' 5import LazyIcon from './LazyIcon.vue'
6import type { RepoSite } from './types' 6import type { RepoSite } from './types'
@@ -58,8 +58,8 @@ async function copyInstallUrl() {
58 v-if="scheme !== 'stremio'" 58 v-if="scheme !== 'stremio'"
59 class="ext-site-lang" 59 class="ext-site-lang"
60 :class="langFlagClass(site.lang)" 60 :class="langFlagClass(site.lang)"
61 :aria-label="site.lang" 61 :aria-label="langLabel(site.lang)"
62 @mouseenter="showTooltip($event, site.lang)" 62 @mouseenter="showTooltip($event, langLabel(site.lang))"
63 @mouseleave="hideTooltip" 63 @mouseleave="hideTooltip"
64 /> 64 />
65 </div> 65 </div>
docs/.vitepress/theme/components/extrepo/install.ts +1 −1
@@ -50,7 +50,7 @@ const INSTALL_URL_BUILDERS: Record<
50const MANUAL_ONLY_SCHEMES = new Set(['manual', 'shosetsu']) 50const MANUAL_ONLY_SCHEMES = new Set(['manual', 'shosetsu'])
51 51
52// Schemes that keep the copy actions but never show an install link. 52// Schemes that keep the copy actions but never show an install link.
53const NO_INSTALL_SCHEMES = new Set(['seanime']) 53const NO_INSTALL_SCHEMES = new Set(['seanime', 'nuvio'])
54 54
55// Schemes with no install or copy action 55// Schemes with no install or copy action
56const BROWSE_ONLY_SCHEMES = new Set(['kotatsu', 'sora', 'echo', 'stremio']) 56const BROWSE_ONLY_SCHEMES = new Set(['kotatsu', 'sora', 'echo', 'stremio'])
docs/.vitepress/theme/components/extrepo/types.ts +1
@@ -21,6 +21,7 @@ export interface Repo {
21export interface RepoSite { 21export interface RepoSite {
22 name: string 22 name: string
23 lang: string 23 lang: string
24 languages?: string[]
24 icon: string 25 icon: string
25 url: string 26 url: string
26 rating: Rating 27 rating: Rating
docs/.vitepress/theme/components/extrepo/useRepoFilter.ts +6 −1
@@ -62,6 +62,9 @@ export function useRepoFilter(
62 if (typeof site.lang !== 'string') continue 62 if (typeof site.lang !== 'string') continue
63 if (site.lang.toLowerCase() === 'all') hasMultiLanguage = true 63 if (site.lang.toLowerCase() === 'all') hasMultiLanguage = true
64 if (site.lang !== 'all') langs.add(site.lang) 64 if (site.lang !== 'all') langs.add(site.lang)
65 for (const lang of site.languages ?? []) {
66 if (lang && lang !== 'all') langs.add(lang)
67 }
65 } 68 }
66 return { 69 return {
67 availableContentTypes: [...contentTypes].sort(), 70 availableContentTypes: [...contentTypes].sort(),
@@ -91,7 +94,9 @@ export function useRepoFilter(
91 const filtered = allSites.value.filter((site) => { 94 const filtered = allSites.value.filter((site) => {
92 if (site.isBroken && !showBroken) return false 95 if (site.isBroken && !showBroken) return false
93 if (q && !site.hay.includes(q)) return false 96 if (q && !site.hay.includes(q)) return false
94 if (lang && site.lang !== lang) return false 97 if (lang && site.lang !== lang && !site.languages?.includes(lang)) {
98 return false
99 }
95 if (rating !== 'all' && site.rating !== rating) return false 100 if (rating !== 'all' && site.rating !== rating) return false
96 if (ctype && site.contentType !== ctype) { 101 if (ctype && site.contentType !== ctype) {
97 if (!site.contentTypes?.includes(ctype)) return false 102 if (!site.contentTypes?.includes(ctype)) return false
docs/ext/extensionRepos/nuvio.data.ts added +10
@@ -0,0 +1,10 @@
1import { type ExtensionRepoData, loadScheme } from './shared'
2
3export declare const data: ExtensionRepoData
4
5export default {
6 watch: ['../../**/*.md'],
7 async load(): Promise<ExtensionRepoData> {
8 return loadScheme('nuvio')
9 }
10}
docs/ext/extensionRepos/parsers.ts +103 −1
@@ -182,6 +182,23 @@ interface KotatsuIndex {
182 sites: KotatsuSite[] 182 sites: KotatsuSite[]
183} 183}
184 184
185interface NuvioScraper {
186 name: string
187 icon?: string
188 logo?: string
189 description?: string
190 types?: string[]
191 supportedTypes?: string[]
192 language?: string[]
193 contentLanguage?: string[]
194 enabled?: boolean
195}
196
197interface NuvioManifest {
198 name?: string
199 scrapers?: NuvioScraper[]
200}
201
185interface SoraRepoIndexEntry { 202interface SoraRepoIndexEntry {
186 name: string 203 name: string
187 source: string 204 source: string
@@ -404,7 +421,45 @@ const LANG_ALIASES: Record<string, string> = {
404 thai: 'th', 421 thai: 'th',
405 hindi: 'hi', 422 hindi: 'hi',
406 malay: 'ms', 423 malay: 'ms',
407 serbian: 'sr' 424 serbian: 'sr',
425 hin: 'hi',
426 tam: 'ta',
427 tel: 'te',
428 mal: 'ml',
429 kan: 'kn',
430 ben: 'bn',
431 ita: 'it',
432 jpn: 'ja',
433 kor: 'ko',
434 chi: 'zh',
435 ch: 'zh',
436 ger: 'de',
437 deu: 'de',
438 fra: 'fr',
439 fre: 'fr',
440 spa: 'es',
441 por: 'pt',
442 rus: 'ru',
443 ara: 'ar',
444 tur: 'tr',
445 pol: 'pl',
446 ukr: 'uk',
447 vie: 'vi',
448 tha: 'th',
449 ind: 'id',
450 may: 'ms',
451 msa: 'ms',
452 ba: 'bn',
453 kr: 'ko',
454 pe: 'fa',
455 nld: 'nl',
456 dut: 'nl',
457 swe: 'sv',
458 nor: 'no',
459 dan: 'da',
460 fin: 'fi',
461 ell: 'el',
462 heb: 'he'
408} 463}
409 464
410const LANG_SUBSTRING_ALIASES: [RegExp, string][] = [ 465const LANG_SUBSTRING_ALIASES: [RegExp, string][] = [
@@ -739,6 +794,51 @@ function toRepoDataKotatsu(index: KotatsuIndex): RepoSite[] {
739 return sites 794 return sites
740} 795}
741 796
797function nuvioLangs(scraper: NuvioScraper): string[] {
798 const raw = scraper.contentLanguage ?? scraper.language ?? []
799 return [
800 ...new Set(
801 raw
802 .filter(lang => typeof lang === 'string' && lang.trim() !== '')
803 .map(lang => normalizeLang(lang))
804 )
805 ]
806}
807
808function toRepoDataNuvio(manifest: NuvioManifest): RepoSite[] {
809 const seen = new Set<string>()
810 const sites: RepoSite[] = []
811 for (const scraper of manifest.scrapers ?? []) {
812 if (!scraper?.name || scraper.enabled === false) continue
813 const languages = nuvioLangs(scraper)
814 const lang = languages.length === 1 ? languages[0] : 'all'
815 const types = [
816 ...new Set(
817 (scraper.supportedTypes ?? scraper.types ?? []).filter(
818 (type): type is string => typeof type === 'string' && type !== ''
819 )
820 )
821 ]
822 const icon = scraper.logo ?? scraper.icon ?? ''
823 addSite(seen, `${scraper.name}::${lang}::${icon}`, sites, {
824 name: scraper.name,
825 lang,
826 languages: languages.length ? languages : undefined,
827 icon,
828 url: '',
829 rating: 'safe',
830 contentType: types[0],
831 contentTypes: types.length ? types : undefined
832 })
833 }
834 return sortSites(sites)
835}
836
837function isNuvioManifest(json: unknown): json is NuvioManifest {
838 return !!json && typeof json === 'object' && !Array.isArray(json) &&
839 Array.isArray((json as NuvioManifest).scrapers)
840}
841
742function isEchoExtensionList(json: unknown): json is EchoExtension[] { 842function isEchoExtensionList(json: unknown): json is EchoExtension[] {
743 if (!Array.isArray(json) || json.length === 0) return false 843 if (!Array.isArray(json) || json.length === 0) return false
744 const first = json[0] as Record<string, unknown> 844 const first = json[0] as Record<string, unknown>
@@ -1083,6 +1183,8 @@ async function toRepoData(
1083 suwatteV6 = (json as SuwatteCatalogIndex).catalogVersion === undefined 1183 suwatteV6 = (json as SuwatteCatalogIndex).catalogVersion === undefined
1084 } else if (Array.isArray((json as KotatsuIndex).sites)) { 1184 } else if (Array.isArray((json as KotatsuIndex).sites)) {
1085 sites = toRepoDataKotatsu(json as KotatsuIndex) 1185 sites = toRepoDataKotatsu(json as KotatsuIndex)
1186 } else if (isNuvioManifest(json)) {
1187 sites = toRepoDataNuvio(json)
1086 } else { 1188 } else {
1087 sites = toRepoDataPaperback(iconBase, json as PaperbackIndex) 1189 sites = toRepoDataPaperback(iconBase, json as PaperbackIndex)
1088 } 1190 }
docs/ext/index.md +3
@@ -85,4 +85,7 @@ og:
85 <Card title="Stremio" href="/ext/stremio"> 85 <Card title="Stremio" href="/ext/stremio">
86 Anime, Live Action & others 86 Anime, Live Action & others
87 </Card> 87 </Card>
88 <Card title="Nuvio" href="/ext/nuvio">
89 Movies, Series & Live Action
90 </Card>
88</Deck> 91</Deck>
docs/ext/nuvio.md added +72
@@ -0,0 +1,72 @@
1---
2title: Nuvio Extension Repos
3customDescription: Provider manifests for Nuvio
4feedback: no
5og:
6 image: /embed/extension.png
7---
8# Nuvio
9
10::: extrepo {scheme=nuvio}
11
12== Adrianjael
13- url: https://github.com/adrianjael/pluggin-latino
14- raw: https://raw.githubusercontent.com/adrianjael/pluggin-latino/refs/heads/main/manifest.json
15
16== CENSORED's Plugin
17- url: https://codeberg.org/CENSORED/Nuvio-Plugin
18- raw: https://codeberg.org/CENSORED/Nuvio-Plugin/raw/branch/main/manifest.json
19
20== D3adlyRocket
21- url: https://github.com/D3adlyRocket/All-in-One-Nuvio
22- raw: https://raw.githubusercontent.com/D3adlyRocket/All-in-One-Nuvio/refs/heads/main/manifest.json
23
24== Eclipsia
25- url: https://codeberg.org/eclipsia/nuvio-plugin
26- raw: https://codeberg.org/eclipsia/nuvio-plugin/raw/branch/main/manifest.json
27
28== Gowaru
29- url: https://github.com/Gowaru/gowaru-nuvio-providers
30- raw: https://raw.githubusercontent.com/Gowaru/gowaru-nuvio-providers/refs/heads/main/manifest.json
31
32== Kabir
33- url: https://github.com/PirateZoro9/asura-providers
34- raw: https://raw.githubusercontent.com/PirateZoro9/asura-providers/refs/heads/main/manifest.json
35
36== KennethJYS
37- url: https://github.com/KennethJYS/Nuvio-Providers-Latino
38- raw: https://raw.githubusercontent.com/KennethJYS/Nuvio-Providers-Latino/refs/heads/main/manifest.json
39
40== Michat88
41- url: https://github.com/michat88/nuvio-providers
42- raw: https://raw.githubusercontent.com/michat88/nuvio-providers/refs/heads/main/manifest.json
43
44== MoonCrown
45- url: https://github.com/mooncrown04/nuviotr
46- raw: https://raw.githubusercontent.com/mooncrown04/nuviotr/refs/heads/main/manifest.json
47
48== Phisher
49- url: https://github.com/phisher98/nuvio-providers
50- raw: https://raw.githubusercontent.com/phisher98/nuvio-providers/refs/heads/main/manifest.json
51
52== Saimuelbr
53- url: https://github.com/saimuelbr/saimuel-nuvio-repo
54- raw: https://raw.githubusercontent.com/saimuelbr/saimuel-nuvio-repo/refs/heads/main/manifest.json
55
56== Spidey
57- url: https://github.com/Abinanthankv/NuvioRepo
58- raw: https://raw.githubusercontent.com/Abinanthankv/NuvioRepo/refs/heads/master/manifest.json
59
60== Turkish Nuvio
61- url: https://github.com/fmustafayaman/turkish-nuvio
62- raw: https://raw.githubusercontent.com/fmustafayaman/turkish-nuvio/main/manifest.json
63
64== Wekmed
65- url: https://github.com/Wekmed/nuvio
66- raw: https://raw.githubusercontent.com/Wekmed/nuvio/refs/heads/main/manifest.json
67
68== Yoru
69- url: https://github.com/yoruix/nuvio-providers
70- raw: https://raw.githubusercontent.com/yoruix/nuvio-providers/refs/heads/main/manifest.json
71
72:::