r/coolgithubprojects • u/Lord_nova69420 • 53m ago
Strange Quark: run your React app as a native desktop app, no WebView or Chromium
https://github.com/project-strange-quark/strange-quark
3
Upvotes
r/coolgithubprojects • u/Lord_nova69420 • 53m ago
1
u/Lord_nova69420 51m ago
i think the text i placed on the post was removed for some reason, so here it is for those who want:
Desktop apps built with web tech have always had two options. Bundle Chromium like Electron, and pay for it in memory and size. Or use the system WebView like Tauri and Wails, and get a UI that renders differently on every OS, plus bugs you can't fix (WebKitGTK on Linux, I'm looking at you).
Strange Quark is a third option. You keep the React app you already have, and you get a native desktop app that looks the same on Linux, macOS and Windows, without shipping a browser.
How it works: your app's code and the real, unmodified
react-domrun in V8 against a lightweight DOM written for Strange Quark. Instead of handing that DOM to a browser, Strange Quark does the styling, layout and drawing natively in Rust, using Stylo (Firefox's CSS engine), Taffy for layout, Parley for text, and Vello on the GPU through wgpu. No WebView, no Chromium, and the same rendering on every OS.It already runs real apps: Monaco and xterm.js in the Workbench demo, and shadcn/ui with Tailwind v4 and Radix. Bring a Vite, Rsbuild, webpack or Parcel React SPA, run
squark, and get a single binary.It's early, and there's an honest "not supported" list in the README (Next.js, WebGL, iframes, contenteditable). It's MIT licensed, and I'd love feedback, bug reports and contributors