Simon Klee aabb8ec6a4 examples: move to @opentui/examples package (#995)
Extract examples, assets, install.sh, and the standalone build script
into a new workspace so they consume the public package surface
(@opentui/core, @opentui/three, @opentui/keymap) instead of reaching
into sibling internals. This makes examples a consumer of
the published API.

Drop the inherited browser export condition that prevented jimp from
resolving its node entry, which broke the standalone build.
2026-04-30 12:51:39 +02:00
2025-07-21 17:47:38 +02:00
2025-11-17 00:44:08 +01:00
2026-03-23 15:59:52 +01:00
2026-03-23 15:59:52 +01:00
2026-01-06 16:26:37 +01:00
2026-03-23 15:59:52 +01:00
2025-08-12 12:01:55 +02:00

OpenTUI

npm Build status awesome opentui list

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.

Docs: https://opentui.com/docs/getting-started

Quick start with bun and create-tui:

bun create tui

This monorepo contains the following packages:

Install

NOTE: You must have Zig installed on your system to build the packages.

TypeScript/JavaScript

bun install @opentui/core

AI Agent Skill

Teach your AI coding assistant OpenTUI's APIs and patterns.

Universal skill install with npx skills:

npx skills add anomalyco/opentui --skill opentui

Install globally for every project:

npx skills add anomalyco/opentui --skill opentui -g

OpenCode uses the same install command. No separate installer is needed.

Try Examples

You can quickly try out OpenTUI examples without cloning the repository:

For macOS, Linux, WSL, Git Bash:

curl -fsSL https://raw.githubusercontent.com/anomalyco/opentui/main/packages/examples/install.sh | sh

For Windows (PowerShell/CMD):

Download the latest release directly from GitHub Releases

Running Examples (from the repo root)

TypeScript Examples

bun install
cd packages/examples
bun run dev

Development

See the Development Guide for building, testing, debugging, and local development linking.

Documentation

Showcase

Consider showcasing your work on the awesome-opentui list. A curated list of awesome resources and terminal user interfaces built with OpenTUI.

S
Description
Build terminal UIs with OpenTUI. Covers Core, frameworks, components, application APIs, testing, extensions, integrations, deployment, and public API lookup.
Readme MIT 109 MiB
Languages
TypeScript 67.7%
Zig 24.3%
MDX 5.9%
Astro 0.7%
JavaScript 0.6%
Other 0.6%