website-mirror
Installation
SKILL.md
Website Mirror
One question decides everything:
Will the bytes I save still contain the content with no network?
Mirroring fails silently when content is fetched at view-time. Answer that first, then pick a tool.
Answer it: where does the content live?
curl -sL <url> (or view-source) and grep for text you can see on the page:
- In the HTML → any tool works (static site).
- Rendered by JS from data already inline (
var data=[…],__NEXT_DATA__) → works offline if the saved file keeps its scripts (monolith and wget do). - Fetched from an API at runtime (
fetch('/api/…'), infinite scroll) → the saved page renders blank offline. Resolve the API and bake the data in, or capture already-rendered HTML with firecrawl.