Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md
TUIStudio

TUIStudio

Visual design tool for building Terminal User Interfaces

Status

A Figma-like visual editor for designing Terminal UI applications. Drag-and-drop components onto a live canvas, edit properties visually, and export to multiple TUI frameworks. Computer

Features

  • Visual Canvas — Drag-and-drop components with live ANSI preview at configurable zoom levels
  • 20+ TUI Components — Screen, Box, Button, TextInput, Checkbox, Radio, Select, Toggle, Text, Spinner, ProgressBar, Table, List, Tree, Menu, Tabs, Breadcrumb, Modal, Popover, Tooltip, Spacer
  • Layout Engine — Absolute, Flexbox, and Grid layout modes with full property control
  • Color Themes — Dracula, Nord, Solarized Dark/Light, Monokai, Gruvbox, Tokyo Night, Nightfox, Sonokai — all updating the canvas in real-time
  • Dark / Light Mode — Toggle between dark and light editor UI; persists across sessions
  • Layers Panel — Hierarchical component tree with drag-to-reorder, visibility toggle, lock, and inline rename
  • Property Panel — Edit layout, style, and component-specific props for the selected component
  • Undo / Redo — Full history for all tree mutations
  • Save / Load.tui JSON format via native OS file picker (Chrome/Edge) or browser download (Firefox/Safari)
  • Multi-Framework Export — Generate code for Ink, BubbleTea, Blessed, Textual, OpenTUI, Tview
  • Command PaletteCmd/Ctrl+P for quick component creation, theme switching, and dark/light mode toggle
  • Gradient Backgrounds — Add linear gradients to any element background with angle control and N color stops; rendered as discrete character-cell bands matching real ANSI terminal output
  • Settings — Accent color presets, dark/light mode toggle, and default download folder

Star History

Star History Chart

Quick Start

git clone https://github.com/jalonsogo/tui-studio.git
cd tui-studio
npm install
npm run dev

Open http://localhost:5173.

Keyboard Shortcuts

ActionShortcut
Command PaletteCmd/Ctrl+P
SaveCmd/Ctrl+S
OpenCmd/Ctrl+O
ExportCmd/Ctrl+E
CopyCmd/Ctrl+C
PasteCmd/Ctrl+V
DeleteBackspace / Delete
UndoCmd/Ctrl+Z
RedoCmd/Ctrl+Shift+Z / Cmd/Ctrl+Y

Component hotkeys (when not typing):

KeyComponentKeyComponent
bButtontTabs
rBoxlList
kCheckboxeTree
aRadiomMenu
sSelectiTextInput
oTogglepProgressBar
nSpinneryText
jSpacer

File Format

Projects are saved as .tui files (JSON):

{
  "version": "1",
  "meta": { "name": "My Screen", "theme": "dracula", "savedAt": "..." },
  "tree": { ... }
}

Export Frameworks

FrameworkLanguage
InkTypeScript / React
BubbleTeaGo
BlessedJavaScript
TextualPython
OpenTUITypeScript
TviewGo

Tech Stack

  • React 19, TypeScript 5.8, Vite 7
  • Zustand 5 — state management
  • Tailwind CSS — editor UI styling
  • Lucide React — icons

Commands

npm run dev      # Start dev server
npm run build    # TypeScript compile + production build
npm run lint     # ESLint
npm run preview  # Preview production build

Issues: GitHub Issues

LOLcense

For {root} sake I'm a designer. Mostly all the code has been written by Claude and ad latere.

关于 About

Visual design tool for building Terminal User Interfaces
tuitui-application

语言 Languages

TypeScript97.0%
JavaScript2.5%
CSS0.3%
Dockerfile0.1%
HTML0.1%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
134
Total Commits
峰值: 83次/周
Less
More

核心贡献者 Contributors