← All projects
Project record1 mention
Originally shared on Hacker News

OmniUI

This is a Swift UI framework designed as a drop-in replacement for SwiftUI, enabling write-once-run-everywhere apps via pluggable renderer backends. TUI (notcurses) and Adwaita/GTK backends already work, and the author is choosing Adwaita for its opinionated design language. Apps avoid Apple-specific libraries (like Vision), and CoreData/SwiftData have been reimplemented to support running on Linux; the author's Gopher browser is the first target app. Unlike SwiftUI-inspired projects such as adwaita-swift and swift-cross-ui, the goal is to use the actual SwiftUI API everywhere rather than a lookalike.

Last shared
01 / The problem

What it addresses

SwiftUI code is effectively limited to Apple platforms, preventing write-once-run-everywhere Swift apps.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. OmniUI

    This is a Swift UI framework designed as a drop-in replacement for SwiftUI, enabling write-once-run-everywhere apps via pluggable renderer backends. TUI (notcurses) and Adwaita/GTK backends already work, and the author is choosing Adwaita for its opinionated design language. Apps avoid Apple-specific libraries (like Vision), and CoreData/SwiftData have been reimplemented to support running on Linux; the author's Gopher browser is the first target app. Unlike SwiftUI-inspired projects such as adwaita-swift and swift-cross-ui, the goal is to use the actual SwiftUI API everywhere rather than a lookalike.

    Problem: SwiftUI code is effectively limited to Apple platforms, preventing write-once-run-everywhere Swift apps.

    Posted by @navanchauhan · Original source ↗

    Source text · @navanchauhan · · Source ↗

    The idea is to create a drop-in replacement called OmniUI which will have different renderer backends (I currently have TUI w/ notcurses and Adwaita/GTK working)