add favicon, error page, remove garu tokenizer

Merged
SE
3mo ago
+335-181

Summary by cubic

Added site icons and a localized global error page with Sentry reporting. Replaced the garu-based Korean search with a lightweight in-house tokenizer to shrink the Worker bundle and simplify the search API.

  • New Features

    • Added favicons and Apple touch icon; linked in __root head tags.
    • Global error page with locale-aware UI, retry via router.invalidate(), home action, and Sentry event ID. Shows raw error message only in dev.
  • Refactors

    • Replaced garu-ko/garu-orama-tokenizer with a small Korean tokenizer for @orama/orama that strips common particles/endings and unions with English tokens; no longer forwards language to the base tokenizer to avoid Orama LANGUAGE_NOT_SUPPORTED.
    • Simplified search server: per-locale map uses the custom ko tokenizer and builds once without dynamic imports.
    • Removed garu-specific Vite aliases/plugins, garu-runtime.d.ts, and related deps; cleaned package.json/yarn.lock; dropped WORKS.md.
    • Added *.env to .gitignore.