Commit ec79d81d17

ec79d81d1744221e349c0d0b336575d55af1744b

parent: 8d67fc99a1

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-10-21 16:03 UTC

fuck you meme

Layout: unified · split

docs/.vitepress/configs/constants.ts +21 −3
@@ -163,11 +163,19 @@ export const homeCards: HomeCard[] = [
163163 {
164164 id: 'ext-mihon',
165165 icon: ':lucide-puzzle:',
166 title: 'Mihon & Aniyomi',
167 details: 'Manga & Anime',
166 title: 'Mihon',
167 details: 'Manga',
168168 link: '/ext/mihon',
169169 section: 'Extensions'
170170 },
171 {
172 id: 'ext-aniyomi',
173 icon: ':lucide-puzzle:',
174 title: 'Aniyomi',
175 details: 'Anime',
176 link: '/ext/aniyomi',
177 section: 'Extensions'
178 },
171179 {
172180 id: 'ext-cloudstream',
173181 icon: ':lucide-puzzle:',
@@ -208,6 +216,14 @@ export const homeCards: HomeCard[] = [
208216 link: '/ext/lnreader',
209217 section: 'Extensions'
210218 },
219 {
220 id: 'ext-shosetsu',
221 icon: ':lucide-puzzle:',
222 title: 'Shosetsu',
223 details: 'Novels',
224 link: '/ext/shosetsu',
225 section: 'Extensions'
226 },
211227 {
212228 id: 'ext-tsundoku',
213229 icon: ':lucide-puzzle:',
@@ -535,12 +551,14 @@ export const sidebar: DefaultTheme.Sidebar = [
535551 text: 'Android',
536552 collapsed: true,
537553 items: [
538 { text: 'Mihon & Aniyomi', link: '/ext/mihon' },
554 { text: 'Mihon', link: '/ext/mihon' },
555 { text: 'Aniyomi', link: '/ext/aniyomi' },
539556 { text: 'Cloudstream', link: '/ext/cloudstream' },
540557 { text: 'Echo', link: '/ext/echo' },
541558 { text: 'IReader', link: '/ext/ireader' },
542559 { text: 'Kotatsu', link: '/ext/kotatsu' },
543560 { text: 'LNReader', link: '/ext/lnreader' },
561 { text: 'Shosetsu', link: '/ext/shosetsu' },
544562 { text: 'Tsundoku', link: '/ext/tsundoku' }
545563 ]
546564 },
docs/.vitepress/theme/components/crossapp/CrossAppSupport.vue added +668
@@ -0,0 +1,668 @@
1<script setup lang="ts">
2import {
3 computed,
4 nextTick,
5 onBeforeUnmount,
6 onMounted,
7 ref,
8 watch
9} from 'vue'
10import { data as platformMap } from './platforms.data'
11
12interface Repo {
13 name: string
14 icon: string | null
15 href: string | null
16}
17
18interface AppEntry {
19 id: string
20 name: string
21 platforms: string[]
22 icon: string | null
23 repos: string[]
24 notes: string[]
25}
26
27interface Payload {
28 version: number
29 repos: Record<string, Repo>
30 apps: AppEntry[]
31}
32
33const DEFAULT_SRC = 'https://wotaku-ext.duckling.workers.dev/data.json'
34const CACHE_KEY = 'wotaku:crossapp:v1'
35const CACHE_TTL_MS = 5 * 60 * 1000
36const FETCH_TIMEOUT_MS = 10000
37
38const props = withDefaults(defineProps<{ src?: string }>(), {
39 src: DEFAULT_SRC
40})
41
42const payload = ref<Payload | null>(null)
43const loading = ref(true)
44const failed = ref(false)
45const openId = ref<string | null>(null)
46const brokenIcons = ref(new Set<string>())
47const brokenRepoIcons = ref(new Set<string>())
48const gridRef = ref<HTMLElement | null>(null)
49const columnCount = ref(1)
50
51const apps = computed(() => payload.value?.apps ?? [])
52const openApp = computed(() =>
53 apps.value.find(app => app.id === openId.value) ?? null
54)
55
56const openRepos = computed(() => {
57 if (!openApp.value || !payload.value) return []
58 return openApp.value.repos
59 .map(id => payload.value!.repos[id])
60 .filter((repo): repo is Repo => Boolean(repo))
61})
62
63const openRowEnd = computed(() => {
64 const app = openApp.value
65 if (!app) return -1
66 const index = apps.value.findIndex(item => item.id === app.id)
67 if (index < 0) return -1
68 const cols = Math.max(1, columnCount.value)
69 return Math.min(Math.floor(index / cols) * cols + cols, apps.value.length) - 1
70})
71
72function syncColumns() {
73 const el = gridRef.value
74 if (!el) return
75 const tracks = getComputedStyle(el).gridTemplateColumns
76 const count = tracks && tracks !== 'none' ? tracks.split(' ').filter(Boolean).length : 1
77 if (count > 0) columnCount.value = count
78}
79
80function platformInfo(token: string) {
81 return platformMap[token] ?? { icon: 'lucide-monitor', label: token }
82}
83
84function iconUrl(path: string) {
85 try {
86 return new URL(path, props.src).toString()
87 } catch {
88 return path
89 }
90}
91
92function readCache(): Payload | null {
93 try {
94 const raw = sessionStorage.getItem(CACHE_KEY)
95 if (!raw) return null
96 const cached = JSON.parse(raw) as { at: number; data: Payload }
97 if (!cached?.data || Date.now() - cached.at > CACHE_TTL_MS) return null
98 return cached.data
99 } catch {
100 return null
101 }
102}
103
104function writeCache(data: Payload) {
105 try {
106 sessionStorage.setItem(CACHE_KEY, JSON.stringify({ at: Date.now(), data }))
107 } catch {}
108}
109
110let inFlight = false
111
112async function load(force = false) {
113 if (inFlight) return
114 inFlight = true
115 loading.value = true
116 failed.value = false
117
118 if (!force) {
119 const cached = readCache()
120 if (cached) {
121 payload.value = cached
122 loading.value = false
123 }
124 }
125
126 const controller = new AbortController()
127 const timer = setTimeout(() => controller.abort(), FETCH_TIMEOUT_MS)
128 try {
129 const response = await fetch(props.src, {
130 signal: controller.signal,
131 cache: 'no-cache'
132 })
133 if (!response.ok) {
134 throw new Error(`${response.status} ${response.statusText}`)
135 }
136 const data = (await response.json()) as Payload
137 if (!Array.isArray(data?.apps)) throw new Error('invalid payload')
138 payload.value = data
139 writeCache(data)
140 } catch {
141 if (!payload.value) failed.value = true
142 } finally {
143 clearTimeout(timer)
144 loading.value = false
145 inFlight = false
146 }
147}
148
149function toggle(id: string) {
150 openId.value = openId.value === id ? null : id
151 if (!openId.value) return
152 void nextTick(() => {
153 const panel = gridRef.value?.querySelector<HTMLElement>('.ca-panel')
154 if (!panel) return
155 const rect = panel.getBoundingClientRect()
156 if (rect.bottom > window.innerHeight || rect.top < 0) {
157 panel.scrollIntoView({ block: 'nearest', behavior: 'smooth' })
158 }
159 })
160}
161
162function onIconError(id: string) {
163 brokenIcons.value = new Set(brokenIcons.value).add(id)
164}
165
166function onRepoIconError(name: string) {
167 brokenRepoIcons.value = new Set(brokenRepoIcons.value).add(name)
168}
169
170let resizeObserver: ResizeObserver | null = null
171
172onMounted(() => {
173 void load()
174 void nextTick(syncColumns)
175 if (typeof ResizeObserver !== 'undefined') {
176 resizeObserver = new ResizeObserver(syncColumns)
177 if (gridRef.value) resizeObserver.observe(gridRef.value)
178 }
179})
180
181watch(apps, () => {
182 void nextTick(() => {
183 syncColumns()
184 if (resizeObserver) {
185 resizeObserver.disconnect()
186 if (gridRef.value) resizeObserver.observe(gridRef.value)
187 }
188 })
189})
190
191onBeforeUnmount(() => resizeObserver?.disconnect())
192</script>
193
194<template>
195 <div class="ca-root" @keydown.esc="openId = null">
196 <div v-if="loading && !apps.length" class="ca-box" aria-busy="true">
197 <div class="ca-grid">
198 <div v-for="n in 8" :key="n" class="ca-app ca-skeleton">
199 <span class="ca-sk-row">
200 <span class="ca-sk-icon" />
201 <span class="ca-sk-line" />
202 </span>
203 <span class="ca-sk-line short" />
204 </div>
205 </div>
206 </div>
207
208 <div v-else-if="failed && !apps.length" class="ca-error" role="status">
209 <span>Couldn't load cross-app support.</span>
210 <button type="button" @click="load(true)">Retry</button>
211 </div>
212
213 <template v-else>
214 <div class="ca-box">
215 <div ref="gridRef" class="ca-grid">
216 <template v-for="(app, index) in apps" :key="app.id">
217 <button
218 type="button"
219 class="ca-app"
220 :class="{
221 'is-open': openId === app.id,
222 'is-dimmed': openId && openId !== app.id
223 }"
224 :aria-expanded="openId === app.id"
225 :aria-controls="openId === app.id ? 'ca-panel' : undefined"
226 @click="toggle(app.id)"
227 >
228 <span class="ca-app-row">
229 <span class="ca-app-icon">
230 <span class="ca-app-mono">{{ app.name.charAt(0) }}</span>
231 <img
232 v-if="app.icon && !brokenIcons.has(app.id)"
233 class="ca-app-img no-zoom"
234 :src="iconUrl(app.icon)"
235 alt=""
236 loading="lazy"
237 decoding="async"
238 @error="onIconError(app.id)"
239 />
240 </span>
241 <span class="ca-app-name" :title="app.name">{{ app.name }}</span>
242 <span v-if="app.platforms.length" class="ca-app-platforms">
243 <span
244 v-for="token in app.platforms"
245 :key="token"
246 class="icon-tip ca-platform"
247 :data-tip="platformInfo(token).label"
248 >
249 <span :class="`i-${platformInfo(token).icon}`" />
250 </span>
251 </span>
252 </span>
253 <span class="ca-app-sub">
254 {{ app.repos.length }}
255 {{ app.repos.length === 1 ? 'type' : 'types' }}
256 </span>
257 </button>
258
259 <section
260 v-if="openApp && index === openRowEnd"
261 id="ca-panel"
262 class="ca-panel"
263 role="region"
264 :aria-label="`${openApp.name} supported repos`"
265 >
266 <header class="ca-panel-head">
267 <h3 class="ca-panel-title">{{ openApp.name }}</h3>
268 <button
269 type="button"
270 class="ca-panel-close"
271 aria-label="Close"
272 @click="openId = null"
273 >
274 <svg
275 xmlns="http://www.w3.org/2000/svg"
276 width="16"
277 height="16"
278 viewBox="0 0 24 24"
279 aria-hidden="true"
280 >
281 <path
282 fill="currentColor"
283 d="M6.4 5 5 6.4 10.6 12 5 17.6 6.4 19 12 13.4 17.6 19 19 17.6 13.4 12 19 6.4 17.6 5 12 10.6z"
284 />
285 </svg>
286 </button>
287 </header>
288
289 <ul v-if="openApp.notes.length" class="ca-notes">
290 <li v-for="note in openApp.notes" :key="note">{{ note }}</li>
291 </ul>
292
293 <div class="ca-repos">
294 <component
295 :is="repo.href ? 'a' : 'div'"
296 v-for="repo in openRepos"
297 :key="repo.name"
298 class="ca-repo"
299 :class="{ 'is-disabled': !repo.href }"
300 :href="repo.href ?? undefined"
301 :title="repo.href ? repo.name : 'No page yet'"
302 >
303 <span class="ca-repo-icon">
304 <span class="ca-repo-mono">{{ repo.name.charAt(0) }}</span>
305 <img
306 v-if="repo.icon && !brokenRepoIcons.has(repo.name)"
307 class="ca-repo-img no-zoom"
308 :src="iconUrl(repo.icon)"
309 alt=""
310 loading="lazy"
311 decoding="async"
312 @error="onRepoIconError(repo.name)"
313 />
314 </span>
315 <span class="ca-repo-name">{{ repo.name }}</span>
316 </component>
317 </div>
318 </section>
319 </template>
320 </div>
321 </div>
322 </template>
323 </div>
324</template>
325
326<style scoped>
327.ca-root {
328 margin: 16px 0;
329}
330
331.ca-box {
332 padding: 8px;
333 border: 2px solid #3d3d3d;
334 border-radius: var(--radius-xl, 12px);
335 background-color: var(--vp-c-bg);
336}
337
338.ca-grid {
339 display: grid;
340 grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
341 gap: 6px;
342}
343
344.ca-app {
345 display: flex;
346 flex-direction: column;
347 gap: 0;
348 padding: 6px;
349 border: 1.5px solid #3d3d3d;
350 border-radius: 6px;
351 background-color: var(--vp-c-bg-soft);
352 color: var(--vp-c-text-1);
353 text-align: left;
354 cursor: pointer;
355 transition: border-color 0.2s, background-color 0.2s, opacity 0.2s;
356}
357
358.ca-app.is-dimmed {
359 opacity: 0.45;
360}
361
362.ca-app.is-dimmed:hover,
363.ca-app.is-dimmed:focus-visible {
364 opacity: 0.85;
365}
366
367.ca-app:hover {
368 border-color: var(--vp-c-brand-1);
369 background-color: var(--vp-c-bg);
370}
371
372.ca-app:focus-visible {
373 outline: 2px solid var(--vp-c-brand-1);
374 outline-offset: 2px;
375}
376
377.ca-app.is-open {
378 border-color: var(--vp-c-brand-1);
379 background-color: var(--vp-c-bg);
380}
381
382.ca-app-row {
383 display: flex;
384 align-items: center;
385 gap: 6px;
386 min-width: 0;
387}
388
389.ca-app-icon {
390 position: relative;
391 display: flex;
392 align-items: center;
393 justify-content: center;
394 flex-shrink: 0;
395 width: 18px;
396 height: 18px;
397 border-radius: 4px;
398 overflow: hidden;
399 background-color: var(--vp-c-bg-alt);
400}
401
402.ca-app-img {
403 position: absolute;
404 inset: 0;
405 width: 18px;
406 height: 18px;
407 object-fit: contain;
408 background-color: var(--vp-c-bg-alt);
409}
410
411.ca-app-mono {
412 font-size: 10px;
413 font-weight: 700;
414 line-height: 1;
415 color: var(--vp-c-text-2);
416}
417
418.ca-app-name {
419 flex: 1 1 auto;
420 min-width: 0;
421 font-size: 12.5px;
422 font-weight: 600;
423 line-height: 1.2;
424 white-space: nowrap;
425 overflow: hidden;
426 text-overflow: ellipsis;
427}
428
429.ca-app-platforms {
430 display: flex;
431 align-items: center;
432 gap: 1px;
433 flex-shrink: 0;
434 font-size: 12px;
435 line-height: 1;
436 color: var(--vp-c-text-2);
437}
438
439.ca-platform {
440 line-height: 1;
441}
442
443.ca-platform > span {
444 min-width: 0;
445 width: 13px;
446 height: 13px;
447 font-size: 13px;
448 line-height: 1;
449}
450
451.ca-app-sub {
452 display: block;
453 padding-left: 24px;
454 font-size: 10.5px;
455 font-weight: 400;
456 line-height: 1.1;
457 color: var(--vp-c-text-2);
458 white-space: nowrap;
459 overflow: hidden;
460 text-overflow: ellipsis;
461}
462
463.ca-panel {
464 grid-column: 1 / -1;
465 padding: 8px;
466 border: 1.5px solid var(--vp-c-brand-1);
467 border-radius: 10px;
468 background-color: var(--vp-c-bg);
469 animation: ca-panel-in 0.18s ease-out;
470}
471
472@keyframes ca-panel-in {
473 from {
474 opacity: 0;
475 transform: translateY(-4px);
476 }
477}
478
479.ca-panel-head {
480 display: flex;
481 align-items: center;
482 justify-content: space-between;
483 gap: 8px;
484 padding: 2px 4px 0;
485}
486
487.ca-panel-title {
488 margin: 0;
489 padding: 0;
490 border: none;
491 font-size: 13px;
492 font-weight: 600;
493 line-height: 1.4;
494 text-decoration: none;
495}
496
497.ca-panel-close {
498 display: flex;
499 align-items: center;
500 justify-content: center;
501 width: 26px;
502 height: 26px;
503 padding: 0;
504 border: none;
505 border-radius: 6px;
506 background: transparent;
507 color: var(--vp-c-text-2);
508 cursor: pointer;
509 transition: background-color 0.2s, color 0.2s;
510}
511
512.ca-panel-close:hover {
513 background-color: var(--vp-c-bg-alt);
514 color: var(--vp-c-text-1);
515}
516
517.ca-notes {
518 margin: 8px 4px 0;
519 padding: 8px 10px 8px 24px;
520 border: 1px solid var(--vp-custom-block-warning-border);
521 border-radius: 8px;
522 background-color: var(--vp-custom-block-warning-bg);
523 color: var(--vp-custom-block-warning-text);
524 font-size: 12px;
525 line-height: 1.5;
526}
527
528.ca-notes li + li {
529 margin-top: 2px;
530}
531
532.ca-repos {
533 display: grid;
534 grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
535 gap: 6px;
536 margin-top: 8px;
537 padding: 0 4px 4px;
538}
539
540.ca-repo {
541 display: flex;
542 align-items: center;
543 justify-content: flex-start;
544 min-height: 32px;
545 padding: 6px 8px;
546 border: 1.5px solid #3d3d3d;
547 border-radius: 6px;
548 background-color: var(--vp-c-bg-soft);
549 color: var(--vp-c-text-1);
550 text-align: left;
551 text-decoration: none !important;
552 transition: border-color 0.2s, background-color 0.2s;
553}
554
555.ca-repo:hover {
556 border-color: var(--vp-c-brand-1);
557 background-color: var(--vp-c-bg);
558}
559
560.ca-repo.is-disabled {
561 opacity: 0.55;
562}
563
564.ca-repo-name {
565 font-size: 12.5px;
566 font-weight: 600;
567 line-height: 1.2;
568 color: var(--vp-c-text-1);
569 white-space: nowrap;
570 overflow: hidden;
571 text-overflow: ellipsis;
572}
573
574.ca-repo-icon {
575 position: relative;
576 display: flex;
577 align-items: center;
578 justify-content: center;
579 flex-shrink: 0;
580 width: 18px;
581 height: 18px;
582 margin-right: 6px;
583 border-radius: 4px;
584 overflow: hidden;
585 background-color: var(--vp-c-bg-alt);
586}
587
588.ca-repo-img {
589 position: absolute;
590 inset: 0;
591 width: 18px;
592 height: 18px;
593 object-fit: contain;
594 background-color: var(--vp-c-bg-alt);
595}
596
597.ca-repo-mono {
598 font-size: 10px;
599 font-weight: 700;
600 line-height: 1;
601 color: var(--vp-c-text-2);
602}
603
604.ca-error {
605 display: flex;
606 align-items: center;
607 gap: 10px;
608 padding: 14px;
609 border: 1px solid var(--vp-c-divider);
610 border-radius: var(--radius-xl, 12px);
611 background-color: var(--vp-c-bg-soft);
612 font-size: 13px;
613 color: var(--vp-c-text-2);
614}
615
616.ca-error button {
617 padding: 4px 10px;
618 border: 1px solid var(--vp-c-divider);
619 border-radius: 6px;
620 background-color: var(--vp-c-bg);
621 color: var(--vp-c-text-1);
622 font-size: 12px;
623 cursor: pointer;
624}
625
626.ca-skeleton {
627 cursor: default;
628}
629
630.ca-sk-row {
631 display: flex;
632 align-items: center;
633 gap: 6px;
634}
635
636.ca-sk-icon {
637 flex-shrink: 0;
638 width: 18px;
639 height: 18px;
640 border-radius: 4px;
641 background-color: var(--vp-c-bg-alt);
642}
643
644.ca-sk-line {
645 flex: 1;
646 height: 9px;
647 border-radius: 3px;
648 background-color: var(--vp-c-bg-alt);
649}
650
651.ca-sk-line.short {
652 display: block;
653 width: 38%;
654 height: 7px;
655 margin-top: 3px;
656 margin-left: 24px;
657}
658
659html.effects-disabled .ca-panel {
660 animation: none;
661}
662
663@media (prefers-reduced-motion: reduce) {
664 .ca-panel {
665 animation: none;
666 }
667}
668</style>
docs/.vitepress/theme/components/crossapp/platforms.data.ts added +29
@@ -0,0 +1,29 @@
1import { aliases } from '../../../configs/markdown/emoji'
2
3const PLATFORMS: Record<string, string> = {
4 and: 'Android',
5 ios: 'iOS / iPadOS',
6 win: 'Windows',
7 app: 'MacOS',
8 lin: 'Linux',
9 bsd: 'BSD',
10 cmd: 'CLI / TUI',
11 web: 'Website / Web-based'
12}
13
14export interface PlatformInfo {
15 icon: string
16 label: string
17}
18
19export default {
20 watch: ['../../../configs/markdown/emoji.ts'],
21 load(): Record<string, PlatformInfo> {
22 const result: Record<string, PlatformInfo> = {}
23 for (const [token, label] of Object.entries(PLATFORMS)) {
24 const icon = aliases[token]
25 if (icon) result[token] = { icon, label }
26 }
27 return result
28 }
29}
docs/.vitepress/theme/components/extrepo/ExtensionRepos.vue +1 −1
@@ -232,7 +232,7 @@ const { facets, isFiltering, filteredSites } = useRepoFilter(allSites, {
232232 :has-mixed="facets.hasMixed"
233233 :has-suggestive="facets.hasSuggestive"
234234 :available-content-types="facets.availableContentTypes"
235 :has-content-types="facets.availableContentTypes.length > 0"
235 :has-content-types="facets.availableContentTypes.length > 1"
236236 :has-broken="facets.hasBroken"
237237 />
238238 </div>
docs/.vitepress/theme/components/extrepo/install.ts +6 −1
@@ -13,6 +13,10 @@ export function manaBase(indexUrl: string): string {
1313 return indexUrl.replace(/\/sources\.json$/, '')
1414}
1515
16export function shosetsuBase(indexUrl: string): string {
17 return indexUrl.replace(/\/index\.json$/, '/')
18}
19
1620interface InstallOpts {
1721 suwatteV6?: boolean
1822 suwatteListUrl?: string
@@ -41,7 +45,7 @@ const INSTALL_URL_BUILDERS: Record<
4145}
4246
4347// Apps with no deep-link install scheme;
44const MANUAL_ONLY_SCHEMES = new Set(['manual', 'mana'])
48const MANUAL_ONLY_SCHEMES = new Set(['manual', 'mana', 'shosetsu'])
4549
4650// Schemes with no install or copy action
4751const BROWSE_ONLY_SCHEMES = new Set(['kotatsu', 'echo'])
@@ -73,6 +77,7 @@ export function copyValue(scheme: string, indexUrl: string): string {
7377 if (scheme === 'paperback') return paperbackBase(indexUrl)
7478 if (scheme === 'suwatte') return suwatteBase(indexUrl)
7579 if (scheme === 'mana') return manaBase(indexUrl)
80 if (scheme === 'shosetsu') return shosetsuBase(indexUrl)
7681 return indexUrl
7782}
7883
docs/.vitepress/theme/composables/medium-zoom.ts +1 −1
@@ -28,7 +28,7 @@ export function createMediumZoomProvider(app: App, router: Router) {
2828 const zoom = mediumZoom()
2929 zoom.refresh = () => {
3030 zoom.detach()
31 zoom.attach(':not(a) > img:not(.image-src)')
31 zoom.attach(':not(a) > img:not(.image-src):not(.no-zoom)')
3232 }
3333 app.provide(mediumZoomSymbol, zoom)
3434 watch(
docs/.vitepress/theme/globalComponents.ts +2
@@ -3,6 +3,7 @@ import { defineAsyncComponent } from 'vue'
33import Authors from './components/Authors.vue'
44import Block from './components/Block.vue'
55import Collapsible from './components/Collapsible.vue'
6import CrossAppSupport from './components/crossapp/CrossAppSupport.vue'
67import Fb from './components/Fb.vue'
78import Feedback from './components/Feedback.vue'
89import Highlight from './components/Highlight.vue'
@@ -28,5 +29,6 @@ export function registerGlobalComponents(app: App) {
2829 app.component('fb', Fb)
2930 app.component('Collapsible', Collapsible)
3031 app.component('ScrapeTable', ScrapeTable)
32 app.component('CrossAppSupport', CrossAppSupport)
3133 app.component('ExtensionRepos', ExtensionRepos)
3234}
docs/ext/aniyomi.md added +48
@@ -0,0 +1,48 @@
1---
2title: Aniyomi Extension Stores
3customDescription: Extension Stores & Guides Aniyomi
4outline: 2
5feedback: no
6og:
7 image: /embed/extension.png
8---
9
10## Aniyomi
11
12::: extrepo {scheme=aniyomi}
13
14== Yūzōnō
15- url: https://yuzono.github.io
16- src: https://github.com/yuzono/anime-extensions
17- raw: https://raw.githubusercontent.com/yuzono/anime-repo/repo/index.min.json
18
19== Secozzi
20- url: https://github.com/Secozzi/aniyomi-extensions
21- raw: https://raw.githubusercontent.com/Secozzi/aniyomi-extensions/refs/heads/repo/index.pb
22- data: https://raw.githubusercontent.com/Secozzi/aniyomi-extensions/refs/heads/repo/index.json
23:::
24
25## How-to
26
27::: tabs
28
29== Adding store
30- **Auto:** Click on **Install** and there will be a pop-up window in the app. Click **Add**.
31- **Manual:**
32 - Copy the **URL**.
33 - Then go to **:mdi-compass-outline: Browse -> Extensions -> :mdi-dots-vertical: -> Extension stores**.
34 - Click **:mdi-plus: Add**, paste the URL there and click **Add**
35
36<div class="video_wrapper"><iframe src="https://www.youtube.com/embed/3l5SdGkNIpY" frameborder="0" allowfullscreen></iframe></div>
37
38== Adding Extension
39
40:::steps
411. After [**adding the store**](#adding-store), go to **Home -> :mdi-compass: Browse -> Extensions**.
422. Install your extension by clicking :mdi-download-outline:.
433. You will now see it listed in **Sources**.
44:::
45
46<div class="video_wrapper"><iframe src="https://www.youtube.com/embed/IpMcwDqftB0" frameborder="0" allowfullscreen></iframe></div>
47
48:::
\ No newline at end of file
docs/ext/extensionRepos/shosetsu.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('shosetsu')
9 }
10}
docs/ext/index.md +12 −24
@@ -14,11 +14,18 @@ og:
1414
1515# Extension Repos
1616
17## Cross-app Support
18
19<CrossAppSupport />
20
1721## Android
1822
1923<Deck>
20 <Card title="Mihon & Aniyomi" href="/ext/mihon">
21 Manga & Anime
24 <Card title="Mihon" href="/ext/mihon">
25 Manga
26 </Card>
27 <Card title="Aniyomi" href="/ext/aniyomi">
28 Anime
2229 </Card>
2330 <Card title="Cloudstream" href="/ext/cloudstream">
2431 Anime & Live Action
@@ -35,6 +42,9 @@ og:
3542 <Card title="LNReader" href="/ext/lnreader">
3643 Novels
3744 </Card>
45 <Card title="Shosetsu" href="/ext/shosetsu">
46 Novels
47 </Card>
3848 <Card title="Tsundoku" href="/ext/tsundoku">
3949 Novels
4050 </Card>
@@ -67,25 +77,3 @@ og:
6777 Manga, Anime & Novels
6878 </Card>
6979</Deck>
70
71
72## Cross-app Support
73::: scrapetable
74- Anymex : (Mihon), (Aniyomi), (Mangayomi), (Kotatsu), (Cloudstream), (LNReader);
75- Cloudstream : (Cloudstream), (Aniyomi);
76- Dantotsu : (Mihon), (Aniyomi), (LNreader);
77- Futon : (Kotatsu), (Mihon);
78- IReader : (IReader), (LNreader);
79- Mana : (Mana), (Mihon);
80- Mangayomi : (Mihon), (Aniyomi), (Mangayomi);
81- Tsundoku : (Mihon), (LNReader), (Tsundoku), (Shosetsu);
82- Usagi : (Kotatsu), (Mihon), (LNreader);
83:::
84
85
86::: tip README
87- To use Mihon/Aniyomi extensions in Mangayomi, Anymex or Dartotsu, you have to enable apkbridge.
88- [**Anymex**](https://github.com/RyanYuuki/AnymeX) doesn't support Mihon, Aniyomi and Cloudstream extensions in iOS.
89- Similarly [**Mangayomi**](https://github.com/kodjodevf/mangayomi) doesn't support Mihon and Aniyomi extensions in iOS.
90
91:::
\ No newline at end of file
docs/ext/mihon.md +3 −20
@@ -1,30 +1,13 @@
11---
2title: Mihon, Aniyomi & Dantotsu Extension Stores
3customDescription: Extension Stores & Guides for Mihon, Aniyomi & Dantotsu
2title: Mihon Extension Stores
3customDescription: Extension Stores & Guides for Mihon
44outline: 2
55feedback: no
66og:
77 image: /embed/extension.png
88---
99
10# Mihon & Aniyomi
11
12## Anime
13
14::: extrepo {scheme=aniyomi}
15
16== Yūzōnō
17- url: https://yuzono.github.io
18- src: https://github.com/yuzono/anime-extensions
19- raw: https://raw.githubusercontent.com/yuzono/anime-repo/repo/index.min.json
20
21== Secozzi
22- url: https://github.com/Secozzi/aniyomi-extensions
23- raw: https://raw.githubusercontent.com/Secozzi/aniyomi-extensions/refs/heads/repo/index.pb
24- data: https://raw.githubusercontent.com/Secozzi/aniyomi-extensions/refs/heads/repo/index.json
25:::
26
27## Manga
10## Mihon
2811
2912::: extrepo {scheme=mihon,manual}
3013
docs/ext/shosetsu.md added +44
@@ -0,0 +1,44 @@
1---
2title: Shosetsu Extension Repositories
3customDescription: Extension Repositories for Shosetsu
4outline: 2
5feedback: no
6og:
7 image: /embed/extension.png
8---
9
10## Shosetsu
11
12::: extrepo {scheme=shosetsu, manual}
13
14== ShosetsuOrg
15- url: https://gitlab.com/shosetsuorg/extensions
16- raw: https://gitlab.com/shosetsuorg/extensions/-/raw/dev/index.json
17- data: https://kotatsu-83g.pages.dev/shosetsu/shosetsuorg.json
18
19== ShosetsuOrg Mirror
20- url: https://repo.shosetsu.app/universe
21- raw: https://repo.shosetsu.app/universe/index.json
22- data: https://kotatsu-83g.pages.dev/shosetsu/shosetsuorg-mirror.json
23
24== Noaione
25- url: https://github.com/noaione/shosetsu-extensions
26- raw: https://raw.githubusercontent.com/noaione/shosetsu-extensions/master/index.json
27- data: https://kotatsu-83g.pages.dev/shosetsu/noaione.json
28
29== jobobby04
30- url: https://github.com/jobobby04/ShosetsuExtensions
31- raw: https://jobobby04.github.io/ShosetsuExtensions/master/index.json
32- data: https://kotatsu-83g.pages.dev/shosetsu/jobobby04.json
33
34== suhan-paradkar
35- url: https://github.com/suhan-paradkar/ShosetsuExtensions
36- raw: https://raw.githubusercontent.com/suhan-paradkar/ShosetsuExtensions/master/index.json
37- data: https://kotatsu-83g.pages.dev/shosetsu/suhan-paradkar.json
38
39== capthehacker99
40- url: https://github.com/capthehacker99/ShosetLazyExtensions
41- raw: https://raw.githubusercontent.com/capthehacker99/ShosetLazyExtensions/master/index.json
42- data: https://kotatsu-83g.pages.dev/shosetsu/capthehacker99.json
43
44:::
docs/nsfw.md +1 −1
@@ -132,7 +132,7 @@ Try searching with Japanese titles or [**DLSite**](https://www.dlsite.com/index.
132132| General | [Komikku](https://komikku-app.github.io/) [:src:](https://github.com/komikku-app/komikku) [:e:](/ext/mihon) |
133133| ^^ | [Hentoid](https://codeberg.org/VioletKnight/Hentoid) |
134134| ^^ | [Jasmine](https://github.com/ComicSparks/jasmine) |
135| ^^ | [Aniyomi](https://github.com/jmir1/aniyomi-mpv-beta) [:e:](/ext/mihon) |
135| ^^ | [Aniyomi](https://github.com/jmir1/aniyomi-mpv-beta) [:e:](/ext/aniyomi) |
136136| E-Hentai | [EhViewer-UjuiUjuMandan](https://github.com/UjuiUjuMandan/EhViewer) |
137137| ^^ | [EhViewer-NekoInverter](https://github.com/EhViewer-NekoInverter/EhViewer) |
138138| ^^ | [JHenTai](https://github.com/jiangtian616/JHenTai) |
docs/software.md +3 −1
@@ -27,6 +27,7 @@ og:
2727| [Cloudstream](https://github.com/recloudstream/cloudstream) [:e:](/ext/cloudstream) | :ddl::mag: | :mal::al::simkl: | :tv::cast: |
2828| [Dantotsu](https://github.com/itsmechinmoy/dantotsu-updater) [:d:](https://discord.gg/4HPZ5nAWwM) [:src:](https://git.rebelonion.dev/rebelonion/Dantotsu) | :ddl::mag: | :mal::al: | :cast: |
2929| [Mangayomi](https://github.com/kodjodevf/mangayomi) | :ddl::mag: | :mal::al::k: | :no: |
30| [Dartotsu](https://github.com/aayush2622/Dartotsu) | :ddl::mag: | :mal::al::k::simkl: | :tv: |
3031| [Nuvio](https://nuvio.tv/) [:src:](https://github.com/NuvioMedia) [:e:](#tab-stremio) | :ddl::mag: | :mal::al::k::simkl: | :tv::cast: |
3132| [NyanTV](https://nyantv.vercel.app/) [:src:](https://gitlab.com/NyanTV/NyanTV) [:e:](/ext/mihon) | :ddl: | :mal::al::simkl: | :tv: |
3233
@@ -195,10 +196,11 @@ Check out [**CFW**](https://ios.cfw.guide/), [**JCoinx**](https://jcionx.dev/ios
195196| [Mangayomi](https://github.com/kodjodevf/mangayomi) [:e:](/ext/mangayomi) | :win::app::lin: | :mag::ddl: | :mal::al::k: |
196197| [Seanime](https://seanime.app/) [:src:](https://github.com/5rahim/seanime) | :win::app::lin: | :mag::ddl: | :mal::al::k::simkl: |
197198| [Unyo](https://github.com/K3vinb5/unyo-app) | :win::app::lin: | :ddl: | :al: |
198| [AnymeX](https://anymex.vercel.app/) [:src:](https://github.com/RyanYuuki/AnymeX) [:e:](/ext/mangayomi) | :win::app::lin: | :ddl: | :mal::al::simkl: |
199| [AnymeX](https://anymex.vercel.app/) [:src:](https://github.com/RyanYuuki/AnymeX) [:e:](/ext/) | :win::app::lin: | :ddl: | :mal::al::simkl: |
199200
200201<more>
201202
203| [Dartotsu](https://github.com/aayush2622/Dartotsu) [:e:](/ext/) | :win::app::lin: | :ddl::mag: | :mal::al::simkl: |
202204| [Toru](https://github.com/sweetbbak/toru) | :win::app::lin::cmd: | :mag: | :no: |
203205| [Zenshin](https://hitarth-gg.github.io/zenshin-website/) [:src:](https://github.com/hitarth-gg/zenshin) | :win::app::lin: | :mag: | :al: |
204206| [Curd](https://github.com/Wraient/curd) | :win::app::lin::cmd: | :ddl: | :al: |
unocss.config.ts +16
@@ -64,7 +64,23 @@ const customIcons = {
6464 // Add more custom icons here as needed
6565}
6666
67const platformIcons = [
68 'and',
69 'ios',
70 'win',
71 'app',
72 'lin',
73 'bsd',
74 'cmd',
75 'web'
76]
77 .map((token) => aliases[token])
78 .filter(Boolean)
79 .map((icon) => `i-${icon}`)
80
6781const safelist = [
82 ...platformIcons,
83 'i-lucide-monitor',
6884 ...Object.entries(colors).flatMap(([group, shades]) =>
6985 Object.keys(shades).flatMap((shade) => [
7086 `text-${group}-${shade}`,