bolklets demo
This page loads a single tiny bootstrap script and nothing else:
<script async src="bolklets.js"></script>
The bootstrap is only a few KB — it injects the CSS + font +
DOM, fetches bolklets_code.png, and eval's the
real runtime straight out of the image. That single lossless
grayscale PNG's pixel bytes are a section table carrying the
minified bolklets runtime, every character sprite (as inner PNGs),
and the packed binary Markov dialogue model (frequency-ranked
word dictionary with high-bit word terminators + bigram
transitions grouped by first word and delta-encoded with LEB128
varints). The bootstrap decodes the image with a <canvas>,
slices out each section, and hands them to the runtime on page
load.
Scroll to the bottom of the page to see the pixel strip.