DEV Community

Cover image for How to easily build Desktop Apps with HTML, CSS and Javascript

How to easily build Desktop Apps with HTML, CSS and Javascript

Aditya Sridhar on November 29, 2018

This post was originally published in adityasridhar.com Can HTML, CSS and Javascript really be used to build Desktop Applications? The Answer is ...
Collapse
 
quantumsheep profile image
Nathanael Demacon • Edited

Beware of Electron, while it's super easy to use for a JavaScript developer, it's a RAM and disk space-eater.

+80Mo of disk space for a compiled Electron app.

But by the way I love it! Great article and tutorial 😃

Collapse
 
adityasridhar profile image
Aditya Sridhar • Edited

Thanks for reading :)

Yes, the size is an issue. The size is since it bundles Basic Chromium and NodeJS into the compiled app.

I guess for big apps it is fine. For example VS Code. But for small apps the size is too much

Collapse
 
dbelyaeff profile image
Dmitriy Belyaev

Agree with you.

Collapse
 
fxztam profile image
Friedhold Matz

Great thanks for your tutorial !

Electron is a groundbreaker technology.

Collapse
 
vinceramces profile image
Vince Ramces Oliveros

Electron has been gaining a lot of popularity and bad reputation.
Big companies even Microsoft used Electron to most of their desktop applications.

Good for users who are not geek or just simply want the design and UI to be perfect.
I think Electron can reduce its size for production release. development is like a hell and wished for using localhost as primary artboard for creating desktop application before shipping it to production.

Collapse
 
dbelyaeff profile image
Dmitriy Belyaev

Totally agree.

The main disadvantage of Electron its oversized bundled package. 100+ Mb even for basic app is too much.

Collapse
 
adityasridhar profile image
Aditya Sridhar • Edited

It bundles Chromium and NodeJS into the final app and hence the size. Hope they have some fix for it :D. For big apps like VS Code i guess this is fine. But for small apps the size is too much