Attar: A compiler for React and TypeScript apps to native machine code for desktop.
Raw Developer Origin & Technical Request
Hacker News
Sep 18, 2026
Hi HN, my cofounder and I are building Attar. It compiles React and TypeScript into native desktop apps, with Blink for HTML and CSS.I like building things with web tools. We wanted to take that experience all the way to a compiled desktop app: familiar components, familiar styles, native machine code.Attar builds on Static Hermes and Chromium. React’s reconciler compiles alongside your application, and a native host connects its updates to Blink. JavaScript objects and garbage collection are handled by the compiled runtime.Its been about eight weeks since we started. We already have stateful React interfaces, Tailwind CSS, and an example with 15 unchanged shadcn/ui components compiling together. There’s a lot to explore here.You can try the starter on macOS 15+ with Apple silicon and Xcode Command Line Tools:brew install occam-tech/attar/attarattar init my-app --template tsxattar build my-appWe’re also working toward Attar Electron. In an early Etcher experiment for that project, app size went from 375.1 to 73.3 MiB, idle memory from 293.9 to 91.8 MB, and time to the first window from 1,081 to 469 ms on the same Mac. Those results give us plenty of motivation to keep going.Today along with release on ProductHunt we’re sharing the standalone SDK. I’m around to talk about the compiler, how React runs as machine code, and how we connected it to Blink. Curious what you’d build with it.
Developer Debate & Comments
No active discussions extracted for this entry yet.
Frequently Asked Questions
Market intelligence mapped to Attar: A compiler for React and TypeScript apps to native machine code for desktop..
What problem does Attar: A compiler for React and TypeScript apps to native machine code for desktop. solve?
What are the foundational technologies related to Attar: A compiler for React and TypeScript apps to native machine code for desktop.?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like SDK and TypeScript in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- SDK: 55 records
- TypeScript: 34 records
- Chromium: 9 records
- Apple silicon: 6 records
- Tailwind CSS: 5 records
- desktop apps: 3 records
- macOS 15+: 3 records
- garbage collection: 2 records
- app size: 2 records
- Xcode Command Line Tools: 2 records
- React apps: 1 records
- native machine code: 1 records
- Blink for HTML and CSS: 1 records
- Static Hermes: 1 records
- React’s reconciler: 1 records
- native host: 1 records
- JavaScript objects: 1 records
- compiled runtime: 1 records
- shadcn/ui components: 1 records
- Attar Electron: 1 records
- Etcher experiment: 1 records
- idle memory: 1 records
- time to first window: 1 records
SaaS Metrics