Skip to content

Releases: Jane-xiaoer/claude-skill-web-clone

v1.6.0 — Static-site 1:1 faithful clone (mirror-site)

Choose a tag to compare

@Jane-xiaoer Jane-xiaoer released this 30 Jun 10:47

首个正式 Release · First tagged release.

🆕 v1.6.0 — Static-built site 1:1 faithful clone / 静态构建站 1:1 忠实复刻

EN — For static-built sites (Astro / Vite SSG / Hugo), "getting the real source" means mirroring the entire deployed asset bundle — even WebGL-heavy ones. The client runtime is fully shipped to the browser, so the deployment is the source.

  • scripts/mirror-site.mjs — drives a real browser, full-scroll-captures every actual network request (including JS-runtime-fetched binaries: .sog / .buf / .wasm / .riv / fonts), and mirrors every same-origin asset preserving paths. Flags third-party hosts + domain-locked webfont CSS (Typekit/Google) to self-host.
  • references/static-mirror.md — full recipe: capture → mirror → self-host locked fonts → rewrite @import → serve from web root. With a worked example.
  • Decision-tree fix — the old "Astro → go find a theme on a market" row was wrong for bespoke static sites; custom builds now route to full asset mirror.

Worked example — oryzo.ai (Lusion, L6): Astro shell + Three.js + custom GLSL + 3D Gaussian Splatting + GSAP scroll. Mirrored 135 deployed assets, self-hosted Typekit, stripped tracking. Result: 0 console errors, exact scrollHeight match, hero pixel-diff 36 / 1,296,000 (5/5).

中文 — 对静态构建站(Astro/Vite SSG/Hugo),"拿到真源码"="镜像部署资产整套",哪怕是重 WebGL 站。新增全滚动捕获镜像脚本 + 完整配方 + 修正决策树"Astro 一律甩主题市场"的错。实战:Lusion oryzo.ai 1:1 跑通,hero 像素 diff 5/5。

📦 Also included since v1.5.0 (never released before)

  • design-dna.json layer for visual/rebrand modes (dna-scaffold.mjs) — schema adapted from zanwei/design-dna (MIT).
  • Evidence-grading discipline for WebGL reverse-engineering: SOURCE/PARTIAL/GUESS + baseline-first gate (references/effect-extraction.md) — concept-inspired by lixiaolin94/web-shader-extractor.

⚖️ Iron rule unchanged

Real source first — never copy AI-hallucinated code. For static sites, the real source is the deployed bundle.