base on Cross Platform Terminal UI toolkit for .NET [![Version](https://img.shields.io/nuget/v/Terminal.Gui.svg)](https://www.nuget.org/packages/Terminal.Gui) [![codecov](https://codecov.io/gh/gui-cs/Terminal.Gui/graph/badge.svg?token=1Ac9gyGtrj)](https://codecov.io/gh/gui-cs/Terminal.Gui) [![Downloads](https://img.shields.io/nuget/dt/Terminal.Gui)](https://www.nuget.org/packages/Terminal.Gui) [![License](https://img.shields.io/github/license/gui-cs/gui.cs.svg)](LICENSE) ![Bugs](https://img.shields.io/github/issues/gui-cs/gui.cs/bug) # Terminal.Gui v2 Cross-platform UI toolkit for building sophisticated terminal UI (TUI) applications on Windows, macOS, and Linux/Unix. ![logo](docfx/images/logo.png) * **v2 Alpha** (Current): ![NuGet Version](https://img.shields.io/nuget/vpre/Terminal.Gui) - Recommended for new projects * **v1 (Legacy)**: [![Version](https://img.shields.io/nuget/v/Terminal.Gui.svg)](https://www.nuget.org/packages/Terminal.Gui) - Maintenance mode only > **Important:** > - **v1** is in maintenance mode - only critical bug fixes accepted > - **v2 Alpha** is recommended for new projects - API is stable with comprehensive features > - Breaking changes possible before Beta, but core architecture is solid ![Sample app](docfx/images/sample.gif) # Quick Start Install the [Terminal.Gui.Templates](https://github.com/gui-cs/Terminal.Gui.templates), create a new TUI app, and run it: ```powershell dotnet new --install Terminal.Gui.templates dotnet new tui -n myproj cd myproj dotnet run ``` Press `Esc` to exit (the default [QuitKey](https://gui-cs.github.io/Terminal.Gui/api/Terminal.Gui.App.Application.html#Terminal_Gui_App_Application_QuitKey)). 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; using IApplication app = Application.Create (); app.Init (); using Window window = new () { Title = "Hello World (Esc to quit)" }; Label label = new () { Text = "Hello, Terminal.Gui v2!", X = Pos.Center (), Y = Pos.Center () }; window.Add (label); app.Run (window); ``` See the [Examples](Examples/) directory for more. # Build Powerful Terminal Applications Terminal.Gui enables building sophisticated console applications with modern UIs: - **Rich Forms and Dialogs** - Text fields, buttons, checkboxes, radio buttons, and data validation - **Interactive Data Views** - Tables, lists, and trees with sorting, filtering, and in-place editing - **Visualizations** - Charts, graphs, progress indicators, and color pickers with TrueColor support - **Text Editors** - Full-featured text editing with clipboard, undo/redo, and Unicode support - **File Management** - File and directory browsers with search and filtering - **Wizards and Multi-Step Processes** - Guided workflows with navigation and validation - **System Monitoring Tools** - Real-time dashboards with scrollable, resizable views - **Configuration UIs** - Settings editors with persistent themes and user preferences - **Cross-Platform CLI Tools** - Consistent experience on Windows, macOS, and Linux - **Server Management Interfaces** - SSH-compatible UIs for remote administration See the [Views Overview](https://gui-cs.github.io/Terminal.Gui/docs/views) for available controls and [What's New in v2](https://gui-cs.github.io/Terminal.Gui/docs/newinv2) for architectural improvements. # Documentation Comprehensive documentation is at [gui-cs.github.io/Terminal.Gui](https://gui-cs.github.io/Terminal.Gui). ## Getting Started - **[Getting Started Guide](https://gui-cs.github.io/Terminal.Gui/docs/getting-started)** - First Terminal.Gui application - **[API Reference](https://gui-cs.github.io/Terminal.Gui/api/Terminal.Gui.App.html)** - Complete API documentation - **[What's New in v2](https://gui-cs.github.io/Terminal.Gui/docs/newinv2)** - New features and improvements ## Migration & Deep Dives - **[Migrating from v1 to v2](https://gui-cs.github.io/Terminal.Gui/docs/migratingfromv1)** - Complete migration guide - **[Application Architecture](https://gui-cs.github.io/Terminal.Gui/docs/application)** - Instance-based model and IRunnable pattern - **[Layout System](https://gui-cs.github.io/Terminal.Gui/docs/layout)** - Positioning, sizing, and adornments - **[Keyboard Handling](https://gui-cs.github.io/Terminal.Gui/docs/keyboard)** - Key bindings and commands - **[View Documentation](https://gui-cs.github.io/Terminal.Gui/docs/View)** - View hierarchy and lifecycle - **[Configuration](https://gui-cs.github.io/Terminal.Gui/docs/config)** - Themes and persistent settings See the [documentation index](https://gui-cs.github.io/Terminal.Gui/docs/index) for all topics. # Installing ## v2 Alpha (Recommended) ```powershell dotnet add package Terminal.Gui --version "2.0.0-alpha.*" ``` ## v2 Develop (Latest) ```powershell dotnet add package Terminal.Gui --version "2.0.0-develop.*" ``` ## v1 Legacy ```powershell dotnet add package Terminal.Gui --version "1.*" ``` Or use the [Terminal.Gui.Templates](https://github.com/gui-cs/Terminal.Gui.templates). # Contributing Contributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md). # History See [gui-cs](https://github.com/gui-cs/) for project history and origins. ", Assign "at most 3 tags" to the expected json: {"id":"3686","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"