The code for TUI Studio (Visual Terminal UI Designer), a visual design environment for user interfaces running in a text terminal, has been released. The environment allows for interactive, visual interface creation by dragging and dropping pre-made blocks, editing properties visually, and previewing the result on the fly. The generated interface layout can be exported for use in the Ink, BubbleTea, Blessed, Textual, OpenTUI, and Tview frameworks.
The project is written in TypeScript using React, Vite, Zustand, Tailwind CSS, and Lucide React. The code is distributed under the MIT license. Among the development highlights is that almost all of TUI Studio's code was written by the AI assistant Claude.
TUI Studio offers over 20 ready-made interface components (buttons, menus, tables, lists, progress indicators, dialogs, tooltips, etc.) and supports 8 design themes, as well as light and dark modes, gradient fills, ASCII colors, and accent colors. Reverting changes is possible. A custom interface is also available for creating your own components. Projects are saved in JSON format.
Source: opennet.ru
