Skip to content

GlyphPack 1.0.0 — first stable production release

Choose a tag to compare

@Neo-X-Minecraft Neo-X-Minecraft released this 18 Nov 19:50
· 7 commits to main since this release
784b886

GlyphPack 1.0.0 is the first stable production release and a new payload/API baseline for embedding binary data in standalone HTML. The 0.1.x releases are alpha prereleases, and the 0.2.x releases are beta prereleases. Earlier experimental payload formats are unsupported.

  • Five tagged codecs: UTF-16 pair, UTF-16 ANS, Windows-1252, fast UTF-8 and compact UTF-8.
  • Strict format and BLAKE3 verification by default, with selectable XXH32/no-integrity policies and optional pair lookup optimization.
  • Build only the codecs and policies you need, or use the full module with all 60 combinations. Matching TypeScript declarations are included.
  • Native Rust encoding and HTML injection; measured JS/Wasm decode paths, owned output buffers and mandatory allocation/state bounds.
  • Chrome 109+ baseline, offline file:// standalone exports, an upload-free workbench and lazy per-codec warm-up.
  • Embedded Wasm uses optimized gzip/base64 with native browser decompression; no runtime downloads or npm dependencies.

The default secure pair module is 9,203 bytes, the full module 21,390 bytes, and the pair build without optional checks 3,858 bytes. Compact UTF-8 uses adaptive finite-state ANS for approximately 11.81% random-data transport overhead; fast UTF-8 is approximately 13.56%. These encodings are not general-purpose compressors. See the included measurement reports for input distributions and exact browser/artifact details.

npm install glyphpack
import {binary, warmup} from 'glyphpack/full';
warmup(['ans', 'pair'], [false, true]); // Optional.
const bytes = binary(payload); // Strict format + BLAKE3 by default.

Live workbench · Configuration guide · CLI guide · npm package

The web ZIP includes modules, declarations, examples, docs, benchmark reports and notices. Linux x86_64/aarch64 CLI archives contain static binaries; encode/inject run without a source checkout. Custom decoder builds require the matching source/toolchain. Individual modules, a standalone HTML example, the raw Wasm ABI artifact and the npm tarball are also attached. Verify downloads with SHA256SUMS.

Own code: NeoX, 0BSD. Third-party notices are preserved. An unkeyed BLAKE3 digest verifies bytes; it is not an authentication signature.

Built from commit 784b886db5953cf4b4a031f9e33673ba8d89cccc. CI, release packaging and Pages deployment passed. The live workbench also passed Chromium 156 checks for all 60 combinations, six examples, offline export and mobile layout.