One HTML per Chapter
Fits free static hosting budgets on EdgeOne, ESA (2,000-file cap), GitHub Pages, and Workers while remaining readable without JavaScript.
Pure-static Astro manga reader, browser-side SQLite Wasm dialogue search, and portable multi-host delivery backed by private R2.
What Pagehaven Delivers
site.config.yaml SSOT drives Astro 7.4 to compile one static HTML page per chapter portable across EdgeOne, Alibaba Cloud ESA Pages (<=1,999 app files), GitHub Pages, and Cloudflare Workers, paired with private R2 uploads, live HTTPS proof checks, and ETag If-Match manifest.json activation.normalizeText + FTS5 trigram / LIKE search resolves hits to #p<n>b<i> speech boxes; the progressive reader offers single-page, O(log N) binary-search long-strip, double-page, 100-chapter TOC shards, and optional Comimi enhancement.localStorage and migrate cleanly via strict pagehaven-reading-backup JSON validation (up to 5 MiB / 20,000 records).Explicit Non-Goals & Hard Boundaries
features.range_search in site.config.yaml and rebuild to read verified SQLite blocks on demand in a dedicated worker. The default build uses a bounded whole-file download (30 MiB by default).2,000 total files / 1,024,000,000 B; raw ingest:ocr drafts never enter production search without --accept-reviewed; credentials never enter site.config.yaml or client bundles.The repository starts as a clean template catalog. Verify a complete static build locally:
pnpm install --frozen-lockfile
pnpm run build
pnpm run check
pnpm --filter @gallery/site run preview
# Preview opens at http://localhost:4321 (pass DATA_DIR=packages/core/test/fixtures/data for sample chapters)Jump by Reader Goal
repo-docs/README.md.