https://github.com/clebert/zig-macos-webview
A Zig and Swift PoC for lightweight, resource-efficient native macOS apps.
https://github.com/clebert/zig-macos-webview
Last synced: 8 months ago
JSON representation
A Zig and Swift PoC for lightweight, resource-efficient native macOS apps.
- Host: GitHub
- URL: https://github.com/clebert/zig-macos-webview
- Owner: clebert
- License: mit
- Created: 2024-02-08T18:07:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-08T18:11:59.000Z (over 2 years ago)
- Last Synced: 2025-01-12T12:57:48.426Z (over 1 year ago)
- Language: Zig
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zig-macos-webview
> A Zig and Swift PoC for lightweight, resource-efficient native macOS apps.
**zig-macos-webview** is a Proof-of-Concept project that combines macOS Swift UI, Zig server logic,
and web technologies to build native applications. A Zig web server serves a web UI
(HTML/JavaScript/CSS) displayed in a WebView window within a Swift UI App. This leverage the ease of
designing UIs with web technologies, plus the effectiveness of Zig for logic. The output: a compact
binary (just 160 KB), optimized for speed and smaller than Electron-based alternatives.