Skip to content

brflynn/winuidevkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinUIDevKit

Build native WinUI3 desktop apps from any language.

WinUIDevKit is an open-source toolkit that lets you create Windows desktop applications using WinUI3 and XAML from your preferred programming language. Write your UI in XAML, write your logic in Python, Rust, Go, Node.js, or Swift — WinUIDevKit handles the runtime bridge.

Install

One-liner (interactive — prompts for your language):

irm https://github.com/brflynn/WinUIDevKit/releases/latest/download/install.ps1 | iex

Or specify the language directly:

irm https://github.com/brflynn/WinUIDevKit/releases/latest/download/install.ps1 -OutFile install.ps1
.\install.ps1 -Language python

Or download a language pack zip manually from the latest release.

Get Started

Every language follows the same workflow after install:

winuidev setup       # one-time: install Windows App SDK
winuidev init MyApp  # scaffold a new project
cd MyApp
winuidev run         # launch the app
winuidev build       # package for distribution

Supported Languages

Language Bridge Status Guide
Python pythonnet (existing) ✅ Released Quick Start
Rust windows-rs (existing) 🚧 In Progress Quick Start
Go go-ole + new WinRT projection 🚧 In Progress Quick Start
Node.js New N-API C++/WinRT addon 🚧 In Progress Quick Start
Swift swift-winrt (existing) 🚧 In Progress Quick Start

Each release includes a zip per language containing the CLI, runtime, and SDK installer. No repo clone or package manager needed.

Architecture

┌─────────────────────────────────────────────────┐
│  Your App Code (Python / Rust / Go / Node / Swift)│
├─────────────────────────────────────────────────┤
│  Language Pack                                   │
│  ┌──────────┐ ┌────────┐ ┌──────────┐ ┌──────┐ │
│  │Bootstrap │ │  XAML   │ │  Binder  │ │ CLI  │ │
│  │          │ │ Loader  │ │ (x:Name) │ │      │ │
│  └──────────┘ └────────┘ └──────────┘ └──────┘ │
├─────────────────────────────────────────────────┤
│  Bridge (pythonnet / windows-rs / N-API / etc.)  │
├─────────────────────────────────────────────────┤
│  Windows App SDK 1.8  ·  WinUI3  ·  WinRT/COM   │
└─────────────────────────────────────────────────┘

Repo Structure

WinUIDevKit/
  src/
    core/           # Shared SDK installer, XAML templates, MSIX manifests
    python/         # Python language pack (fully working)
    rust/           # Rust language pack (windows-rs)
    go/             # Go language pack (go-ole + WinRT projection)
    nodejs/         # Node.js language pack (N-API addon)
    swift/          # Swift language pack (swift-winrt)
  examples/         # HelloWorld per language
  docs/             # Architecture, bootstrap protocol, contributor guide

Documentation

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors