Attar runs your HTML, CSS and typed TSX through real Chromium at build time, then throws Chromium away. What ships is one small native binary holding only what your app needs.
no browser · no JS engine · no runtime parsers
$ attar build ./app reading graph ok 47 nodes chromium (pinned) ok web ir captured dropping universal ok dom · cascade · parsers carving runtime ok layout · paint · input linking ok → ./dist/app 16 MB · macos arm64 · 0 runtime parsers
Representative desktop app on macOS arm64. Shorter is better.
Chromium holds decades of correct answers about how the web looks and behaves. Attar treats that as a compile-time judge and donor, never as freight in your binary.
Anything the oracle cannot prove is a build error, not a silent guess.
Size and speed are consequences. The product is knowing exactly what remains, why, and what it cannot do.
Attar classifies the pinned WPT manifest and runs reftest, testharness and crashtest against the generated app, compared with real Chromium. The declared baseline passes in full, or the build fails.
No eval, no runtime parser, no markup from the network. These aren't mitigated — they're missing from the file:
React-shaped components, standard HTML and CSS, typed TSX. One command turns them into a native app.
export function Counter() { const [n, setN] = useState(0) return ( <button class="tally" onClick={() => setN(n + 1)}> pressed {n} times </button> ) }
.tally { font: 600 15px/1 system-ui; padding: 10px 16px; border-radius: 8px; background: #ffb23e; color: #160f02; } .tally:active { transform: scale(.97); }
Boundaries are explicit. What Attar can't prove in a closed world is a compile error, documented in LANGUAGE.md and UNIMPLEMENTED.md.
One method: compiling away the unnecessary. Keep the giant as the source of truth, but move it out of runtime and into the build. Every other giant is a residual program waiting to happen.
Attar's license restricts one thing: reselling the compiler as a hosted service. It never touches what you build with it. Ship and sell your binaries with no strings, no royalties, no runtime license.
Attar is in private preview. There is no public install yet — the compiler, its docs and source open when the first product is ready.