Hacker News new | ask | show | jobs
by ptrthomas 1941 days ago
> We built Axiom on a pretty popular framework, Puppeteer, which requires desktop binaries to run. This means you need an Electron app, too.

I thought it was Playwright that depends on patched browser binaries and that Puppeteer works with stock Chrome and does not need Electron. Can you clarify, just trying to learn here.

1 comments

Yep, you're right!

It doesn't need electron specifically, just several node modules that don't run in a browser-only environment.

We use electron to package up the node modules, and use it for auto-updates + other 'nice' things electron can provide.

I do hate how bloated electron apps become, and ours is also chunky. We'd like to slim this down with time, or perhaps move to a better framework.

Thanks, that makes sense