Skip to content
Tech News
← Back to articles

Show HN: Kage – Shadow any website to a single binary for offline viewing

read original get Kage Website Shadowing Tool → more articles
Why This Matters

Kage offers a reliable way to clone and archive websites for offline viewing by stripping out all scripts and tracking elements, ensuring users can access static versions of web pages long-term. This innovation addresses the common problem of dynamic, script-heavy sites becoming inaccessible or non-functional over time, providing both consumers and developers with a more durable and privacy-conscious method of web preservation.

Key Takeaways

kage

kage (影, "shadow") clones a website into a folder you can browse offline, with every script stripped out. It opens each page in real headless Chrome, waits for the page to settle, snapshots the DOM a human would have seen, then deletes all the JavaScript and pulls the CSS, images, and fonts down to local paths. What lands on disk looks like the live site and runs no code.

Install • Quick start • Commands • Clone • Pack • Native window • How it works

You already know the problem. You hit "Save As" on a page you want to keep, and six months later you open it to find a blank screen, a spinner that never stops, or a copy that still tries to phone home to an analytics server that no longer exists. The page was never really yours. It was a thin client for someone else's JavaScript.

kage takes the other road. It drives a real browser, lets the page finish doing whatever it does, grabs the finished result, and then rips every script out of it. No tracking, no network calls, no surprises. Just .html files you can open straight off disk, hand to a friend, or pack into a single file and forget about for a decade.

Full docs and guides live at kage.tamnd.com.

Install

go install github.com/tamnd/kage/cmd/kage@latest

Prefer a prebuilt binary? Grab an archive, a .deb / .rpm / .apk , or a checksum from releases. Or skip installing Chrome yourself and use the container image, which bundles Chromium:

docker run --rm -v " $PWD /out:/out " ghcr.io/tamnd/kage clone paulgraham.com

... continue reading