opentui-d

D bindings for OpenTUI's native Zig terminal UI core (C ABI).

No prior D wrapper existed (as of 2026-07); this package mirrors the approach used by community Go bindings: load the official native shared library and wrap the imperative renderer / buffer API.

Declarative components (Box, Text, React/Solid) still live in @opentui/* TypeScript packages. A large part of the high-level tree is not yet fully native.

Requirements

  • D compiler (ldc2 or dmd) and dub

  • OpenTUI native shared library for your platform (see Native library)

  • Python 3 (only if regenerating bindings from upstream zig.ts)

Status

  • Dynamic loader for the official shared library (281 C ABI symbols)

  • Idiomatic wrappers for renderer, buffer, and color

  • Generator from upstream zig.ts / lib.zig (target v0.4.5)