Zig's official material is deep and mostly available in English. zig-web is an independent community project that adds a multilingual reading layer and a clear path from first install to a working project. It is not an official Zig site; Zig's own documentation remains authoritative.
- A clear path from install to first project — choose a version, install Zig, create a project, and run it.
- Reference and runnable examples — browse the standard library, release channels, and small Zig programs.
- A reading experience built for focus — light, dark, and system themes; responsive layouts; works without JavaScript.
Install the pinned toolchain with mise, then start the local site:
mise install
pnpm install
pnpm content:fetch
mise run devProduction builds require SITE_URL, the public origin used for canonical links, the sitemap, and feeds:
export SITE_URL=https://example.org
pnpm build
pnpm verify:buildmise run checkruns lint, formatting, Astro types, and Zig tests.mise run examplescompiles and runs the Zig examples.mise run testruns browser tests and needs Google Chrome.TRANSLATION_FEEDBACK_URLsets where readers send translation feedback.
src/content/official/content.lock.json pins the articles, release index, viewers, and embedded
media as one snapshot. After pnpm content:fetch, development and full-site builds work offline.
The command prints the readable articles directory under the gitignored .cache/official/.
mise run sync:officialcreates a candidate inoutput/while the active snapshot stays available.pnpm content:publish --check <candidate>builds it and checks translations, links, and local media.pnpm content:publish <candidate>validates and uploads the archives, verifies their remote SHA-256 digests, and then updates the local lock. The command stops if another publisher changes the active snapshot. Keep existing release assets for older checkouts.- To install a candidate from local archives, run
ZIG_WEB_CONTENT_LOCK=<candidate>/content.lock.json pnpm content:fetch --local.
If a forcibly stopped publish leaves src/content/official/content.lock.json.activating/, confirm
no publisher is running before removing the empty directory with rmdir.
Released under the MIT License. Independent community project, not affiliated with or endorsed by the Zig project or the Zig Software Foundation. Zig artwork follows its official licenses: mascots CC BY 4.0; wordmark and symbol CC BY-SA 4.0.
