Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Measuring Starlink Aviation Around the World(github.com/clarkzjw ↗)
    discuss
  2. An early-access test of TypeSafe's Jev: calibrated judgments for half a cent(lindfors.no ↗)
    discuss
  3. ZCode, the GLM coding agent, silently uploads your Git history(tokenstead.ai ↗)
    discuss
  4. Why Robot Brains Should Live in the Cloud(dreamscalelabs.com ↗)
    discuss
  5. What we learned using OPFS for browser video storage(reactvideoeditor.com ↗)
    discuss
  6. ClickHouse permission system has a trivial bypass(zimzi.substack.com ↗)
    discuss
  7. Top Chinese AI models make 10% of OpenAI(scmp.com ↗)
    discuss
  8. Getting Freaky in the Age of AI(iankduncan.com ↗)
    discuss
  9. Europe's Most Valuable Startup Gave Data to a Scammer(wsj.com ↗)
    discuss
  10. How can a jigsaw have two distinct solutions? [video](youtube.com ↗)
    discuss
  11. Google illegally retains customer data,and I am taking legal action against them(medium.com/istokovicsgyorgy79 ↗)
    discuss
  12. Anthropic sets up biology lab as it ramps AI drug program(reuters.com ↗)
    1comments
  13. How does Quantum Mechanics work?(explainers.blog ↗)
    discuss
  14. Uwillfly – build multi-city trips one cheap flight at a time(uwillfly.net ↗)
    3comments
  15. Show HN: QuickTiny – paste anything, it detects what tool you need(quicktinyv2.vercel.app ↗)
    discuss
  16. GitLab 19.4: MCP server tools and agent governance(docs.gitlab.com ↗)
    discuss
  17. I Started Writing After Years of Reading(cpv.sh ↗)
    discuss
  18. Noetive: Operational Intelligence for the Physical Economy(eclipse.capital ↗)
    discuss
  19. You'll miss publishers when they're gone(bell.bz ↗)
    discuss
  20. Open Source 3D Emoji(googlefonts.github.io ↗)
    1comments
  21. Show HN: tuisheet, a terminal spreadsheet compatible with OpenXML (xlsx) files(github.com/krackout ↗)
    discuss
  22. Show HN: Rabbit Hole – a daily Wikipedia racing game(rabbitholegame.net ↗)
    1comments
  23. Clicks Communicator(clicks.tech ↗)
    1comments
  24. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    12comments
  25. Bring Your Own Agent(bugsink.com ↗)
    1comments
  26. On the Internet, nobody knows you're a dog(wikipedia.org ↗)
    3comments
  27. OpenJev(openjev.com ↗)
    15comments
  28. MostroEuropa is now a trusted Mostro community(mostro.community ↗)
    1comments
  29. Where Does the Quantum World End and Ours Begin?(quantamagazine.org ↗)
    discuss
  30. Russia Uses Super App Max to Spy on Citizens(theguardian.com ↗)
    discuss

Show HN: Attar – Compile React apps to native machine code

3 pointsby 1h agoattar.dev
0 comments
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/attar

attar init my-app --template tsx

attar build my-app

We’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.

A quiet thread, for now.Start the conversation on HN ↗