{"id":19133551,"url":"https://github.com/gui-cs/terminal.gui.templates","last_synced_at":"2025-08-30T15:28:04.521Z","repository":{"id":61604946,"uuid":"531041770","full_name":"gui-cs/Terminal.Gui.templates","owner":"gui-cs","description":"Template for dotnet new that creates a new Terminal.Gui project","archived":false,"fork":false,"pushed_at":"2025-07-13T14:19:26.000Z","size":30,"stargazers_count":38,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-14T11:23:26.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gui-cs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-31T10:50:54.000Z","updated_at":"2025-07-15T09:40:41.000Z","dependencies_parsed_at":"2024-11-11T13:57:57.722Z","dependency_job_id":"0e59eb7b-7e8f-4010-9009-794b9e1fe383","html_url":"https://github.com/gui-cs/Terminal.Gui.templates","commit_stats":null,"previous_names":["tznind/gui.cs.template"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/gui-cs/Terminal.Gui.templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gui-cs%2FTerminal.Gui.templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gui-cs%2FTerminal.Gui.templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gui-cs%2FTerminal.Gui.templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gui-cs%2FTerminal.Gui.templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gui-cs","download_url":"https://codeload.github.com/gui-cs/Terminal.Gui.templates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gui-cs%2FTerminal.Gui.templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272869883,"owners_count":25007130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T06:22:54.255Z","updated_at":"2025-08-30T15:28:04.516Z","avatar_url":"https://github.com/gui-cs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":" [![NuGet Badge](https://buildstats.info/nuget/Terminal.gui.templates)](https://www.nuget.org/packages/Terminal.gui.templates/)\r\n\r\n# Usage\r\nThis is a template for creating Terminal.Gui applications using `dotnet new`.\r\n\r\nTo add this template to those available in `dotnet new` you will need to install the NuGet package:\r\n\r\n# V1\r\nVersion 1 of [Terminal.Gui](https://github.com/gui-cs/Terminal.Gui) is stable and actively maintained but does not receive new features. To create projects using the V1 template install the latest version of the template:\r\n\r\n```\r\ndotnet new --install Terminal.Gui.templates\r\n```\r\n\r\n# V2\r\nVersion 2 of [Terminal.Gui](https://github.com/gui-cs/Terminal.Gui) is in alpha.  To create projects using the v2 template you install the [latest version from nuget.org](https://www.nuget.org/packages/Terminal.gui.templates) e.g.\r\n\r\n```\r\ndotnet new install Terminal.Gui.Templates::2.0.0-v2-develop.4519\r\n```\r\n\r\n## Creating projects\r\n\r\nAfter installing you can use the template to create new projects:\r\n\r\n```\r\ndotnet new tui -n myproj\r\ncd myproj\r\ndotnet run\r\n```\r\n\r\n## Next Steps\r\n\r\nThe basic template includes `MyView.cs` which was created by [TerminalGuiDesigner](https://github.com/gui-cs/TerminalGuiDesigner).  You can delete edit this file with the visual designer using the code below or delete it and create your own `Window`/`TopLevel` class manually.\r\n\r\n```\r\ndotnet tool install --global TerminalGuiDesigner\r\nTerminalGuiDesigner ./MyView.cs\r\n```\r\n\r\nIf you are targetting v2 you will need to add `--prerelease`.\r\n\r\n## Development\r\nFor development/testing add this template to `dotnet` using:\r\n\r\n```\r\n dotnet new --install D:\\Repos\\Terminal.Gui.templates\\templates\\basic\r\n```\r\n\r\nTo use the template run:\r\n\r\n```\r\ndotnet new tui -n myproj\r\ncd myproj\r\ndotnet run\r\n```\r\n\r\nTo remove it run:\r\n\r\n```\r\ndotnet new --uninstall D:\\Repos\\Terminal.Gui.templates\\templates\\basic\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgui-cs%2Fterminal.gui.templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgui-cs%2Fterminal.gui.templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgui-cs%2Fterminal.gui.templates/lists"}