Creating offline website mirrors with kage

kage, recently discussed on HN, "shadow[s] any website for offline viewing, with the JavaScript stripped out". Set up in a new Ubuntu 26.04 ARM64 VM:

  1. Install Chromium via App Center

  2. Install a compatible Go version

    wget https://go.dev/dl/go1.26.4.linux-arm64.tar.gz
    sudo tar -C /usr/local -xzf go1.26.4.linux-arm64.tar.gz
    echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.bashrc && source ~/.bashrc
  3. Install kage

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

  4. Clone the desired site

    kage clone example.com --chrome /snap/bin/chromium

  5. Browse the archive

    kage includes a serve command, but any HTTP server will do:

    cd ~/data/kage/example.com
    python3 -m http.server

    Then open http://127.0.0.1:8000/ in your browser.

❧ 2026-06-18