Expand description
The first-party beecast player as a crate: clean-room, dependency-free
asciicast (v1/v2/v3) player and VT100/xterm-subset terminal emulator. Consumers inline
the two constants whole — a <script> element and a <style> element — and get the
full player: parsing, emulation, headless controller, default controls, Web Component,
chapter markers, keyboard control, and live-follow append for recordings that are
still growing.
The JS globals are BeeCastVT (DOM-free core), BeeCastController (headless playback),
and BeeCastPlayer (DOM factory + <beecast-player>); this crate is the component’s
canonical home.
Constants§
- PLAYER_
CSS - The player chrome and terminal palette. Semantic
--beecast-*tokens are the stable theming surface;--sp-*is the terminal palette. Nothing is fetched (no fonts, no images). - PLAYER_
JS - The player bundle:
vt.js(core) +controller.js(headless playback) +player.js(DOM view, Web Component, legacy factory). Inline it in one<script>element; it performs no network requests and loads no workers.