# gammasoft71/xtd

Free open-source modern  C++20 framework to create console (CLI), forms (GUI like WinForms) and unit test (xUnit) applications and libraries on Windows, macOS, Linux, iOS, Android, FreeBSD, Haiku, and SerenityOS.

Repository: https://github.com/gammasoft71/xtd
Canonical: https://ross.abutalabs.com/products/xtd
Homepage: https://gammasoft71.github.io/xtd
Language: C++
License: MIT
License Family: permissive
Topics: c-plus-plus, gui-framework, gui, console, unittest, desktop, portable, cross-platform, cmake, cli, toolkit, gui-toolkit, cplusplus-20, framework, xtd, cpp, cross-platform-desktop, cross-platform-gui, test-framework, raii
Last push: 2026-09-02T20:48:11+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 8, longevity 100
- inputs: {"age_days": 2758, "days_push": 0, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1160, forks 78 (observed 2026-09-03T02:15:12.206220+00:00)

## What it is
xtd is a modern C++20 open-source framework for building console (CLI), forms-based GUI, and unit test applications and libraries across many platforms. Its API is modeled on .NET and includes xtd.core, xtd.drawing, xtd.forms, and xtd.tunit libraries.

## Use cases
- build cross-platform desktop gui apps in c++
- create console cli applications in modern c++
- write unit tests in c++ with an xunit-style framework
- port a winforms-style application to linux and macos
- style native c++ gui controls with css
- draw 2d graphics and images in a c++ app

## When to choose
- you want a .NET-like API in native C++20
- you need one codebase for GUI apps across Windows, macOS, Linux, iOS, and Android
- you prefer RAII and full std integration over raw C-style toolkits

## When to avoid
- you need a battle-tested production framework - xtd is still in beta (pre-1.0)
- you are building web or mobile-first apps with modern UI toolkits
- you need a minimal dependency-free library rather than a large framework

## Facets
- artifact type: framework
- maturity: experimental
- function: gui, cli, testing, ui-components, graphics
- domain: cross-platform, desktop-applications, developer-tools, web-development
- platform: cpp, windows, cross-platform, cli
- tags: c-plus-plus-20, winforms-like, gui-toolkit, unit-testing, raii, cmake, mit-license, forms-framework, macos, linux, android, ios, desktop

## Member repositories
- gammasoft71/xtd (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:12.206220+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:48.213509+00:00, confidence not recorded.
  - readme: https://github.com/gammasoft71/xtd (fetched 2026-09-03T02:15:12.206220+00:00, sha 4f908b685550)
  - homepage: https://gammasoft71.github.io/xtd (fetched 2026-08-29T12:36:18.094276+00:00, sha f98e846b29d0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
