Velox: A Port of Tauri to Swift by Miguel de Icaza

https://news.ycombinator.com/rss Hits: 2
Summary

Bringing Tauri to Swift developers. I love Rust as much as the next security paranoid person, but I do not love it to write apps, it gets in my way, and I am too old to develop an appreciation for poetry or Rust. So this is a port of Tauri to Swift so I can both build desktop apps using HTML with Swift backends and fill me with joy. Discord: invite Documentation Documentation and Tutorials Building The Swift package declares a build-tool plugin that automatically compiles the Rust FFI crate whenever VeloxRuntimeWryFFI is built. Simply run: swift build The plugin will invoke cargo build with the correct configuration ( debug or release ) and emit libraries into runtime-wry-ffi/target . If you prefer to build the Rust crate manually you can still run cargo build or cargo build --release inside runtime-wry-ffi/ . By default the plugin runs Cargo in offline mode to avoid sandboxed network access and ensures velox/.cargo/config.toml patch overrides are picked up. If you need Cargo to fetch from the network, set VELOX_CARGO_ONLINE=1 when building. Create New Projects Use the create-velox-app command to create a new blank project, starting from one of the built-in templates. Velox CLI Velox includes a CLI tool for development workflow, similar to Tauri's CLI. Building the CLI swift build --product velox The CLI binary will be available at .build/debug/velox . Commands velox init - Initialize a New Project Initialize Velox in a new or existing directory: # Initialize with defaults (derives name from directory) velox init # Specify product name and identifier velox init --name " MyApp " --identifier " com.example.myapp " # Overwrite existing files velox init --force This creates: your-project/ โ”œโ”€โ”€ Package.swift # Swift package manifest โ”œโ”€โ”€ Sources/ โ”‚ โ””โ”€โ”€ YourApp/ โ”‚ โ””โ”€โ”€ main.swift # App entry point with IPC handlers โ”œโ”€โ”€ assets/ โ”‚ โ””โ”€โ”€ index.html # Frontend UI template โ””โ”€โ”€ velox.json # Velox configuration velox dev - Development Mode Run the app in development mode with hot rel...

First seen: 2026-01-27 11:01

Last seen: 2026-01-27 12:01