Sign in

    typstbit

    MoonBit application core of Typst.bit: commands, outline, multi-file projects, diagnostics, packages and theme models, plus a native CLI/MCP

    typst
    moonbit
    wasm
    editor
    workbench
    Download zip
    Version
    0.1.0
    License
    MIT
    Last updated
    last month
    Downloads
    18

    #Typst.bit MoonBit core

    The MoonBit application core of Typst.bit, an offline-first Typst document workbench.

    Packages:

    • app: pure application models and logic — command catalog and UI structure, palette filtering, outline parsing, multi-file project model, diagnostics mapping, package-spec scanning and theme planning (unit tested).
    • core: wasm-gc exports of the above for the browser host (core.wasm).
    • typst_binding: typed host binding for the compiler ABI (wasm host imports for the browser, native stubs for the CLI).
    • native_cli: native Typst.bit CLI and MCP server; links against the Rust typst-abi static library (built from this repository, see tools/build-native-cli.sh).
    • web_wasm: the legacy MoUI canvas shell and the DOM workbench assets (JavaScript, plugins, styles) served by GitHub Pages.

    License: MIT.