
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@opentui/core
Advanced tools
OpenTUI is a TypeScript library on a native Zig core for building terminal user interfaces (TUIs)
OpenTUI is a native terminal UI core written in Zig with TypeScript bindings. The native core exposes a C ABI and can be used from any language. OpenTUI powers OpenCode in production today and will also power terminal.shop. It is an extensible core with a focus on correctness, stability, and high performance. It provides a component-based architecture with flexible layout capabilities, allowing you to create complex terminal applications.
bun install @opentui/core
bun run build
This creates platform-specific libraries that are automatically loaded by the TypeScript layer.
bun install
bun run src/examples/index.ts
Run native performance benchmarks:
bun run bench:native
See src/zig/bench.zig for available options like --filter and --mem.
NativeSpanFeed TypeScript benchmarks:
Renderables are hierarchical objects that can be positioned, nested, styled and rendered to the terminal:
import { createCliRenderer, TextRenderable } from "@opentui/core"
const renderer = await createCliRenderer()
const obj = new TextRenderable(renderer, { id: "my-obj", content: "Hello, world!" })
renderer.root.add(obj)
FAQs
OpenTUI is a TypeScript library on a native Zig core for building terminal user interfaces (TUIs)
The npm package @opentui/core receives a total of 636,590 weekly downloads. As such, @opentui/core popularity was classified as popular.
We found that @opentui/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.