PeakUI
SwiftUI, without Apple's toolchain.
PeakUI reads an app's Swift, checks it the way swiftc would, runs it in our own interpreter and draws it natively on PeakOS. The same source opens in Xcode and builds for the Mac and the iPhone.
How it works
Three parts, all in Rust.
The checker
Parses Swift, knows every overload's labels, and answers with swiftc's own messages. A name PeakUI doesn't run yet is a warning you can read, never a silent blank.
The engine
Runs the app: state, bindings, timers, Foundation, and the parts of AppKit real Mac apps touch, inside a sandbox with grants it asks you for once.
The host
Lays out and draws the views in PeakOS's look: windows, sheets, menus and the menu bar's panels, with a semantic tree Peak AI can read and drive.
One source
Three places it runs.
PeakOS
Run natively by the engine and drawn by the host.
The web
A self-contained page. This site is one.
Xcode
The same Swift, for the Mac and the iPhone.
The IDE
Studio is part of it.
PeakUI Studio opens a project, runs it in its own window, checks every file and shows the Framework and String catalogs. Clone GitHub Repository on the Start page brings a public GitHub project in, ready to check or run.
The proof
Apps we didn't write, running unchanged.
Done: CapyTimer checks clean
An open-source Pomodoro timer for the Mac's menu bar: 1,261 lines, 0 errors, no change to its source.
Done: its panel in the menu bar
Under its own icon, in its own process, counting down, with its progress ring drawn.
Now: alerts, sound and the download
The alert waits on the interpreter's own thread for your answer; the host's sheet is next.
Next: TomatoBar, then larger apps
Each app shows what's missing, and we build that, never a list of names for its own sake.
Measured, not claimed
How much of Apple's API PeakUI runs.
Swift itself
Nearly all of the grammar real apps use.
SwiftUI views
About 45 of 122, the ones apps use most.
SwiftUI modifiers
About 80 of 449, growing each day.
SF Symbols
Every symbol our apps use, and 97% of Peak Browser's.
Licence
The runtime is BSL 1.1.
PeakUI's runtime, the Rust crates under peakui/crates, is under the Business Source License 1.1. On 1 January 2028 it turns into Apache 2.0. The rest of PeakUI and PeakOS is all rights reserved.
Write your first PeakUI app.
What PeakUI runs, how to check an app, and how to open it on PeakOS.

Peak
An operating system, its framework and its apps, made in Norway.
No cookies. Visits are counted anonymously, with nothing that follows you between sites or days.
© 2026 Vegar Lee Berentsen (Berentsen Labs)