Commit a1dfcb1b0f

a1dfcb1b0f142c0b626d6eb7814666683c1324f6

parent: 5326392b6e

Unsigned

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

shithua

Layout: unified · split

docs/.vitepress/theme/components/LibrarySize.vue +7 −3
@@ -10,7 +10,11 @@ interface Entry {
1010 size: string
1111 updated: string
1212}
13type Library = { anime: Record<string, Entry>; manga: Record<string, Entry> }
13type Library = {
14 anime: Record<string, Entry>
15 manga: Record<string, Entry>
16 donghua: Record<string, Entry>
17}
1418
1519// One shared request per page, regardless of how many markers are used.
1620let pending: Promise<Library> | null = null
@@ -19,7 +23,7 @@ function load(): Promise<Library> {
1923 if (!pending) {
2024 pending = fetch(LIBRARY_URL)
2125 .then(res => (res.ok ? res.json() : Promise.reject(res.status)))
22 .catch(() => ({ anime: {}, manga: {} }) as Library)
26 .catch(() => ({ anime: {}, manga: {}, donghua: {} }) as Library)
2327 }
2428 return pending
2529}
@@ -28,7 +32,7 @@ const normalize = (s: string) => s.toLowerCase().replace(/[^a-z0-9]/g, '')
2832
2933function lookup(lib: Library, name: string): string | undefined {
3034 const wanted = normalize(name)
31 for (const section of [lib.manga, lib.anime]) {
35 for (const section of [lib.manga, lib.anime, lib.donghua]) {
3236 for (const [site, entry] of Object.entries(section ?? {})) {
3337 if (normalize(site) === wanted) return entry.size
3438 }
docs/websites.md +17 −14
@@ -41,20 +41,23 @@ outline: 2
4141
4242== Donghua
4343
44- [Anime4i](https://anime4i.com/) [:tg:](https://t.me/anime4iz)
45- [Anime Cube](https://animecube.live/) [:tg:](https://t.me/animecubehub)
46- [AnimeKhor](https://animekhor.org/) [:tg:](https://t.me/AnimeKhorOfficial)
47- [AnimeXin](https://animexin.dev/)
48- [Chiki Animation 2D](https://chikianimation.com/) [:tg:](https://t.me/Donghuanewofficial)
49- [Chiki Animation 3D](https://chikianimation.online/) [:tg:](https://t.me/Dimensional_Animation)
50- [donghua.site](https://donghua.site/)
51- [Donghua Stream](https://donghuastream.org/) [:d:](https://discord.gg/4zrUguAakG) [:tg:](https://t.me/DonghuaStream_com)
52- [Dongsub](https://www.dongsub.net/) [:tg:](https://t.me/dongsub)
53- [H-Donghua](https://h-donghua.com/) [:d:](https://discord.gg/XfJd7YC2XW%20) [:tg:](https://t.me/h_donghua)
54- [LM Anime](https://lmanime.com/)
55- [Lucifer Donghua](https://luciferdonghua.in/) [:tg:](https://t.me/luciferdonghuaz)
56- [Narul Donghua](https://naruldonghua.com/) [:tg:](https://t.me/Narudonghuachat)
57- [WowTopix](https://wowtopix.com/)
44| Websites | Library ==Library== | Social |
45|----------|---------------------|--------|
46| [Anime4i](https://anime4i.com/) | ==l:anime4i== | [:tg:](https://t.me/anime4iz) |
47| [Anime Cube](https://animecube.live/) | ==l:animecube== | [:tg:](https://t.me/animecubehub) |
48| [AnimeKhor](https://animekhor.org/) | ==l:animekhor== | [:tg:](https://t.me/AnimeKhorOfficial) |
49| [AnimeXin](https://animexin.dev/) | ==l:animexin== | :no: |
50| [Chiki Animation 2D](https://chikianimation.com/) | ==l:chiki2d== | [:tg:](https://t.me/Donghuanewofficial) |
51| [Chiki Animation 3D](https://chikianimation.online/) | ==l:chiki3d== | [:tg:](https://t.me/Dimensional_Animation) |
52
53<more>
54
55| [Donghua Stream](https://donghuastream.org/) | ==l:donghuastream== | [:d:](https://discord.gg/4zrUguAakG) [:tg:](https://t.me/DonghuaStream_com) |
56| [Dongsub](https://www.dongsub.net/) | ==l:dongsub== | [:tg:](https://t.me/dongsub) |
57| [LM Anime](https://lmanime.com/) | ==l:lmanime== | :no: |
58| [Lucifer Donghua](https://luciferdonghua.in/) | ==l:luciferdonghua== | [:tg:](https://t.me/luciferdonghuaz) |
59| [Narul Donghua](https://naruldonghua.com/) | ==l:naruldonghua== | [:tg:](https://t.me/Narudonghuachat) |
60| [WowTopix](https://wowtopix.com/) | ==l:wowtopix== | :no: |
5861
5962
6063== Download