5b4b523419
Rewrite the README around a real example, mirroring paulgraham.com for offline reading, and split packing into two clean sections: a single ZIM file (with what ZIM is and how to read it back through Kiwix) and a self-contained binary. Re-record the demo gif against paulgraham.com and add a screenshot of the native window serving the essays offline. Carry the same framing into the docs intro pages and the packing guide, and cut the v0.1.1 release notes.
2.3 KiB
2.3 KiB
title, description, weight
| title | description | weight |
|---|---|---|
| Release notes | What changed in each kage release. | 40 |
The authoritative, commit-level history lives in CHANGELOG.md and on the releases page. This page summarises each version.
v0.1.1
Packing, so a clone can travel as one file instead of a folder.
kage pack <mirror-dir>collapses a mirror into a single distributable file.--format zim(the default) writes an open ZIM archive, the same format Kiwix uses, so the file opens in any ZIM reader and not just kage.--format binaryappends that archive to a copy of kage to make a self-contained executable that serves the site offline when run. Packing is deterministic, so the same mirror produces a byte-identical file.kage open <file.zim>serves a packed ZIM back over a local HTTP server, the read side ofkage pack --format zim.- An optional native-window viewer. Built with
-tags webview,kage openand a packed binary show the site in a real window backed by the operating system's WebView instead of a browser tab. The default build stays pure Go and opens the browser, so the release pipeline is unchanged. - A pure-Go
zimpackage that reads and writes the ZIM format: a fixed header, MIME and pointer lists, zstd or stored clusters, redirects, and a trailing MD5.
v0.1.0
The first release. kage clones a live website into a self-contained folder you can browse offline, with every script stripped out.
kage clone <url>renders each page in headless Chrome, strips all JavaScript, and localises CSS, images, and fonts to relative paths.kage serve [dir]previews a cloned folder over a local file server.- Idempotent and resumable. Each page is keyed by the file it writes, so a page reached over http and https, or as
/index.htmlversus/, is fetched once. Re-running resumes;--refreshre-renders in place;--forcestarts clean. - Polite by default. Honours
robots.txt, seeds fromsitemap.xml, scopes to the seed host, and runs three parallel worker tiers. - Packaged everywhere. Archives,
.deb/.rpm/.apk, a multi-arch GHCR image with Chromium bundled, checksums, SBOMs, and a cosign signature.