Terminal.Gui
11,312
Stars
793
Forks
142
Watchers
59
Open Issues
MIT
许可证
C#
语言
2017-12-11
创建时间
2026-11-11
最近更新
项目能做什么
面向 .NET 的跨平台终端图形用户界面(TUI)开发工具包。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
  [](https://codecov.io/gh/tui-cs/Terminal.Gui) [](https://www.nuget.org/packages/Terminal.Gui) # Terminal.Gui Cross-platform UI toolkit for building sophisticated terminal UI (TUI) applications on Windows, macOS, and Linux/Unix.  ## Terminal.Gui enables building sophisticated console applications with modern UIs - **Responsive TUI** - Easy to use, innovative, layout system enables console apps as responsive as any responsive web page. - **Performant and Scalable** - Built for modern TUIs - fast, double-buffering-based rendering; Tables and Tree Views scale to infinite elements with sorting and filtering. - **Keyboard First; Mouse First Too** - Optimized for TUI experiences where the user's hands never need to leave the keyboard; full mouse support too. - **Rich Built-in Widgets (Views)** - Text editors, buttons, checkboxes, trees, tables, markdown, linear ranges, menus, selectors, and more. - **Visualizations** - Charts, graphs, progress indicators, and color pickers with TrueColor support. - **Text Editors** - Full-featured text editing with clipboard, undo/redo, and Unicode support - **Fully Configurable** - Themes, colors, key bindings, and settings are all customizable and persistable. - **File Management** - File and directory browsers with search and filtering, supporting Nerdfonts and coloring. - **Wizards and Multi-Step Processes** - Guided workflows with navigation and validation. - **Cross-Platform** - Consistent experience on Windows, macOS, and Linux. - **Apps Work In-line or Full Screen** - Build CLI tools like Claude Code/Copilot/Codex CLI that scroll with the terminal (in-line) or full screen. See the [Views Overview](https://tui-cs.github.io/Terminal.Gui/docs/views) for available controls and [What's New in v2](https://tui-cs.github.io/Terminal.Gui/docs/newinv2) for architectural improvements. # Quick Start Install the [Terminal.Gui.Templates](https://github.com/tui-cs/Terminal.Gui.templates), create a new TUI app, and run it: ```powershell dotnet new install Terminal.Gui.Templates dotnet new tui-simple -n myproj cd myproj dotnet run ``` Run the comprehensive [UI Catalog](Examples/UICatalog) demo to explore all controls: ```powershell dotnet run --project Examples/UICatalog/UICatalog.csproj ``` # Simple Example ```csharp using Terminal.Gui.App; using Terminal.Gui.ViewBase; using Terminal.Gui.Views; using IApplication app = Application.Create (); app.Init (); us阅读完整原文
项目深度分析 AI 生成
TUI 可视化拖拽设计器与代码生成器 (TUI Designer Studio)
| 产品构想 | 构建一个跨平台的桌面端/Web 端或 TUI 原生可视化拖拽布局工具,支持所见即所得设计 Terminal.Gui 界面并自动生成 C# 代码/XAML 样式的布局定义。 |
| 核心功能 | 拖拽式控件布局、属性面板实时配置、响应式终端预览、一键导出 C# 代码、主题实时编辑。 |
| 目标用户 | 构建复杂内部运维工具的 .NET 软件工程师、独立开发者。 |
| 难度/周期 | 中等 · 2-3 个月 · 成本:极低(纯本地工具开发,主要是开发时间成本) |
| 收费模式 | 免费基础版 + 商业授权(高级控件支持、团队模版共享、专业代码导出按席位买断/订阅)。 |
| 竞争风险 | Terminal.Gui 处于 v2 演进期,API 与布局系统变动可能导致代码生成器适配维护成本高(推测)。 |
| 依据 | 已验证事实 |
企业级高级商业组件库与专业主题包 (Terminal.Gui Pro Components)
| 产品构想 | 提供开箱即用且高度优化的商业扩展组件库,补充官方未覆盖的重度业务组件(如实时高性能时序图表、类 Excel 的只读/可编辑复杂网格、日志流高亮分析器)。 |
| 核心功能 | 实时流式图表组件、高级多级表头 DataGrid、虚拟化超级长列表、开箱即用的专业主题(如 Solarized/Nord 等企业定制主题)。 |
| 目标用户 | 监控系统开发团队、金融及量化终端研发、运维系统集成商。 |
| 难度/周期 | 较高 · 1-2 个月 · 成本:低(技术研发驱动) |
| 收费模式 | 闭源商业 NuGet 包授权(按开发者或按项目授权)。 |
| 竞争风险 | 官方已自带图表与表格组件,增量商业价值的壁垒需足够高才能促成付费(尚需验证的假设)。 |
| 依据 | 数据支持的判断 |
垂直领域专业 TUI 生产力工具(如跨平台云原生/数据库 TUI 客户端)
| 产品构想 | 利用 Terminal.Gui 极其轻量、跨平台及支持鼠标交互的特性,研发开箱即用的商用 TUI 工具(例如支持多引擎的轻量级 Database TUI 或 Docker/K8s 轻量级交互客户端)。 |
| 核心功能 | SSH 远程开箱即用、资源消耗极低、多连接管理、数据/资源实时看板、快捷键操作驱动、审计日志。 |
| 目标用户 | 后端开发者、DBA、DevOps 工程师、经常在远程 SSH 环境工作的极客。 |
| 难度/周期 | 较高 · 3-4 个月 · 成本:低至中等(日常测试与云基础设施成本) |
| 收费模式 | 个人基础版免费,企业版提供高级连接加密、团队协作配置同步、商业技术支持订阅制付费。 |
| 竞争风险 | 面临 Go/Rust 编写的成熟竞品(如 Lazygit、K9s)的竞争(推测)。 |
| 依据 | AI推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建于 2017-12-11,近 30 天仍在推送,发布过 75 个 Release |
| 社区活跃 | Star 11,312 / Fork 793 / Issue 59(数据支持,可自行核实) |
| 许可证 | MIT |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。