
anomalyco/opentui
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
anomalyco/opentui — это кандидат на Agent Skill, импортированный из https://github.com/anomalyco/opentui.
Обзор
anomalyco/opentui — это кандидат на Agent Skill, импортированный из https://github.com/anomalyco/opentui.
Обзор (машинный перевод)
OpenTUI — это библиотека для создания пользовательских интерфейсов терминалов.
- Это написано на зиг.
- Вы пишете TypeScript напрямую или через React и Solid.
- Вы расставляете блоки и текст с помощью flexbox.
- Вы добавляете выборы, входы и прокруточные окна с клавиатурой и мышью.
- Вы можете воспроизводить звуки, показывать изображения и рендерить 3D-графику.
OpenCode использует OpenTUI в производстве для миллионов пользователей.
Веб-сайт | Документация | Пакеты
Посылки
@opentui/core- Нативная библиотека интерфейса терминала с привязками TypeScript.@opentui/react— рендерер React для построения пользовательских интерфейсов терминалов с OpenTUI Core.@opentui/solid- Солидный рендерер для построения пользовательских интерфейсов терминалов с OpenTUI Core.@opentui/keymap— библиотека привязки клавиш и маршрутизации команд для терминальных и браузерных приложений.@opentui/qrcode- QR-код-энкодер, рендеринг с использованием поверхностей React и Solid Surfaces.@opentui/three- Three.js Рендерер WebGPU для OpenTUI.@opentui/ssh- Интеграция SSH-серверов для приложений OpenTUI.
Частные посылки
@opentui/native- Приватное рабочее пространство с реализацией Zig, нативными тестами и бенчмарками.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
OpenTUI is a library to build terminal user interfaces.
- It is written in Zig.
- You write TypeScript directly or through React and Solid.
- You arrange boxes and text with flexbox.
- You add selects, inputs, and scroll boxes with keyboard and mouse controls.
- You can play sounds, show images, and render 3D graphics.
OpenCode uses OpenTUI in production for millions of users.
Website | Documentation | Packages
Packages
@opentui/core- Native terminal UI library with TypeScript bindings.@opentui/react- React renderer for building terminal user interfaces with OpenTUI Core.@opentui/solid- Solid renderer for building terminal user interfaces with OpenTUI Core.@opentui/keymap- Key binding and command routing library for terminal and browser applications.@opentui/qrcode- QR code encoder and renderable with React and Solid surfaces.@opentui/three- Three.js WebGPU renderer for OpenTUI.@opentui/ssh- SSH server integration for OpenTUI applications.
Private packages
@opentui/native- Private workspace with the Zig implementation, native tests, and benchmarks.@opentui/examples- Private workspace with example applications and a standalone examples executable.@opentui/web- Private workspace with the documentation website and the AI agent skill.
AI agent skill
Install the OpenTUI documentation as a skill for your AI coding assistant with npx skills:
npx skills add https://opentui.com --skill opentui
Add -g to install the skill globally. The skill matches the latest release, and npx skills update moves it to each
new release. Install from https://opentui.com/docs/next to follow the main branch. A skill installed with
npx skills add anomalyco/opentui follows the main branch; run the command above to switch it to releases.
Development
Development requires Bun 1.4.1 or later and Zig 0.16.0.
See AGENTS.md for engineering, tooling, and verification conventions.
bun install
Run package scripts from their package directory. Run bun run build from the repository root after you change
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add anomalyco/opentui