RecursiveAI.OneApp
1.0.0
Prefix Reserved
dotnet add package RecursiveAI.OneApp --version 1.0.0
NuGet\Install-Package RecursiveAI.OneApp -Version 1.0.0
<PackageReference Include="RecursiveAI.OneApp" Version="1.0.0" />
<PackageVersion Include="RecursiveAI.OneApp" Version="1.0.0" />
<PackageReference Include="RecursiveAI.OneApp" />
paket add RecursiveAI.OneApp --version 1.0.0
#r "nuget: RecursiveAI.OneApp, 1.0.0"
#:package RecursiveAI.OneApp@1.0.0
#addin nuget:?package=RecursiveAI.OneApp&version=1.0.0
#tool nuget:?package=RecursiveAI.OneApp&version=1.0.0
RecursiveAI.OneApp
A framework for desktop apps in .NET. The UI is HTML and CSS: components written as a markup template plus a C# class (from RecursiveAI.OneUI), or plain HTML pages. OneRender styles, lays out and paints them, and the result is drawn on the GPU with OneGpu in a window from RecursiveAI.OnePlatform. There is no web view, no Chromium and no JavaScript runtime, and the package depends only on .NET and Recursive AI packages.
A minimal app
A component is a template, an optional stylesheet and a partial class with the same name; the markup compiler in RecursiveAI.OneUI checks every binding, event and CSS property when the project builds.
Counter.html
<main>
<h1>Counter</h1>
<button id="add" on:click="Increment">Clicked {Count} times</button>
</main>
Counter.cs
using OneUI.Components;
public partial class Counter
{
[State]
public partial int Count { get; set; }
private void Increment() => Count++;
}
Program.cs
using OneApp;
using var host = AppHost.Create(new AppOptions(new Counter()) { Title = "Counter", AppId = "org.example.Counter" });
host.Run();
AppHost opens the window, mounts the component and runs the loop until the window closes. The loop sleeps in the operating system until input, a timer the page asked for, or a posted action arrives, and it draws a frame only when the page changed, so an idle window uses no CPU. Pages written as plain HTML work the same way: new AppOptions("<h1>Hello</h1>").
Platforms
| Platform | Window and drawing | Desktop services | Accessibility | Packaging |
|---|---|---|---|---|
| Linux | Wayland (server-side decorations, layer-shell overlays) and X11; Vulkan | tray, notifications, file dialogs, global hotkeys, screenshots and single instance through the desktop portals and the session bus | AT-SPI | .deb, AppImage, desktop entry |
| macOS (Apple silicon) | Cocoa; Metal | menu bar, status item, notifications, file dialogs, single instance | NSAccessibility | .app bundle, .dmg |
| Windows | Not supported by this version | |||
| Browser | Components only, in RecursiveAI.OneApp.Browser: custom elements on browser-wasm, drawn by the browser |
the browser's | static folder |
Native apps are NativeAOT- and trim-compatible. AppHost with HTML pages is native only.
Harness
A Debug build of an app listens for MCP on a local socket (a Unix socket in a private per-user folder, or loopback TCP with a token) when ONEAPP_HARNESS is set. Tests and automation tools click by selector, type, press keys, wait, query the DOM and the accessibility tree, and capture pixels through the window's real event queue, and an app can run on a headless backend with no window system. A Release build contains no listener. The oneapp tool launches and drives apps. See harness.
Accessibility
On Linux an app's windows are exported to assistive technology such as Orca on the AT-SPI bus, and on macOS through NSAccessibility, from the accessibility tree OneHtml computes for each page. With AppOptions.Accessibility left at Auto the bridge connects only when the desktop asks for it, and AppHost.AccessibilityStatus says why it is or is not active. See accessibility.
More
- Desktop shell: several windows, dialogs, overlays, menus, tray, notifications, file dialogs, hotkeys: shell.
- Components in a native window: components.
- Default component kit with a shadcn/ui-style look: RecursiveAI.OneApp.Kit.
- Components in the browser: RecursiveAI.OneApp.Browser.
- Packaging and the command line tool: packaging, RecursiveAI.OneApp.Cli.
Source and issues: https://github.com/recursive-ai-oss/oneapp-csharp. Licensed under MIT OR Apache-2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- RecursiveAI.OneFont (>= 1.5.0)
- RecursiveAI.OneGpu.Backends (>= 1.0.0)
- RecursiveAI.OneHtml (>= 1.7.0)
- RecursiveAI.OneHtml.Accessibility (>= 1.7.0)
- RecursiveAI.OneImage (>= 1.11.2)
- RecursiveAI.OneImage.Svg (>= 1.11.2)
- RecursiveAI.OneModelContext (>= 1.0.2)
- RecursiveAI.OnePlatform (>= 1.0.0)
- RecursiveAI.OneRender (>= 1.5.0)
- RecursiveAI.OneRender.Image (>= 1.5.0)
- RecursiveAI.OneUI (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 0 | 12/2/2026 |
See CHANGELOG.md in the repository.