GitHub Open Source
1.98K subscribers
3.13K photos
3.38K links
๐ŸŒŸ GitHub Open Source ๐ŸŒŸ

Discover fascinating projects from GitHub! We curate the best repositories, highlight innovative ideas, and share tips for developers. Join us to explore hidden gems and fuel your tech passion! ๐Ÿš€
Download Telegram
๐Ÿค– exact ยท ๐Ÿ“ฆ expo/exact
Build native apps for web, macOS, iOS, and Linux from one codebase, with built-in support for AI agent testing.
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
โญ 4 139 stars ยท ๐Ÿด 100 forks
๐Ÿฆ€ Rust ยท ๐Ÿ“œ MIT ยท ๐ŸŸข commit today
๐Ÿ‘ฅ 15 contributors

You spend the morning tweaking a flexbox layout in Chrome, only to find the same component breaks on iOS because UIKit handles padding differently.

You end up maintaining three separate UI implementations to achieve native parity, wasting hours on platform-specific CSS hacks and bridge debugging.

Exact replaces the bridge with a shared layout kernel and a declarative contract, letting you define the UI once while the runtime handles native rendering. It does not magically fix every platform quirk, but it forces you to define your interface in a way that is testable by agents.

๐Ÿงญ How it works
Exact compiles a declarative interface definition into a compact plan that executes on a 20 KB web runtime or a Rust-based native runner. It avoids webviews and JavaScript bridges entirely, instead using native controls on Apple platforms and a custom GPU painter on Linux.

Business logic is written in TypeScript or Rust, ensuring consistent behavior across all targets.

โœจ Key features
โ–ธ Compiles interface definitions into a compact plan for native execution on macOS, iOS, and Linux.
โ–ธ Uses a Rust-based layout kernel to compute UI boxes with CSS rules without a browser engine.
โ–ธ Provides a standardized agent API for automated testing across all platforms.
โ–ธ Achieves cold start times under 100ms by avoiding heavy JavaScript bundles before the first pixel.
โ–ธ Maps unstyled components to native system controls to maintain platform-specific look and feel.

๐ŸŽฏ Who should try it
Developers building cross-platform apps who want native performance without maintaining separate UI codebases.

๐Ÿ“Œ Why it matters now
The rise of autonomous coding agents makes it practical to automate cross-platform testing, provided the runtime is designed for machine-driven operation.

โœ… Verdict
A promising, albeit experimental, approach for teams tired of webview-based cross-platform bloat.

๐Ÿš€ Quick start
bun scripts/exact.mjs setup && bun scripts/exact.mjs new my-app

โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
๐Ÿ’ฌ Your take?
Would you trade the flexibility of a full webview for a stricter, declarative contract that guarantees native performance?
โ†—๏ธ Forward this to a dev who should see it.

๐Ÿ”— GitHub repository
๐Ÿ“– Full breakdown

๐Ÿ“ฃ @GitHub_Open_Source โ€” daily open-source picks

========================================
#opensource #rust #devtools #web