Hacker News new | ask | show | jobs
by maddening 2487 days ago
> I use a low-end PC and can't possibly afford to run another Electron app

> That's why I created my own API request builder with pure JavaScript (I used Vue.js) + HTML + CSS

So... the only differences are not running this as a separate process and NIH?

1 comments

Presumably lower memory usage due to not running in a separate process. On a low-end PC this is a completely valid concern. Chrome is memory hungry. Running one instance might be viable. Running 2, 3 or 6 probably isn't (and you can always choose a less memory-hungry browser).
If performances are a concern I would build it in QT, not Javascript. Just opening Firefox eats like 400 MB ram on my PC !
If you're developing a web application...isn't firefox already open?
It makes me question, is there any way to run a slim browser for these kind of tools?

It would be cool to have a tool that would: * run a very slim browser tab for each tool * I cloud load/save sites into tools (So I can really run them offline) * Could have a shortcut or a starting page that's just links to my saved tools

Considering this tool uses JavaScript rendering, I'm not sure you could get away with a "slim browser". You're going to need all the bloat that makes CSR work.
Saw this on Hacker News a short while back and it was pretty easy to set up. Might be pretty close to what you're looking for. It aims to be a sort of a replacement for what Electron does, without embedding a full browser.

https://wails.app/

Check out Fluid[0], it might fit your needs.

[0] https://fluidapp.com/