docs/.vitepress/configs/constants.ts
557 lines · 14164 bytes
1/**
2 * All Rights Reserved
3 *
4 * Copyright (c) 2025 taskylizard
5 *
6 * All rights reserved. This code and its associated files may not be copied, modified, distributed, sublicensed, or used in any form, in whole or in part, without prior written permission from the copyright holder.
7 */
8import type { DefaultTheme } from 'vitepress'
9
10export interface HomeCard {
11 id: string
12 icon: string
13 title: string
14 details: string
15 link: string
16 featured?: boolean
17 section?: string
18}
19
20// @unocss-include
21export const homeCards: HomeCard[] = [
22 {
23 id: 'websites',
24 icon: ':lucide-earth:',
25 title: 'Websites',
26 details: 'Websites for anime, manga, novels & tokusatsu',
27 link: '/websites',
28 featured: true
29 },
30 {
31 id: 'software',
32 icon: ':lucide-box:',
33 title: 'Software',
34 details: 'Software for every Operating System',
35 link: '/software',
36 featured: true
37 },
38 {
39 id: 'misc',
40 icon: ':lucide-folder-open:',
41 title: 'Misc-sites',
42 details: 'Various sites for database, info, tracking news & tools',
43 link: '/misc',
44 featured: true
45 },
46 {
47 id: 'tools',
48 icon: ':lucide-wrench:',
49 title: 'Tools',
50 details: 'Software to make life easier',
51 link: '/tools'
52 },
53 {
54 id: 'art',
55 icon: ':lucide-brush:',
56 title: 'Art',
57 details: 'Everything Art',
58 link: '/art'
59 },
60 {
61 id: 'music',
62 icon: ':lucide-music:',
63 title: 'Music',
64 details: 'Wotaku Music Megathread!',
65 link: '/music'
66 },
67 {
68 id: 'games',
69 icon: ':lucide-gamepad-2:',
70 title: 'Games',
71 details: 'Wotaku Games Megathread!',
72 link: '/games'
73 },
74 {
75 id: 'nonen',
76 icon: ':lucide-map:',
77 title: 'Non-English',
78 details: 'Otaku resources for other regions',
79 link: '/nonen'
80 },
81 {
82 id: 'nsfw',
83 icon: ':lucide-ban:',
84 title: 'NSFW',
85 details: 'hen...',
86 link: '/nsfw',
87 featured: true
88 },
89 {
90 id: 'merch',
91 icon: ':lucide-package-2:',
92 title: 'Merch',
93 details: 'Everything merch related!',
94 link: '/merch'
95 },
96 {
97 id: 'vtuber',
98 icon: ':comet:',
99 title: 'VTuber',
100 details: 'Sui-chan wa~',
101 link: '/vtuber'
102 },
103 {
104 id: 'ext',
105 icon: ':lucide-puzzle:',
106 title: 'Extensions',
107 details: 'Extensions for everything',
108 link: '/ext',
109 featured: true
110 },
111 {
112 id: 'guides',
113 icon: ':lucide-book-key:',
114 title: 'Guides',
115 details: 'Various technical guides and tutorials',
116 link: '/guides',
117 featured: true
118 },
119 {
120 id: 'glossary',
121 icon: ':lucide-book-open:',
122 title: 'Glossary',
123 details: 'Learn the most frequently used otaku terms',
124 link: '/glossary',
125 featured: true
126 },
127 {
128 id: 'torrenting',
129 icon: ':lucide-magnet:',
130 title: 'Torrenting',
131 details: 'All the basic how-tos about torrenting',
132 link: '/torrenting',
133 featured: true
134 },
135 {
136 id: 'japan',
137 icon: ':uil-letter-japanese-a:',
138 title: 'Japan',
139 details: 'Everything Japan on one page!',
140 link: '/japan'
141 },
142 {
143 id: 'faq',
144 icon: ':lucide-message-circle-question-mark:',
145 title: 'FAQs',
146 details: 'Frequently asked questions about manga and anime',
147 link: '/faq'
148 },
149 {
150 id: 'comms',
151 icon: ':lucide-messages-square:',
152 title: 'Communities',
153 details: 'More great otaku communities!',
154 link: '/comms'
155 },
156 {
157 id: 'credits',
158 icon: ':lucide-heart-handshake:',
159 title: 'Credits',
160 details: 'All the contributors of Wotaku',
161 link: '/credits'
162 },
163 {
164 id: 'ext-mihon',
165 icon: ':lucide-puzzle:',
166 title: 'Mihon & Aniyomi',
167 details: 'Mihon & Aniyomi-based extension repos',
168 link: '/ext/mihon',
169 section: 'Extensions'
170 },
171 {
172 id: 'ext-mangayomi',
173 icon: ':lucide-puzzle:',
174 title: 'Mangayomi',
175 details: 'Mangayomi-based extension repos',
176 link: '/ext/mangayomi',
177 section: 'Extensions'
178 },
179 {
180 id: 'ext-ios',
181 icon: ':lucide-puzzle:',
182 title: 'iOS Extensions',
183 details: 'iOS anime and manga repos',
184 link: '/ext/ios',
185 section: 'Extensions'
186 },
187 {
188 id: 'ext-misc',
189 icon: ':lucide-puzzle:',
190 title: 'Misc Extensions',
191 details: 'Extension repos for other apps',
192 link: '/ext/misc',
193 section: 'Extensions'
194 },
195 {
196 id: 'glossary-general',
197 icon: ':lucide-book-open:',
198 title: 'General Glossary',
199 details: 'Basic otaku-related terms',
200 link: '/glossary/general',
201 section: 'Glossary'
202 },
203 {
204 id: 'glossary-anime',
205 icon: ':lucide-book-open:',
206 title: 'Anime Glossary',
207 details: 'Season, release and production terms',
208 link: '/glossary/anime',
209 section: 'Glossary'
210 },
211 {
212 id: 'glossary-manga',
213 icon: ':lucide-book-open:',
214 title: 'Manga Glossary',
215 details: 'Panel, release and scanlation terms',
216 link: '/glossary/manga',
217 section: 'Glossary'
218 },
219 {
220 id: 'glossary-audio',
221 icon: ':lucide-book-open:',
222 title: 'Audio Glossary',
223 details: 'Audio files, software and hardware terms',
224 link: '/glossary/audio',
225 section: 'Glossary'
226 },
227 {
228 id: 'glossary-nsfw',
229 icon: ':lucide-book-open:',
230 title: 'NSFW Glossary',
231 details: 'Things Jesus wouldn\'t want you to know',
232 link: '/glossary/nsfw',
233 section: 'Glossary'
234 },
235 {
236 id: 'guides-discrip',
237 icon: ':lucide-book-key:',
238 title: 'Disc Ripping',
239 details: 'Guide on how to rip Discs and conversions to MKV and ISO formats',
240 link: '/guides/anime/discrip',
241 section: 'Guides'
242 },
243 {
244 id: 'guides-cubari',
245 icon: ':lucide-book-key:',
246 title: 'Cubari Guide',
247 details: 'How to proxy comics through Cubari.moe',
248 link: '/guides/manga/cubari',
249 section: 'Guides'
250 },
251 {
252 id: 'guides-comicinfo',
253 icon: ':lucide-book-key:',
254 title: 'Digital Comic Info',
255 details: 'Information about digital comic publishers & resolutions',
256 link: '/guides/manga/comicinfo',
257 section: 'Guides'
258 },
259 {
260 id: 'guides-mdl',
261 icon: ':lucide-book-key:',
262 title: 'Downloading Manga',
263 details: 'How to download manga on PC',
264 link: '/guides/manga/mdl',
265 section: 'Guides'
266 },
267 {
268 id: 'guides-jxl',
269 icon: ':lucide-book-key:',
270 title: 'JXL Manga Readers',
271 details: 'Manga readers with JPEG XL / JXL support for Android, iOS & PC',
272 link: '/guides/manga/jxl',
273 section: 'Guides'
274 },
275 {
276 id: 'guides-madokami',
277 icon: ':lucide-book-key:',
278 title: 'Madokami Guide',
279 details: 'The joining and downloading guide for Madokami',
280 link: '/guides/manga/madokami',
281 section: 'Guides'
282 },
283 {
284 id: 'guides-imagedit',
285 icon: ':lucide-book-key:',
286 title: 'Manga Image Editing',
287 details: 'ImageMagick guide for grayscaling, leveling, and optimizing',
288 link: '/guides/manga/imagedit',
289 section: 'Guides'
290 },
291 {
292 id: 'guides-opds',
293 icon: ':lucide-book-key:',
294 title: 'OPDS E-reader',
295 details: 'How to self-host your library to your Kindle',
296 link: '/guides/manga/opds',
297 section: 'Guides'
298 },
299 {
300 id: 'guides-transcoding',
301 icon: ':lucide-book-key:',
302 title: 'Transcoding Audio',
303 details: 'Basic guide for transcoding audio files',
304 link: '/guides/music/transcoding',
305 section: 'Guides'
306 },
307 {
308 id: 'guides-adblock',
309 icon: ':lucide-book-key:',
310 title: 'Adblocking & Privacy',
311 details: 'Adblocking solutions for every device & VPN listing',
312 link: '/guides/tech/adblock',
313 section: 'Guides'
314 },
315 {
316 id: 'guides-jdl',
317 icon: ':lucide-book-key:',
318 title: 'JDL2 Ad-Removal',
319 details: 'Remove banner & pop-up ads from JDownloader2',
320 link: '/guides/tech/jdl',
321 section: 'Guides'
322 },
323 {
324 id: 'japan-language',
325 icon: ':uil-letter-japanese-a:',
326 title: 'Learning Japanese',
327 details: 'Japanese language learning resources',
328 link: '/japan/language',
329 section: 'Japan'
330 },
331 {
332 id: 'japan-immersion',
333 icon: ':uil-letter-japanese-a:',
334 title: 'Immersion',
335 details: 'Media to help you learn Japanese',
336 link: '/japan/immersion',
337 section: 'Japan'
338 },
339 {
340 id: 'japan-software',
341 icon: ':uil-letter-japanese-a:',
342 title: 'Japan Software',
343 details: 'Software to help you learn Japanese',
344 link: '/japan/software',
345 section: 'Japan'
346 },
347 {
348 id: 'japan-culture',
349 icon: ':uil-letter-japanese-a:',
350 title: 'Culture',
351 details: 'Learn all about Japanese culture, history & customs',
352 link: '/japan/culture',
353 section: 'Japan'
354 }
355]
356
357export const hostname: string = 'https://wotaku.wiki'
358export const excludedFiles = ['t.md', 'sandbox.md']
359
360// @unocss-include
361export const nav: DefaultTheme.NavItem[] = []
362
363export const sidebar: DefaultTheme.Sidebar = [
364 {
365 text: '<span class="i-lucide:earth"></span> Websites',
366 link: '/websites'
367 },
368 {
369 text: '<span class="i-lucide:box"></span> Software',
370 link: '/software'
371 },
372 {
373 text: '<span class="i-lucide:folder-open"></span> Misc-sites',
374 link: '/misc'
375 },
376 {
377 text: '<span class="i-lucide:wrench"></span> Tools',
378 link: '/tools'
379 },
380 {
381 text: '<span class="i-lucide:brush"></span> Art',
382 link: '/art'
383 },
384 {
385 text: '<span class="i-lucide:music"></span> Music',
386 link: '/music'
387 },
388 {
389 text: '<span class="i-lucide:gamepad-2"></span> Games',
390 link: '/games'
391 },
392 {
393 text: '<span class="i-lucide:map"></span> Non-English',
394 link: '/nonen'
395 },
396 {
397 text: '<span class="i-lucide:ban"></span> NSFW',
398 link: '/nsfw'
399 },
400 {
401 text: '<span class="i-lucide:package-2"></span> Merch',
402 link: '/merch'
403 },
404 {
405 text: '<span class="i-twemoji-comet"></span> VTuber',
406 link: '/vtuber'
407 },
408 {
409 text:
410 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:puzzle"></span> Extensions',
411 collapsed: true,
412 link: '/ext',
413 items: [
414 { text: 'Mihon & Aniyomi', link: '/ext/mihon' },
415 { text: 'Mangayomi', link: '/ext/mangayomi' },
416 { text: 'iOS apps', link: '/ext/ios' },
417 { text: 'Miscellaneous', link: '/ext/misc' }
418 ]
419 },
420 {
421 text:
422 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:book-key"></span> Guides',
423 collapsed: true,
424 link: '/guides',
425 items: [
426 {
427 text: 'Anime',
428 collapsed: true,
429 items: [
430 { text: 'Disc Ripping', link: '/guides/anime/discrip' },
431 ]
432 },
433 {
434 text: 'Manga',
435 collapsed: true,
436 items: [
437 { text: 'Cubari guide', link: '/guides/manga/cubari' },
438 { text: 'Digital Comic Info', link: '/guides/manga/comicinfo' },
439 { text: 'Downloading Manga', link: '/guides/manga/mdl' },
440 { text: 'JXL Manga Readers', link: '/guides/manga/jxl' },
441 { text: 'Madokami', link: '/guides/manga/madokami' },
442 { text: 'Manga Image Editing', link: '/guides/manga/imagedit' },
443 { text: 'OPDS to E-reader', link: '/guides/manga/opds' }
444 ]
445 },
446 {
447 text: 'Music',
448 collapsed: true,
449 items: [
450 { text: 'Transcoding Audio', link: '/guides/music/transcoding' }
451 ]
452 },
453 {
454 text: 'Technical',
455 collapsed: true,
456 items: [
457 { text: 'Blocking Ads', link: '/guides/tech/adblock' },
458 { text: 'JDL2 Ad-removal', link: '/guides/tech/jdl' }
459 ]
460 }
461 ]
462 },
463 {
464 text:
465 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:book-open"></span> Glossary',
466 collapsed: true,
467 link: '/glossary',
468 items: [
469 { text: 'General', link: '/glossary/general' },
470 { text: 'Anime', link: '/glossary/anime' },
471 { text: 'Manga', link: '/glossary/manga' },
472 { text: 'Audio', link: '/glossary/audio' },
473 { text: 'NSFW', link: '/glossary/nsfw' }
474 ]
475 },
476 {
477 text:
478 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:magnet"></span> Torrenting',
479 collapsed: true,
480 link: '/torrenting',
481 items: [
482 { text: 'Getting Started', link: '/torrenting/start' },
483 { text: 'FAQs', link: '/torrenting/faq' },
484 { text: 'Glossary', link: '/torrenting/glossary' },
485 { text: 'Nyaa', link: '/torrenting/nyaa' },
486 { text: 'qBittorrent', link: '/torrenting/qbit' },
487 { text: `Trackers`, link: '/torrenting/trackers' }
488 ]
489 },
490 {
491 text:
492 '<span class="mr-2 w-4 h-4 bg-cover i-uil:letter-japanese-a"></span> Japan',
493 collapsed: true,
494 link: '/japan',
495 items: [
496 { text: 'Language', link: '/japan/language' },
497 { text: 'Immersion', link: '/japan/immersion' },
498 { text: 'Software', link: '/japan/software' },
499 { text: 'Culture', link: '/japan/culture' }
500 ]
501 },
502 {
503 text: '<span class="i-lucide:message-circle-question"></span> FAQs',
504 link: '/faq'
505 },
506 {
507 text: '<span class="i-lucide:messages-square"></span> Communities',
508 link: '/comms'
509 },
510 {
511 text: '<span class="i-lucide:heart-handshake"></span> Credits',
512 link: '/credits'
513 }
514]
515
516export const siteConfig = {
517 title: 'Wotaku',
518 description:
519 'Wotaku, your hub for all otaku interests. We list websites for Anime, Manga, Light Novels, Music, Games and Hentai, also Aniyomi and Mihon extensions.',
520 lang: 'en-US',
521 lastUpdated: true,
522 cleanUrls: true,
523 ignoreDeadLinks: true,
524 appearance: true,
525 titleTemplate: ':title • Wotaku.wiki by Duck',
526 head: [
527 ['meta', { name: 'theme-color', content: '#56b4fc' }],
528 ['meta', { name: 'og:type', content: 'website' }],
529 ['meta', { name: 'og:locale', content: 'en' }],
530 ['link', { rel: 'icon', href: '/asset/fav.svg' }],
531 // PWA
532 ['link', { rel: 'icon', href: '/asset/fav.svg', type: 'image/svg+xml' }],
533 ['link', { rel: 'alternate icon', href: '/asset/fav.svg' }],
534 ['link', { rel: 'mask-icon', href: '/asset/fav.svg', color: '#56b4fc' }],
535 // prettier-ignore
536 [
537 'meta',
538 {
539 name: 'keywords',
540 content:
541 'Anime, Anime Piracy, Manga, Manga Piracy, VTuber, Hentai, JPOP, Music, Japan, Learning Japanese, Weeb, Otaku'
542 }
543 ],
544 [
545 'link',
546 {
547 rel: 'apple-touch-icon',
548 href: '/asset/fav.svg',
549 sizes: '192x192'
550 }
551 ]
552 ],
553 srcExclude: ['README.md', 'sandbox/**/*.md'],
554 sitemap: {
555 hostname: hostname
556 }
557}