TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Electron 1.0 is here

679 pointsby alanfranzabout 9 years ago

44 comments

grinichabout 9 years ago
Our team at Nylas has been incredibly lucky to build on the shoulders of the folks at GitHub and I&#x27;d just like to thank Kevin, zcbenz, Jessica, and their entire team. They&#x27;ve been awesome to work with and super supportive of this new community.<p>Our early prototypes of Nylas N1 were built on Angular in the browser, and then Adobe Brackets, but we couldn&#x27;t really get it to a level that felt great and worked offline. It wasn&#x27;t until we decided to fork Atom (the previous base of Electron) that we started breaking past the &quot;uncanny valley&quot; of wrapped webviews and discovered an application stack that allowed quick cross-platform deployment alongside native code modules.<p>After building on Electron&#x2F;AtomShell for 18 months and seeing the community grow, I can definitely say there is something really special here. We&#x27;ve still got a lot of work to do on N1 (email is hard!) but we&#x27;re confident Electron is the right platform for this type of extensible app.<p>A secondary reason we open sourced N1 was to serve as a reference implementation of a large Electron app. There still isn&#x27;t a great resource for &quot;best practices&quot; when creating complex Electron apps with lots of moving parts. Now that we&#x27;ve hit 1.0, I think it&#x27;s time to change that!<p>If you have a free afternoon, I <i>definitely</i> recommend playing around with Electron. It will likely change your outlook on the future of desktop software. :)
评论 #11675315 未加载
评论 #11674559 未加载
评论 #11676230 未加载
评论 #11674143 未加载
评论 #11676709 未加载
评论 #11677768 未加载
评论 #11673241 未加载
评论 #11676989 未加载
评论 #11695585 未加载
etatobyabout 9 years ago
I&#x27;m happy and grateful for any and all open source software, because it enriches everybody, well beyond the scope of its creators. But someone has to say it:<p>Electron is the cancer that is killing desktop computing.<p>It all started years ago with Firefox, whose interface itself was built using web technologies, in a &quot;brilliant stroke.&quot; DOM, CSS, Javascript... maybe not HTML per se, but an XML substitute, and so on. I dare anybody say that Firefox&#x27;s interface has ever felt as fast as IE, Chrome, Opera, or Safari (on Mac.) It never did and still does not.<p>Then someone at GitHub had the bright idea to take this &quot;winning&quot; concept and apply it to a developer&#x27;s text editor, of all things! I still cannot fathom how Atom can have more than 3 users. Every time I&#x27;ve tried it, I&#x27;ve ditched it after 30 seconds. Slooooooooooow!<p>Fast-forward to 2016: now I see new Electron apps popping up every other day. Even something as simple as a text-only WhatsApp IM client, which could be written in a dozen of C++ files, is a bloated monstrosity that eats RAM for breakfast and contains an entire Node.js interpreter and a Webkit layout engine.<p>Cancer, I say!<p>Kill it with fire!
评论 #11679111 未加载
评论 #11677835 未加载
评论 #11679105 未加载
评论 #11678638 未加载
评论 #11680636 未加载
评论 #11679702 未加载
评论 #11678448 未加载
评论 #11679164 未加载
评论 #11679755 未加载
评论 #11678965 未加载
评论 #11680745 未加载
评论 #11677774 未加载
评论 #11679276 未加载
评论 #11684142 未加载
Philipp__about 9 years ago
While there are many awesome things about Electron, I still give native desktop app advantage. Native apps just <i>feel</i> better. It&#x27;s all those ms (miliseconds) here and there that in the end make huge difference. Still best showcase is Sublime v Atom. I use Atom, because it&#x27;s free and open-source, but when I fire up Sublime from time to time, it is amazing how better it feels. It feels right! Guess like everything else in life everything has it&#x27;s good and bad sides.
评论 #11673858 未加载
评论 #11675688 未加载
评论 #11675562 未加载
StevePerkinsabout 9 years ago
I can definitely see a niche in which Electron serves well.<p>However, it seems weird that when talking about mobile apps, the PhoneGap&#x2F;Cardova &quot;web wrapper&quot; concept is derided as awful compared to native code or maybe cross-plat frameworks. From my anecdotal experience, those same people tend to think that Electron or NW.js are the greatest thing since sliced bread.<p>Electron is PhoneGap for the desktop. That&#x27;s not necessarily a bad thing or a good thing, it&#x27;s just a thing that makes sense in certain use cases and not others. The fact that web wrappers have different levels of &quot;street cred&quot; across mobile&#x2F;desktop contexts feels more subjective than objective.<p>I suspect it&#x27;s simply a matter of the younger crowd having more exposure to native mobile development, and little or no experience with native desktop development... so this discrepancy reflects those different comfort levels.
评论 #11674814 未加载
评论 #11674882 未加载
评论 #11674805 未加载
评论 #11674668 未加载
评论 #11675062 未加载
评论 #11674940 未加载
评论 #11678113 未加载
评论 #11675235 未加载
评论 #11674795 未加载
bengotowabout 9 years ago
I&#x27;ve been building on Electron for the last 18 months (@Nylas), and it&#x27;s really impressive how far it&#x27;s come in the last year.<p>Coming from native Mac OS X development, Electron is an breath of fresh air. There&#x27;s an incredible amount of energy and momentum in the web development community these days, and things like Flexbox, ES2016, React, and ESLint make it possible to ship fast and iterate quickly. Who would have thought JavaScript would be achieving what Java&#x2F;Swing set out to do in the 90&#x27;s?<p>I&#x27;ve had a chance to work with the core team on a handful of bug fixes and new features, and they&#x27;ve been incredibly kind and welcoming. I think Electron will go far as an open source project, and I&#x27;m excited that GitHub is growing it beyond Atom.<p>If you&#x27;re in the SF Bay Area and interested in learning more about Electron, there&#x27;s a meet-up coming up later this month! <a href="http:&#x2F;&#x2F;www.meetup.com&#x2F;Bay-Area-Electron-User-Group&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.meetup.com&#x2F;Bay-Area-Electron-User-Group&#x2F;</a>
评论 #11673853 未加载
评论 #11674159 未加载
评论 #11676048 未加载
lpszabout 9 years ago
Am I the only one unhappy with the trend of moving toward web-wrapper applications? As a developer, I also love the idea of cross-platform, and of more elegant frameworks, but it pains me to run things that are slower or hog the battery.<p>* JavaScript-heavy Spotify now vs. Spotify a few years ago<p>* Atom vs. something like Sublime Text<p>* Or, Slack that takes the cake especially if you log in to multiple Slacks.<p>It&#x27;s cool for developers. It&#x27;s not cool for the users.
评论 #11675727 未加载
评论 #11674622 未加载
评论 #11674202 未加载
评论 #11675575 未加载
评论 #11675044 未加载
评论 #11675649 未加载
ksecabout 9 years ago
I know this is not really electron&#x27;s fault, but could there be way to shrink these run times to a lot smaller?<p>Like Whatsapp App on Desktop you literally have a 60MB download and 200MB install just for a screen that is EXACTLY the same as the Web Version of Whatsapp.<p>While I dont expect all the apps are like CCleaner or the old uTorrent which is only a few MB in size, 200MB is just redicously large.
评论 #11673814 未加载
评论 #11673628 未加载
gbugniotabout 9 years ago
&quot;Electron has lowered the barrier to developing desktop applications&quot;. Nope, I don&#x27;t think so. Perhaps for web developers.<p>For non-web developers, there are already well-suited technologies to develop desktop applications: Swing, Qt, Cocoa, GTK, WPF&#x2F;WinRT, and so on. Maybe theses technologies seem less sexy but there are here from the beginning to do that kind of job.<p>Please, use the right tool for the right job.
评论 #11673440 未加载
评论 #11673902 未加载
评论 #11673456 未加载
评论 #11673432 未加载
评论 #11673969 未加载
评论 #11673469 未加载
评论 #11695414 未加载
评论 #11674118 未加载
评论 #11673429 未加载
greenspotabout 9 years ago
My biggest gripe with Qt is HiDPI support which was introduced just 6 months ago, so quite late. It feels cumbersome compared to HTML&#x2F;CSS which have native HiDPI support built-in for years. Also the implementation in HTML&#x2F;CSS is straightforward. You don&#x27;t need to think about it a second, it just works. Actually this is my number one feature of web tech, it&#x27;s HiDPI ready and websites and apps like Slack look always slick, crisp and clear, on any platform.<p>With Qt, just watch this 30 minutes presentation about Qt and HiDPI, while ok there are some parts which unnecessarily complicate matters: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=2XPpp4yD_M4" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=2XPpp4yD_M4</a>
fslothabout 9 years ago
What do you think the suitability of Electron is for software that is designed to provide revenue with per seat licences and no service component? I.e. &#x27;traditional desktop app&#x27;. It seems to me, given how easy it seems to be to copy and modify an Electron application a third party could always copy an application, whitewash it and capture a portion of the market.<p>The counter point to this is that ownership of the developer brand and distribution channel is which will always drive sales. I&#x27;m not sure which aspect is more important when planning a technology platform and revenue model...
评论 #11673250 未加载
评论 #11673252 未加载
评论 #11675029 未加载
评论 #11673251 未加载
评论 #11673661 未加载
porkerabout 9 years ago
Congratulations on reaching 1.0. Electron is really interesting, but until memory usage can be curbed, it&#x27;s going to be a limiting factor.<p>I have been going back and forth with Slack over their desktop client; on Windows when signed into 5 groups it uses 1GB RAM. For a rich-chat client.<p>And if you&#x27;re thinking &quot;But RAM is cheap these days&quot; -- well yes it is, but by the time you&#x27;ve got 15 Chrome tabs open, a Jetbrains IDE and 3 VMs, plus assorted other software running, 16GB disappears very fast...
albevaabout 9 years ago
Slow, sluggish, resource hungry and looks alien everywhere. Yeah right. Progress ... If there is one thing its done is lower standard for native applications everywhere.
评论 #11673439 未加载
评论 #11673458 未加载
评论 #11673587 未加载
评论 #11673460 未加载
jokoonabout 9 years ago
Burn this.<p>Instead, please, can any investor just hire any computer science PhD (who eventually specialized in compiler engineering), and tell him to work on PREPARSED or COMPILED HTML, and make a browser module out of it, for the sake of speed and memory footprint?<p>PLEASE. I BEG YOU. DON&#x27;T EVEN TAKE CREDITS FROM ME. IT IS SO WE CAN SAVE THE WORLD.
e0mabout 9 years ago
Think about how much time people spend in front of 24&quot; screens with a keyboard. &quot;Desktop&quot;, or whatever that evolves into, is overwhelmingly where real work still gets done. For as critical as that environment is in the modern workplace it&#x27;s historically been drastically underserved by this community.<p>Yes, there are a lot of tools like Swing, Qt, Cocoa, GTK, WPF&#x2F;WinRT, but their development communities are much smaller than the javascript&#x2F;web ecosystem. They also create enormous portability problems, particularly in an environment (especially in the business world) so heavily dominated by Windows machines.<p>This community is acutely aware of what happens when the barrier to entry is lowered and the development tooling improved. The tooling that Electron provides via Chromium is also something that should not be understated. Chromium&#x27;s dev tools are remarkable and improving every day. Few other ecosystems, especially old desktop ones, have debugging environments as rich. The painting performance &#x2F; profiling tools alone go to great lengths to keeping everything running at 60fps. Furthermore modern CSS layout engines like FlexBox give you an enormous head start on a notoriously difficult problem and is a joy to work with when you don&#x27;t have to worry about browser compatibility.<p>I will admit, the getting-started cost of Electron is high. Shipping all of Chromium and Node is no small feat and frankly probably not suited for a minor utility. However once an app crosses even a modest level of sophistication the benefits of this environment are definitely worth it. There are also several specialized tasks that Node probably isn&#x27;t suited for. Luckily, since you have full process control and the ability to compile native modules any additional specialized task can be run on the side.<p>The past 18 months working with Electron at Nylas have been some of the most enjoyable development experiences of my life. Much of the crap that frustrates people out of web development (compatibility issues) go away. Being able to build an app at the core of people&#x27;s day-long experiences is deeply satisfying and something I&#x27;m indebted to the Electron team for.<p>If you&#x27;re in the Bay Area and still have questions or are just curious, come join us at the Electron Meetup on Wed May 25: <a href="http:&#x2F;&#x2F;www.meetup.com&#x2F;Bay-Area-Electron-User-Group&#x2F;events&#x2F;230303142&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.meetup.com&#x2F;Bay-Area-Electron-User-Group&#x2F;events&#x2F;23...</a>
staticelfabout 9 years ago
One issue I have with Electron is that if I put my computer to sleep without restarting it and have all the applications up all the time, Electron apps gets very slow and sluggish and lags very much. Slack is a good example of this.<p>I have to restart my computer every now and then in order to keep using Slack and Atom, because otherwise it lags so much. I don&#x27;t know, I think I prefer UWP apps instead.
评论 #11673594 未加载
colordropsabout 9 years ago
My team is trying to use Electron to build and deploy apps for Linux, Mac, and Windows, but running into issues with the Mac build. Getting a dmg built on Linux (our build server) is apparently not trivial. Is there a docker image or some other project that wraps all the dependencies up to build Electron apps for all major platforms?
评论 #11673296 未加载
评论 #11673362 未加载
mherrmannabout 9 years ago
Electron is really cool, unfortunately its startup performance is slow (several seconds on a ~2010 machine). That&#x27;s why I had to pick Qt for a file manager I&#x27;m launching... (<a href="https:&#x2F;&#x2F;fman.io" rel="nofollow">https:&#x2F;&#x2F;fman.io</a>)
twotavolabout 9 years ago
Every Electron application I&#x27;ve used has been sluggish and straight up pathetically slow compared to any native counterparts. I think there are two reasons its picking up steam:<p>* Your can now make your web devs (HTML&#x2F;CSS&#x2F;JS etc) do your application development as well<p>* General popularity of web development is exploding<p>* There&#x27;s no comparable free, permissive native framework. The closest thing is Qt and its LGPL. No one wants to touch the GPL.
kristianpabout 9 years ago
It would be nice if Electron could enable cross-platform apps, written in languages other than javascript, that compile to native for the back end and to javascript for the front-end.
评论 #11673225 未加载
评论 #11673216 未加载
webXLabout 9 years ago
I just came across a great Electron app called Nativefier (<a href="https:&#x2F;&#x2F;github.com&#x2F;jiahaog&#x2F;nativefier" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jiahaog&#x2F;nativefier</a> <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10930718" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10930718</a>) last night. It&#x27;s a super easy way to make dedicated browsers &amp; launchers for certain web apps. (very anti-web, I know)<p>My first use case for it was making a dedicated Amazon Video client for my wife&#x27;s laptop (although Nativefier doesn&#x27;t have one of the necessary plugins) so we can have our regular Amazon accounts separate without switching credentials all the time. But I can think of a bunch more for this
john_reelabout 9 years ago
Electron has gotten a lot of criticism for being bloated. Are there any good alternatives for making desktop apps that are scripting language based? I’d especially like to use Lua(JIT), but I’m not aware of anything anywhere near as reliable, cross-platform, easily deployed, and easy to build interfaces in as Electron. I’m not the biggest fan of the JS and&#x2F;or the JS ecosystem, but I would love the speed, lightness, and convenience of another language (just look at how fast and lean Lua with LuaJIT is!) with the power that some JS tools like Electron have to offer.
评论 #11680068 未加载
评论 #11678210 未加载
crisnobleabout 9 years ago
Is there a &quot;built with electron&quot; type directory out there somewhere?
评论 #11673256 未加载
评论 #11673302 未加载
评论 #11673307 未加载
calsyabout 9 years ago
This is awesome! I wish I had something more constructive to say but thats all I could think of at the moment.
stuaxoabout 9 years ago
Are there plans for electron with the servo browser ?
评论 #11675304 未加载
评论 #11678767 未加载
mixmastamykabout 9 years ago
Interesting, reminds me a bit of XUL and XULRunner from the old days, which sort-of failed. What does this have in common, or is different this time?
评论 #11676868 未加载
iamcreasyabout 9 years ago
Electron looks like it has for both worlds, but what is the drawback of this(kind of) system(s)?
评论 #11673349 未加载
评论 #11673240 未加载
评论 #11673360 未加载
评论 #11673335 未加载
theknarfabout 9 years ago
I like the idea of making desktop apps with html, css and JavaScript. I just wish that Electron&#x2F;Atom wasn&#x27;t so horrible slow. It shouldn&#x27;t take me more time to open up a desktop app than a webpage.
hs86about 9 years ago
Would a dynamically linked, system-wide Electron installation help with the extensive resource usage of Electron apps? It would decrease the installation size but what about the runtime performance?
评论 #11677872 未加载
Longwelwindabout 9 years ago
I find it more comfortable to make a GUI using HTML&#x2F;CSS, but I wish I could use a more modern and more reliable language than Javascript.<p>Is there an equivalent to this but with Python or C# ?
评论 #11677432 未加载
评论 #11675729 未加载
评论 #11674230 未加载
评论 #11676136 未加载
marcosscrivenabout 9 years ago
One of the things I really like about Electron apps is they <i>look good</i> consistently across platforms, which is something I don&#x27;t often see for cross-platform apps.<p>QT seems to be the other major cross-platform framework, but I&#x27;ve never seen one that looks good IMO.<p>Would be very curious if any fellow HNers could point to good alternatives (preferably C++ based, but as I allude to, I&#x27;d compromise by using something like Javascript if it meant a better real world outcome for the user).
评论 #11673765 未加载
felixriesebergabout 9 years ago
If you&#x27;re based in San Francisco, come to our next meetup! We&#x27;ll have a bunch of people working on and with Electron there.<p>www.meetup.com&#x2F;Bay-Area-Electron-User-Group&#x2F;
marcosscrivenabout 9 years ago
Related to another comment I posted here, what&#x27;s the opinion lately on native controls&#x2F;UI widgets vs something cross-platform like this?<p>It always used to be argued (and maybe still is) that using the UI framework of the platform is preferable, but IMO the results of Electron apps I&#x27;ve seen look great, and I don&#x27;t find them confusing to use.<p>The reverse seems to be true on mobile platforms, where people seem to be preferring native UI widgets and behaviour.
评论 #11673686 未加载
mgkimsalabout 9 years ago
It&#x27;s too bad the titanium platform with desktop&#x2F;mobile&#x2F;js&#x2F;web combo never got more momentum. Building a &#x27;web&#x27; app - with php or ruby - and bundling as desktop app was pretty darn cool. I only dipped my toes in around 2011 or so, and was sad to see it never get more traction. :&#x2F;
voltagex_about 9 years ago
So CatLight [1] seems to be a C# app using Electron for UI. I&#x27;m assuming there&#x27;s a local web server running, but I wonder how this works from a build perspective? I wonder if Electron can be built with MSBuild.<p>1: <a href="https:&#x2F;&#x2F;catlight.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;catlight.io&#x2F;</a>
tmarkovichabout 9 years ago
On a slightly unrelated note, I love the theme of the Electron plot. Is there any place where I could find it?
robotnoisesabout 9 years ago
Anyone with experience with Electron and NW.js have an opinion on which is better?
评论 #11675878 未加载
评论 #11675191 未加载
pj_mukhabout 9 years ago
Hmm? Slack&#x27;s MacApp purports to use MacGap not Electron (<a href="https:&#x2F;&#x2F;github.com&#x2F;MacGapProject&#x2F;MacGap1" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;MacGapProject&#x2F;MacGap1</a>).
评论 #11678223 未加载
jweinsteinabout 9 years ago
Congrats to the Electron community!<p>We&#x27;ve been excitingly using Electron at Wagon to build SQL analytics tools. We&#x27;re using Haskell + React + Electron as our primary technologies: wagonhq.com&#x2F;blog&#x2F;electron
cdnsteveabout 9 years ago
I haven&#x27;t used Electron, but what about mobile apps? I have a need for an app that works on desktop and mobile. So is the recommended option Electron for desktop and for mobile PhoneGap&#x2F;Cordova?
评论 #11678250 未加载
评论 #11682213 未加载
iconjackabout 9 years ago
Microsoft tried something similar years ago with HTML Applications (.HTA), essentially web apps that could talk to the file system. Didn&#x27;t seem to work out, though.
评论 #11678721 未加载
评论 #11682185 未加载
justncase80about 9 years ago
Congrats! This is an awesome tool and I hope it ushers in a whole new generation of desktop apps!
gontardabout 9 years ago
&quot;any application that can be written in JavaScript, will eventually be written in JavaScript&quot; this seems to be more and more true and depressing. A JavaScript hegemonia.
uolaabout 9 years ago
To me, unless things have changed, electron is crazy. Many people today use some sort of abstraction layer that generates their html&#x2F;css. I really hope they move towards interfacing js or node.js directly with skia (which is the graphics engine for chrome and used by, I think, sublime text).
rufbabout 9 years ago
This reminds me of Shoes. Of course, Javascript isn&#x27;t designed for simplicity like Ruby, and Electron is aimed at serious product development rather than novice and weekend programmers. The product design just isn&#x27;t &quot;there&quot; yet if we are to measure it by _why&#x27;s standards. But it&#x27;s nice to see an ACCESSIBLE actively-maintained tool for making cross-OS apps that &quot;just work&quot; again.<p>In fact, _why released Shoes around 2007 and disappeared in 2009. To put this in perspective, Google Chrome and the 1st iPhone were released in 2008. The web standard mess (JS in particular) was only beginning to be untangled back in 2007. Maybe today&#x27;s _why would have preferred to try and make Javascript more approachable rather than choose a simple language like Ruby and make it more powerful. I don&#x27;t know.<p>At any rate, the trend for things like Electron is to become increasingly complicated to the point where it merits a mention in developers&#x27; CVs — as it happened with Rails and Node and countless other frameworks before. Hopefully at this point there are players with stakes high enough at making things accessible to push for an entry-level version of Electron. Maybe Codecademy or one of its cousins.