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[] = [
304304 link: '/ext/stremio',
305305 section: 'Extensions'
306306 },
307 {
308 id: 'ext-nuvio',
309 icon: ':lucide-puzzle:',
310 title: 'Nuvio',
311 details: 'Movies & Series',
312 link: '/ext/nuvio',
313 section: 'Extensions'
314 },
307315 {
308316 id: 'glossary-general',
309317 icon: ':lucide-book-open:',
@@ -340,7 +348,7 @@ export const homeCards: HomeCard[] = [
340348 id: 'glossary-nsfw',
341349 icon: ':lucide-book-open:',
342350 title: 'NSFW Glossary',
343 details: 'Things Jesus wouldn\'t want you to know',
351 details: "Things Jesus wouldn't want you to know",
344352 link: '/glossary/nsfw',
345353 section: 'Glossary'
346354 },
@@ -565,48 +573,49 @@ export const sidebar: DefaultTheme.Sidebar = [
565573 text: '<span class="i-twemoji-comet"></span> VTuber',
566574 link: '/vtuber'
567575 },
568 {
576 {
569577 text:
570578 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:puzzle"></span> Extensions',
571579 collapsed: true,
572580 link: '/ext',
573581 items: [
574 {
575 text: 'Android',
576 collapsed: true,
577 items: [
578 { text: 'Mihon', link: '/ext/mihon' },
579 { text: 'Aniyomi', link: '/ext/aniyomi' },
580 { text: 'Cloudstream', link: '/ext/cloudstream' },
581 { text: 'Echo', link: '/ext/echo' },
582 { text: 'IReader', link: '/ext/ireader' },
583 { text: 'Kotatsu', link: '/ext/kotatsu' },
584 { text: 'LNReader', link: '/ext/lnreader' },
585 { text: 'Shosetsu', link: '/ext/shosetsu' },
586 { text: 'Tsundoku', link: '/ext/tsundoku' }
587 ]
588 },
589 {
590 text: 'iOS',
591 collapsed: true,
592 items: [
593 { text: 'Aidoku', link: '/ext/aidoku' },
594 { text: 'Mana', link: '/ext/mana' },
595 { text: 'Paperback', link: '/ext/paperback' },
596 { text: 'Suwatte', link: '/ext/suwatte' },
597 { text: 'Sora', link: '/ext/sora' }
598 ]
599 },
600 {
601 text: 'Multi',
602 collapsed: true,
603 items: [
604 { text: 'Hayase', link: '/ext/hayase' },
605 { text: 'Mangayomi', link: '/ext/mangayomi' },
606 { text: 'Seanime', link: '/ext/seanime' },
607 { text: 'Stremio', link: '/ext/stremio' }
608 ]
609 }
582 {
583 text: 'Android',
584 collapsed: true,
585 items: [
586 { text: 'Mihon', link: '/ext/mihon' },
587 { text: 'Aniyomi', link: '/ext/aniyomi' },
588 { text: 'Cloudstream', link: '/ext/cloudstream' },
589 { text: 'Echo', link: '/ext/echo' },
590 { text: 'IReader', link: '/ext/ireader' },
591 { text: 'Kotatsu', link: '/ext/kotatsu' },
592 { text: 'LNReader', link: '/ext/lnreader' },
593 { text: 'Shosetsu', link: '/ext/shosetsu' },
594 { text: 'Tsundoku', link: '/ext/tsundoku' }
595 ]
596 },
597 {
598 text: 'iOS',
599 collapsed: true,
600 items: [
601 { text: 'Aidoku', link: '/ext/aidoku' },
602 { text: 'Mana', link: '/ext/mana' },
603 { text: 'Paperback', link: '/ext/paperback' },
604 { text: 'Suwatte', link: '/ext/suwatte' },
605 { text: 'Sora', link: '/ext/sora' }
606 ]
607 },
608 {
609 text: 'Multi',
610 collapsed: true,
611 items: [
612 { text: 'Hayase', link: '/ext/hayase' },
613 { text: 'Mangayomi', link: '/ext/mangayomi' },
614 { text: 'Seanime', link: '/ext/seanime' },
615 { text: 'Stremio', link: '/ext/stremio' },
616 { text: 'Nuvio', link: '/ext/nuvio' }
617 ]
618 }
610619 ]
611620 },
612621 {
@@ -619,7 +628,7 @@ export const sidebar: DefaultTheme.Sidebar = [
619628 text: 'Anime',
620629 collapsed: true,
621630 items: [
622 { text: 'Disc Ripping', link: '/guides/anime/discrip' },
631 { text: 'Disc Ripping', link: '/guides/anime/discrip' }
623632 ]
624633 },
625634 {
@@ -679,7 +688,7 @@ export const sidebar: DefaultTheme.Sidebar = [
679688 { text: `Trackers`, link: '/torrenting/trackers' }
680689 ]
681690 },
682 {
691 {
683692 text:
684693 '<span class="mr-2 w-4 h-4 bg-cover i-uil:letter-japanese-a"></span> Japan',
685694 collapsed: true,
docs/.vitepress/theme/components/extrepo/SiteCell.vue +3 −3
@@ -1,6 +1,6 @@
11<script setup lang="ts">
22import { computed } from 'vue'
3import { langFlagClass, ratingIcon, ratingTitle } from './helpers'
3import { langFlagClass, langLabel, ratingIcon, ratingTitle } from './helpers'
44import { hasSiteCopyButton } from './install'
55import LazyIcon from './LazyIcon.vue'
66import type { RepoSite } from './types'
@@ -58,8 +58,8 @@ async function copyInstallUrl() {
5858 v-if="scheme !== 'stremio'"
5959 class="ext-site-lang"
6060 :class="langFlagClass(site.lang)"
61 :aria-label="site.lang"
62 @mouseenter="showTooltip($event, site.lang)"
61 :aria-label="langLabel(site.lang)"
62 @mouseenter="showTooltip($event, langLabel(site.lang))"
6363 @mouseleave="hideTooltip"
6464 />
6565 </div>
docs/.vitepress/theme/components/extrepo/install.ts +1 −1
@@ -50,7 +50,7 @@ const INSTALL_URL_BUILDERS: Record<
5050const MANUAL_ONLY_SCHEMES = new Set(['manual', 'shosetsu'])
5151
5252// 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'])
5454
5555// Schemes with no install or copy action
5656const BROWSE_ONLY_SCHEMES = new Set(['kotatsu', 'sora', 'echo', 'stremio'])
docs/.vitepress/theme/components/extrepo/types.ts +1
@@ -21,6 +21,7 @@ export interface Repo {
2121export interface RepoSite {
2222 name: string
2323 lang: string
24 languages?: string[]
2425 icon: string
2526 url: string
2627 rating: Rating
docs/.vitepress/theme/components/extrepo/useRepoFilter.ts +6 −1
@@ -62,6 +62,9 @@ export function useRepoFilter(
6262 if (typeof site.lang !== 'string') continue
6363 if (site.lang.toLowerCase() === 'all') hasMultiLanguage = true
6464 if (site.lang !== 'all') langs.add(site.lang)
65 for (const lang of site.languages ?? []) {
66 if (lang && lang !== 'all') langs.add(lang)
67 }
6568 }
6669 return {
6770 availableContentTypes: [...contentTypes].sort(),
@@ -91,7 +94,9 @@ export function useRepoFilter(
9194 const filtered = allSites.value.filter((site) => {
9295 if (site.isBroken && !showBroken) return false
9396 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 }
95100 if (rating !== 'all' && site.rating !== rating) return false
96101 if (ctype && site.contentType !== ctype) {
97102 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 {
182182 sites: KotatsuSite[]
183183}
184184
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
185202interface SoraRepoIndexEntry {
186203 name: string
187204 source: string
@@ -404,7 +421,45 @@ const LANG_ALIASES: Record<string, string> = {
404421 thai: 'th',
405422 hindi: 'hi',
406423 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'
408463}
409464
410465const LANG_SUBSTRING_ALIASES: [RegExp, string][] = [
@@ -739,6 +794,51 @@ function toRepoDataKotatsu(index: KotatsuIndex): RepoSite[] {
739794 return sites
740795}
741796
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
742842function isEchoExtensionList(json: unknown): json is EchoExtension[] {
743843 if (!Array.isArray(json) || json.length === 0) return false
744844 const first = json[0] as Record<string, unknown>
@@ -1083,6 +1183,8 @@ async function toRepoData(
10831183 suwatteV6 = (json as SuwatteCatalogIndex).catalogVersion === undefined
10841184 } else if (Array.isArray((json as KotatsuIndex).sites)) {
10851185 sites = toRepoDataKotatsu(json as KotatsuIndex)
1186 } else if (isNuvioManifest(json)) {
1187 sites = toRepoDataNuvio(json)
10861188 } else {
10871189 sites = toRepoDataPaperback(iconBase, json as PaperbackIndex)
10881190 }
docs/ext/index.md +3
@@ -85,4 +85,7 @@ og:
8585 <Card title="Stremio" href="/ext/stremio">
8686 Anime, Live Action & others
8787 </Card>
88 <Card title="Nuvio" href="/ext/nuvio">
89 Movies, Series & Live Action
90 </Card>
8891</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:::