Expand description
Web export: turn a cart into a single self-contained HTML file.
The file embeds two things, base64-encoded: the browser player (the
console runtime compiled to wasm, from the pixel8-web crate) and
the cart PNG itself. No server, no sidecar files — double-click the
HTML and the cart boots, PICO-8-web style: cartridge art first,
click to play. See docs/WEB_EXPORT.md for the details and limits.
Functions§
- export_
html - Export
cartas a playable single-file HTML page. - web_
crate_ dir - Where the
pixel8-webplayer crate lives. Defaults to this source tree; override with PIXEL8_WEB for installed binaries.