Kage allows offline website cloning by stripping JavaScript

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

Why This Matters

Enables secure offline website archiving without executable code risks

Open-source tool Kage creates offline copies of websites by removing JavaScript and downloading CSS, images, and fonts locally. The tool uses headless Chrome to capture DOM snapshots after page rendering is complete.

Kage is an open-source command-line tool that creates offline copies of websites for local browsing. The tool opens each webpage in headless Chrome, waits for the page to fully load and settle, then captures a DOM snapshot of what users would see. It strips out all JavaScript code while downloading CSS files, images, and fonts to local paths. The resulting offline copy maintains the visual appearance of the original site but runs no executable code. The tool addresses the common problem where standard browser 'Save As' functionality fails to preserve websites properly for long-term offline access.

Source

github.com — Read original →