MyGit

anomalyco/opentui

Fork: 501 Star: 10291 (更新于 2026-04-11 20:47:14)

license: MIT

Language: TypeScript .

OpenTUI is a library for building terminal user interfaces (TUIs)

最后发布版本: v0.1.97 ( 2026-04-06 07:58:55)

官方网址 GitHub网址

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:

  • @opentui/core - TypeScript bindings for OpenTUI's native Zig core, with an imperative API and all primitives.
  • @opentui/solid - The SolidJS reconciler for OpenTUI.
  • @opentui/react - The React reconciler for OpenTUI.

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.

For OpenCode (includes /opentui command):

curl -fsSL https://raw.githubusercontent.com/msmps/opentui-skill/main/install.sh | bash

For other AI coding assistants:

npx skills add msmps/opentui-skill

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/core/src/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/core
bun run src/examples/index.ts

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.

最近版本更新:(数据更新于 2026-04-11 20:46:59)

2026-04-06 07:58:55 v0.1.97

2026-04-03 01:13:38 v0.1.96

2026-04-01 07:37:51 v0.1.95

2026-04-01 05:40:29 v0.1.94

2026-03-31 05:01:52 v0.1.93

2026-03-29 06:50:43 v0.1.92

2026-03-28 01:05:00 v0.1.91

2026-03-21 08:15:44 v0.1.90

2026-03-21 07:05:43 v0.1.89

2026-03-17 18:06:33 v0.1.88

anomalyco/opentui同语言 TypeScript最近更新仓库

2026-04-11 22:45:25 TanStack/router

2026-04-11 22:33:56 multica-ai/multica

2026-04-11 13:45:53 misskey-dev/misskey

2026-04-11 08:31:40 promptfoo/promptfoo

2026-04-11 06:05:25 Expensify/App

2026-04-11 05:48:19 langwatch/langwatch